Hi!
I am trying to make a request with a random ID from the previous request. This is sometimes failing, as not every ID has the required
response. In this case, I want to choose another ID and try again, lets say up to 5 times.
How can I achieve that the API Request will repeat itself again?
In postman I had a postman.setNextRequest() function…
please help
solved it with a For Loop, setting an environment variable to true, if the ID is good and Breaking on this Variable in the next step of the loop. So if the first time I do not get a good enough ID, I repeat the request, hoping, this time it workes out… all good now. works nicely