i’m new to API testing using katalon, and I noticed there is verification tab at Object.
what is the differences? is there a MUST to have verification under object, can all of these include in test case?
example from the JIRA API sample project.
verification at Object:
RequestObject request = WSResponseManager.getInstance().getCurrentRequest()
ResponseObject response = WSResponseManager.getInstance().getCurrentResponse()
verification at test case:
// Send the request and get the response
response = WS.sendRequest(findTestObject(‘REST examples/Simple examples/api-2-issue/Create issue/Create a new issue’))
// Verify the response
WS.verifyResponseStatusCode(response, 201)