please help me to resolve my issue. In my company we use Postman for integration testing. I run more than 600 http methods from folder runner. However, sometimes execution stops in the begging, sometimes in the middle, and very rare it goes to the end. I have Java Script code (loop, array, if condition, etc.) in my Pre-request script. In my Test Runner I also have JS code that has validation part and two get methods. In fact, it is very complex call.
Basically, each method has a code which iterates 5 different ages, and instead of one call it creates 5 calls. I tried to provide 2000 or 3000 milliseconds in delay time, and sometimes it helps to run more and it passed 300 http methods instead of 600 , but sometimes even delay does not help. Maybe the server is overloaded or something else.
Often I got these messages:
"An error occurred while running test scripts for this request. Check Postman Console for more info." ;
"JSONError: Unexpected token ‘<’ at 1:1 ";
"TypeError: Cannot read property ‘Amount’ of undefined"
Do you have any suggestion or idea why it stops in the beginning or in the middle of the execution ?
I will be glad to get any advise from you. Thank you