Verification Snippets


This is a companion discussion topic for the original entry at https://docs.katalon.com/katalon-studio/docs/verification-snippets.html

How to PRINT RestURL ??

println request.getRestUrl()

(being request an object of type RequestObject, that you could obtain with findTestObject(…) )

how to set the access token on response into a global variable and reuse it in other rest call test service?

How to Convert JSON Object back to Response body?

hi
I was trying to generate snippets with key combination ‘Ctrl+K’ to add verification scripts, but nothing happened with Katalon version 7.6.2 I am using. Anything prerequisite I should do first to make the things working?

1 Like

I want the verifications I added to my object to be shown in the report once I execute a Suite with a Tast Case that contains that object. How should I do that?