ripplegupta
10 years agoContributor
How to get rawrequest and response test step using context or projectrunner variable?
I am iterating through test steps in project event handler and trying to get the raw request for each test step (rest request and jdbc only) with something like below,
projectRunner.getResults().each(){
it.getResults().each() {
it.getResults().each() {
it.getTestStep().testRequest.RawRequestData
}
}
}But it is giving me only json body that too with parameterized properties not actual data, after submitting request. I want data that comes up in raw tab . Can somebody suggest what could be the right way?