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.
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()
SmartBear Community and Education Manager
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.
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.