Stop runner (all iterations) from script

I use Collection Runner with 1000 iterations. I want to be able to stop (short circuit) from a test script. If I do postman.setNextRequest(null) only stops current iteration and moves to next iteration but I want to stop runner completely.

2 Likes

I also need a workaround for this as well.

I am at a loss as to why is this so difficult to implement. Multiple posts got closed by Postman employees with the setNextRequest(null) explanation, while clearly not understanding the issue.