Forum Discussion
HimanshuTayal
6 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 getRequestData
Hit Like if it resolve your problem.
Thanks,
Himanshu Tayal
- acsc6 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.