Hi,
Please let me know is there any way to check the full response of API using Katalon.
I googled and found that there is possibility to check response field by field .
But it is difficult to check each and every field .
I expect to check full response of API at a glance and not by checking each and every field
The only way I can think of is to store your response as a json (gson, jackson…) and comparing it with the expected response (obviously you need to have this expected response previously stored).
Hope it helps.
It might be an idea to use Katalon’s “Visual Testing” feature for API response verification.
Your test case must be fully aware of the URL of your target API, right? Then, your test case would be able to open that URL in Chrome browser (use WebUI.openBrowser('')
and WebUI.navigateToUrl('https://your.api.url')
). The browser will render the JSON response nicely on the display. Your test case should take a full page screenshot of browser window and pass the image to the “Visual Testing” feature. The Visual Testing will automagically compare the current image against the image previously taken.