Forum Discussion
SmartBear_Suppo
13 years agoSmartBear Alumni (Retired)
Hi!
where are you running this script? If it is in a standalone groovy script you need to get hold of the actual response for the corresponding TestStep first, ie
def rawResponse = testRunner.testCase.testSteps["Request 1"].testRequest.response.rawResponseData
Does that help?
regards!
/Ole
SmartBear Software
where are you running this script? If it is in a standalone groovy script you need to get hold of the actual response for the corresponding TestStep first, ie
def rawResponse = testRunner.testCase.testSteps["Request 1"].testRequest.response.rawResponseData
Does that help?
regards!
/Ole
SmartBear Software
Related Content
Recent Discussions
- 60 minutes agoLukaszK