Forum Discussion
HimanshuTayal
8 years agoCommunity Hero
you can use below code if you want to get "Authorization" in your response:
def getRequestTestStep = testRunner.testCase.getTestStepByName("TestRequest")
def getRequestData = new String(getRequestTestStep.testRequest.messageExchange.rawRequestData)
log.info getRequestDataHit Like if it resolve your problem.
Thanks,
Himanshu Tayal
acsc
8 years agoNew Contributor
Ok, Thanks,
But i need to add Auth token from an external file to RAW request before i hit the end point.