Forum Discussion
chathurad
8 years agoContributor
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
8 years agoRegular Visitor
try this :
def testCase = messageExchange.modelItem.testCase
def ResponseMessage = testCase.testSteps["Step1"].testRequest.response.contentAsString
log.debug 'response is :::: ' + ResponseMessage