postman scripts json validation code example
Example: responce json snippet check postman
pm.test("Status code name has string", () => {
pm.response.to.have.status("Created");
});
pm.test("Status code name has string", () => {
pm.response.to.have.status("Created");
});