Forum Discussion
SmartBear_Suppo
Alumni
15 years agoHello,
It's a little tricky, here is the required Groovy script:
Replace 'Method 1 - Request 1' with the name of your RestRequest. Good luck!
Regards,
Dain
eviware.com
It's a little tricky, here is the required Groovy script:
def request = testRunner.testCase.testSteps['Method 1 - Request 1'].testRequest
def path = com.eviware.soapui.impl.rest.support.RestUtils.expandPath( request.resource.fullPath, request.params, request )
def getRequest = request.endpoint + path
log.info getRequest
Replace 'Method 1 - Request 1' with the name of your RestRequest. Good luck!
Regards,
Dain
eviware.com