title: How to make Postman/Newman to fail a test after certain time has passed?
body: <p>So, in my collection I have about ten requests, with the last two being:</p>
  
  <pre><code>/Wait 10 seconds
  
  /Check Complete 
  </code></pre>
  
  <p>The first makes a call to the postman's echo (delay by 10 seconds) and the second is the call to my system to check for the status complete. Now, if status is unavailable I wait another 10s:</p>
  
  <pre><code>postman.setNextRequest("Wait 10 seconds");
  </code></pre>
  
  <p>The complete status on my system can appear in a minute or so. Now, as one can see - it is an infinite loop if something goes wrong with the system and status is never complete. Is there a way in postman/newman test to fail a test if it has been going for more than 2 minutes, for example. </p>
  
  <p>Additionally, this will be executed in jenkins with command line, so I am not really looking into postman settings or delays between requests in the runner.</p>