Is there a possibility to add iterations in Monitor

You can add a prerequest script to Step 3 to be a loop counter:

let counter = pm.variables.get('loopCounter');
if(!counter){
  counter = 0;
}

pm.variables.set('loopCounter', counter++);

In your test scripts of the Step 3 request you can add

const counter = pm.variables.get('loopCounter');
if(counter < 10) {
   postman.setNextRequest(request.name);
}

This will cause just that request to loop 10 times.

It’s the same problem/solution we discussed in this thread

1 Like