I have an issue about running a collection I have the following: Collection: Request 1 Request 2 Request 3
What I want: When I run collection, I want Request 1 to be executed 20 times, then after iteration 20 to run Request 2 and after Request 2 is done to run Request 3. So: Request 1 to run 20 times, Request 2 one time, Request 3 one time
I tried something like (In Tests script of Request 1):
if (pm.info.iteration === pm.info.iterationCount+3) {
postman.setNextRequest("Url of request 1")
}
But it's running 1:1 like Request 1, Request 2, Request 3, Request 1, 2,3... and so on
Do you have any ideas? #I am new to Postman