Forum Discussion
SmartBear_Suppo
Alumni
13 years agoHi,
You can use event handlers for this.
http://www.soapui.org/Scripting-Propert ... dlers.html
As an example to get raw request and response data, use event handler SubmitListener.afterSubmit.
Regards,
Marcus
SmartBear Support
I am recording the execution time of each test step executed in the test case along with the raw response and raw request, response data and request data and the result of the test (e.g. pass or fail).
You can use event handlers for this.
http://www.soapui.org/Scripting-Propert ... dlers.html
As an example to get raw request and response data, use event handler SubmitListener.afterSubmit.
String rawRequest = new String( submit.response.getRawRequestData() )
String rawResponse = new String( submit.response.getRawResponseData() )
Regards,
Marcus
SmartBear Support