Forum Discussion
omatzura
17 years agoSuper Contributor
Hi!
this looks just fine.. you can make it more "groovy" with
def testReq = testRunner.testCase.testSteps["Test Request"].testRequest.response.rawRequestData
Alternatively you can get it from the corresponding TestStepResult object as described at http://www.eviware.com/blogs/oleblog/?p=442, once you have the result for the "Test Request" step you can use
def testReq = result.rawRequestData
regards!
/Ole
eviware.com
this looks just fine.. you can make it more "groovy" with
def testReq = testRunner.testCase.testSteps["Test Request"].testRequest.response.rawRequestData
Alternatively you can get it from the corresponding TestStepResult object as described at http://www.eviware.com/blogs/oleblog/?p=442, once you have the result for the "Test Request" step you can use
def testReq = result.rawRequestData
regards!
/Ole
eviware.com