Clear soapui.log for each testcase execution to preserve memory
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2016
06:53 AM
05-13-2016
06:53 AM
Clear soapui.log for each testcase execution to preserve memory
After execution of each testcase i want to clear the soapui.log file for the successfull testcase.Is there a way to do that?
I have came across this but this is something to clear script log window of UI tool.
com.eviware.soapui.SoapUI.logMonitor.getLogArea("script log").clear()
3 REPLIES 3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2016
05:55 AM
05-16-2016
05:55 AM
Hi Harry,
Just a guess, have you tried to type "Ready! API log" in the script you posted? Something like:
com.eviware.soapui.SoapUI.logMonitor.getLogArea("Ready! API log").clear()
---------
Tanya Yatskovskaya
SmartBear Community and Education Manager
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2016
08:15 AM
05-16-2016
08:15 AM
Hope Tanya's reply helps.
Just to comment, log is something that helps you to analyze later when automated tests are run, not really good idea cleaning it after each test case in the automated tests or Continuous Integration environments.
Regards,
Rao.
Just to comment, log is something that helps you to analyze later when automated tests are run, not really good idea cleaning it after each test case in the automated tests or Continuous Integration environments.
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2016
08:26 AM
05-16-2016
08:26 AM
What Tanya's had replied is samething which i used to clear for clearing "script.log window.
I want to preserve memory. Thats the reason i want to clear the soapUI log.writing it to log file sometime taking some much time.
