Forum Discussion
6 Replies
Sort By
- nmraoChampion Level 3
Where do you need? In groovy test step or in script assertion?
- New2APIFrequent Contributor
We are calling an eventHandler script - TestRunListener.afterStep. This step would excute after a REST or GraphQL step and get the test data for reporting purpose.
We would like to get rawResponse that includes method, URL, headers used and body in the GQL call. we are able capture all the info except headers.
- nmraoChampion Level 3
- New2APIFrequent Contributor
Yes, rawResponse give entire raw response. We are looking for raw request. Above would give only request body.
- nmraoChampion Level 3
The original question is answered. Is this an amendment?
- New2APIFrequent Contributor
My Question itself was incorrect - I meant rawRequest. Sorry for that.
Related Content
- 2 years ago
- 5 years ago