Its a sequence of the request – If this happens then this happens else this happen is workflow.
How To Use –
Specify the name of the subsequent request.
To terminates execution.
Some Points –
setNextRequest() is always executed at the end of the current script.
This means that if you put setNextRequest() before other code blocks, these blocks will still be executed.
setNextRequest() has a scope, which is the source of your collection run. This means that if you run a collection, you can jump to any request in the collection (even requests inside folders, using the same syntax). However, if you run a folder, the scope of setNextRequest() is limited to that folder. This means that you can jump to any request within this folder, but not ones that are outside of the folder.
In this tutorials, We are going to learn, How to use the collection runner feature in the POSTMAN chrome. You can install the POSTMAN using this link. Postman is tool for API Testing. Check out my other post for more information regarding POSTMAN.