pratiks
10/14/2016 - 2:45 PM

From http://blog.getpostman.com/2016/03/23/conditional-workflows-in-postman/

/*This latest release builds upon our existing Collection Runner. 
It introduces a new function called postman.setNextRequest. 
As is evident from the name, you just need to specify the name of the 
subsequent request and the runner will take care of the rest. 
It has the following signature: 
*/
postman.setNextRequest(“Request Name”);

//terminates execution.
 postman.setNextRequest(null);