allowedMilliseconds
with value 100
pm.global.set("allowedMilliseconds", 100);
Get the global variablepm.global.get("allowedMilliseconds")
The global variable in real use case. In this example response time is checked to be below 100mspm.test("Response time is less than "+pm.global.get("allowedMilliseconds")+"ms", function () {
pm.expect(pm.response.responseTime).to.be.below(pm.global.get("allowedMilliseconds"));
});