Ask a Question

How to capture results from "script logs" tab in SOAPUI free version using groovy scripting

philip
New Contributor

How to capture results from "script logs" tab in SOAPUI free version using groovy scripting

 
4 REPLIES 4
New2API
Frequent Contributor

Do you mean script logs it self or a selective piece of information from the log?

philip
New Contributor

I have some log.info messages in my Groovy script test steps, all these messages gets added to the script logs tab during execution, hence for every test run I want to capture the messages on script logs tab in soapui and write it on a file, using groovy scripting
New2API
Frequent Contributor

Please refer to below link. This might give some idea to implement at test case level.

 

https://community.smartbear.com/t5/SoapUI-NG/Exporting-the-Script-Log-to-an-external-file/m-p/137529...

 

There are quite a few things you can do it here if event handler option is not available. Use scripts as teardown script at Testcase or TestSuite level.

 

Regards,

 

nmrao
Community Hero

The log is already available in the form of file, I donot think you need to do it again. Check the log files after the execution either under SOAPUI_HOME/bin or %user_home%


Regards,
Rao.
cancel
Showing results for 
Search instead for 
Did you mean: