Refer here:
https://www.epiusers.help/t/lets-share-useful-functions-sharing-is-caring/100371/18
Love Postman. Iām also keeping my eye on Playwright. It looks like it will be able to automate the testing of our Kinetic UI pages (in the browser) AND do API testing like Postman. All tests in one place?
That would be nice.
I mean, I agree, but how exactly do you test a BPM? You have to do WAY more setup to test that, no? Like others have said, with Functions, there is at least a way to test via Postman.
I guess some of you all have a way to test BPMs with, what, VB or VS or some acronym? I mean, Postman is much simpler to me to wrap my head around. Epicor even documents how to use it. Not to mention there is the API interactive āhelpā page.
Agreed - and Iād argue Functions are much easier⦠or at least I mess them up much less. Again, I think it goes back to the whole idea that I can test them! And in bits and pieces.
Swagger
Yes I have the same complaint about BPMs. Its a PITA to have to set up a whole scenario and trigger it over and over again instead of just being able to test the code directly.
Since weāre all yacking, Iāll mention something about functions some of you may not know.
When calling a function server side, NOT via rest, objects are passed by reference, and can
be manipulated and it will change the passed object.
imagine you will have to setup all input tables for some method by your own on start of that BPM test method? Does not look very friendly to me either.