Log test step response and assertions in SoapUI OpenSource
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2021
06:54 AM
08-05-2021
06:54 AM
Log test step response and assertions in SoapUI OpenSource
I wish to log all the assertions and the test step responses in the soapui logs. Can you please help.
Thank you.
Thank you.
Solved! Go to Solution.
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2021
12:04 AM
08-06-2021
12:04 AM
Which type of assertion are you using?
How do you see the logs for them currently?
What do you like to improve to be precise?
Regarding logging the response for each step, one needs to implement the respective listeners.
Please look at "ist of events". But these are available out-of-the-box in pro software.
https://support.smartbear.com/readyapi/docs/testing/handling-events.html
Also please see
https://www.soapui.org/docs/extension-plugins/old-style-extensions/developing-old-style-extensions/#...
If you want the same in the Open Source, please use below library and implement appropriate method.
https://github.com/nmrao/soapuiExtensions
Those methods are called when certain event has happened.
For example, after each Request, log response. You need to write code either in pro or free to log the response.
You can use SubmitListerner.afterSubmit and write script in your case.
Regards,
Rao.
How do you see the logs for them currently?
What do you like to improve to be precise?
Regarding logging the response for each step, one needs to implement the respective listeners.
Please look at "ist of events". But these are available out-of-the-box in pro software.
https://support.smartbear.com/readyapi/docs/testing/handling-events.html
Also please see
https://www.soapui.org/docs/extension-plugins/old-style-extensions/developing-old-style-extensions/#...
If you want the same in the Open Source, please use below library and implement appropriate method.
https://github.com/nmrao/soapuiExtensions
Those methods are called when certain event has happened.
For example, after each Request, log response. You need to write code either in pro or free to log the response.
You can use SubmitListerner.afterSubmit and write script in your case.
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2021
06:55 PM
08-10-2021
06:55 PM
Thank you for the guidance.
