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