Forum Discussion
HimanshuTayal
Community 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
acsc
7 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
- 12 months ago
- 4 years ago
Recent Discussions
- 15 years ago