Forum Discussion
HimanshuTayal
7 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
- acsc7 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.
Related Content
- 4 years ago
Recent Discussions
- 3 days ago