Automation in POSTMAN

Automation in POSTMAN is the way to run requests automatically using a script. There are some functions with the help of which request can be initiated automatically when the current request is over. This is helpful when some request has to be executed serially one by one, and also data cascading can be applied here.

There are two ways to execute a series of requests. Both these methods can be used to automate tests.

  • Branching : In this method, a script can be written to initiate a different request or a single new request which again initiates a new request.
  • Looping : In this method, a request can be initiated and the same request can be sent to the server again and again. Looping is important when we have to test an API whose response changes after every short interval of time.


for (var counter = 0;  counter <5; counter++){

0 results
Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions