{
  "item": [{
    "event": [{
      "listen": "prerequest",
      "script": "setTimeout(function () {}, 400);"
    },{
      "listen": "test",
      "script": "for(var i = 0; i++ < 1e8;); // 0.3 s"
    }],
    "request": {
      "url": "https://postman-echo.com/get",
      "method": "GET"
    }
  }]
}

{
  "item": [{
    "event": [{
      "listen": "prerequest",
      "script": "setTimeout(function () {}, 400);"
    },{
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "exec": [
          "var now = Date.now(),",
          "    later = now + 300;",
          "while(Date.now() < later);"
        ]
      }
    }],
    "request": {
      "url": "https://postman-echo.com/get",
      "method": "GET"
    }
  }]
}

Make timeout scripts in collections more reliable
Make timeout scripts in collections more reliable
