Answers for "postman check for null or undefined"

1

postman check for null or undefined

pm.test("To Check if Value is Null", function() {
var jsonData = pm.response.json();
pm.expect(jsonData.<yourfield>).not.eq(undefined);
)};
Posted by: Guest on February-16-2021

Code answers related to "postman check for null or undefined"

Code answers related to "Javascript"

Browse Popular Code Answers by Language