Forum Discussion
chathurad
Contributor
that explains it, the assertion script does not have access to the testRunner variable, you can instead use
So how to get access to the testRunner variable?
yousufbadar
7 years agoRegular Visitor
try this :
def testCase = messageExchange.modelItem.testCase
def ResponseMessage = testCase.testSteps["Step1"].testRequest.response.contentAsString
log.debug 'response is :::: ' + ResponseMessage
Related Content
- 10 years ago
Recent Discussions
- 18 days ago