Forum Discussion
2 Replies
- geoffcampContributorAre you talking about reusing the Header content in from the Request or from the Response?
I'm guessing you're looking for it from the Response - if so a simple groovy script should do this for you.
For example:
def headerValue = testRunner.testCase.testSteps["Request"].testRequest.response.responseHeaders["Server"]
This will read a value from the header, in this case the Server. This can then be stored into a Property and reused in any way that you require.
Hope that helps,
Geoff - joeybearContributorThanks, Geoff!! That worked like a champ
