Answers for "responce json snippet check postman"

1

responce json snippet check postman

pm.test("Status code name has string", () => {
  pm.response.to.have.status("Created");
});
Posted by: Guest on February-01-2021
2

postman test script get request code

tests["Status code is 200"] = responseCode.code === 200;
//log
console.log(tests["Status code is 200"] = responseCode.code != 200)
Posted by: Guest on December-09-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language