Forum Discussion
SmartBear_Suppo
14 years agoSmartBear Alumni (Retired)
Hi,
You can use the RestUtils class to get this from the RestRequest:
Note that "request" in this case refers to the TestRequest of a RestTestRequestStep. Good luck!
Regards,
Dain
SmartBear Software
You can use the RestUtils class to get this from the RestRequest:
import com.eviware.soapui.impl.rest.support.RestUtils
def request = testRunner.testCase.testSteps['Method 1 - Request 1'].testRequest
log.info RestUtils.expandPath( request.resource.fullPath, request.params, request )
Note that "request" in this case refers to the TestRequest of a RestTestRequestStep. Good luck!
Regards,
Dain
SmartBear Software
Related Content
- 6 years ago
- 5 years ago
- 2 years ago
Recent Discussions
- 19 days ago