Script containing logMonitor.getLogArea( "script log" ) fails when SoapUI is run from Jenkins or Cmd
Background: To capture test results in a data driven SoapUI groovy script based framework, we are storing the log.info steps in each script using " def logArea = com.eviware.soapui.SoapUI.logMonitor.getLogArea( "script log" ); " . This way we could store all scripts run results (taken from log.info steps). All this works perfectly fine for us and we are using this from more than a year, so no problems there.
Problem statement : Recently after reaching a stable state in project, we thought of scheduling daily health check runs using Jenkins. For this, when we integrated SoapUI with Jenkins, I found that all the steps that involve getlogArea were failing. And thus, although, I can run all scripts, which doesnt involve this step but every step that involves taking the results into a log file fails. I did some homework and searched internet to see if I can find a solution for this but couldn't find one where it solves this issue. Note that, also running soapUI direclty from command line, also have same issues.
Any pointers, solutions, workarounds are most welcome.
Thanking you in anticipation.