Could anyone please help How to print the API request URL in katalon
I don’t understand your question.
You are aware of the URL to request, aren’t you? If you are aware of the URL, then why you want to print it.
If you are not aware of the URL, how can a test script make a request to it?
Please give us a clearer description of the context of your question.
Please have a look at this guideline:
Yes, I am aware of the URL, but I am expected to log the URL in the final katalon test report which will have the dynamic data prepared at the runtime.
Found the solution:
RequestObject request = WSResponseManager.getInstance().getCurrentRequest()
request.getRestUrl()