Answers for "Script test to be oneOf"

0

Script test to be oneOf

pm.test("Successful POST request", () => {
  pm.expect(pm.response.code).to.be.oneOf([201,202]);
});
Posted by: Guest on August-23-2021

Code answers related to "Script test to be oneOf"

Code answers related to "Javascript"

Browse Popular Code Answers by Language