postman check for null or undefined code example
Example: postman check for null or undefined
pm.test("To Check if Value is Null", function() {
var jsonData = pm.response.json();
pm.expect(jsonData.).not.eq(undefined);
)};
pm.test("To Check if Value is Null", function() {
var jsonData = pm.response.json();
pm.expect(jsonData.).not.eq(undefined);
)};