Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

postman test api response time

pm.test("Response time is less than 200ms", () => {
  pm.expect(pm.response.responseTime).to.be.below(200);
});
Source by learning.postman.com #
 
PREVIOUS NEXT
Tagged: #postman #test #api #response #time
ADD COMMENT
Topic
Name
4+6 =