Forum Discussion
Peter_McCann
17 years agoNew Contributor
Thank you this works.
I was able to set it as a variable. I added an additional flag to testrunner.sh
soapui_log_dir=$4
then passed it to to java.
java -Dsoapui.properties=soapui.properties -
Dsoapui.log.dir=${soapui_log_dir} -cp $SOAPUI_CLASSPATH com.eviware.soapui.tools.SoapUITestCaseRunner $options
This allows me to define the log dir on the fly from my ant task that kicks off the soap ui tests.
In the soapui-log4j.xml file I changed the lines you suggested to
I was able to set it as a variable. I added an additional flag to testrunner.sh
soapui_log_dir=$4
then passed it to to java.
java -Dsoapui.properties=soapui.properties -
Dsoapui.log.dir=${soapui_log_dir} -cp $SOAPUI_CLASSPATH com.eviware.soapui.tools.SoapUITestCaseRunner $options
This allows me to define the log dir on the fly from my ant task that kicks off the soap ui tests.
In the soapui-log4j.xml file I changed the lines you suggested to
Related Content
- 4 years ago
- 4 years ago
- 3 years ago
- 3 years ago
Recent Discussions
- 20 days ago