Testing response times
POST https://postman-echo.com/post
You can test for the response time to be within a specified range:
pm.test("Response time is less than 200ms", () => {
pm.expect(pm.response.responseTime).to.be.below(200);
});
POST https://postman-echo.com/post
You can test for the response time to be within a specified range:
pm.test("Response time is less than 200ms", () => {
pm.expect(pm.response.responseTime).to.be.below(200);
});