Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

postman test check response status

pm.test("Status code is 200", function () {
    pm.response.to.have.status(200);
});
 
PREVIOUS NEXT
Tagged: #postman #test #check #response #status
ADD COMMENT
Topic
Name
2+2 =