in automation postman script, how to rerun the same api if the response is 500 instead of 200, till api's response is other than 500.
pm.test("Status code should be 200 on invalid user", function () {
pm.response.to.have.status(200);
});
in automation postman script, how to rerun the same api if the response is 500 instead of 200, till api's response is other than 500.
pm.test("Status code should be 200 on invalid user", function () {
pm.response.to.have.status(200);
});