Forum Discussion
nmrao
10 years agoCommunity Hero
But, writing request response to text file is only on failure right? Is the same case with jdbc step as well?
Apoorva6
10 years agoFrequent Contributor
No Rao,
I am using testrunner.sh -f -a -r /pathfor results /project.xml and my project.xml has some jdbc steps and I am not getting any request/response printed in the result file. However there is no problem with xml step where both request and response are printed.
- nmrao10 years agoCommunity HeroOk, you should be able write by having an additional groovy step after the jdbc step.
- Apoorva610 years agoFrequent Contributor
How exactly ?
You mean log.info (JDBC request and Response) ?
- nmrao10 years agoCommunity HeroNot sure if you can write the request of jdbc, but jdbc response.
Please check 2.1 of below link where there is a sample provided how to write the response of a step to file.
https://www.soapui.org/scripting-properties/tips-tricks.html