API Testing using POSTMAN - Conditional Workflows - [Part -13]

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@webguru·
0.000 HBD
API Testing using POSTMAN - Conditional Workflows - [Part -13]
<center><a href='https://d.tube/#!/v/webguru/qe1ty24b'><img src='https://ipfs.io/ipfs/QmehX3P4eCszRuDhSBBQu6asY5BdKDbtHFiqYUdMT98H2N'></a></center><hr>

Sequence of the request  -  If this happen then this happen else this happen is workflow.

Specify the name of the subsequent request.

postman.setNextRequest(“Request Name”);


To terminates execution.

    postman.setNextRequest(null);



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.

<hr><a href='https://d.tube/#!/v/webguru/qe1ty24b'> ▶️ DTube</a><br /><a href='https://ipfs.io/ipfs/QmTjbB5e2NhhH97uy6x3Se5kxvc3FGPix7XoVsRrytJA9e'> ▶️ IPFS</a>
👍 ,