Answer by Suichi for How to Compare Response with value in postman Test cases
In the test section you can use the assert nodeJS module: var assert = require('assert');pm.test("The default ID > 10", function () { assert(jsonData.default_project_id > 10);});keep in mind that...
View ArticleHow to Compare Response with value in postman Test cases
I have made a get request in postman which will return some response. I would like to compare that response has the value > 0 in test cases. My current code is pm.test("Your test name", function ()...
View Article