15 years ago
SoapUI & JUnit - disable logging
I'm running SoapUI tests from JUnit and Ant.
This part of code acts as expected - all reports created in reportDir birectory but there are few other files present to:
global-groovy.log
soapui-errors.log
soapui.log
This files are created in the same directory with build.xml - this mean in directory where ant command executed.
Could i disable creation of this 3 files or set a directory where to place them ?
public void testWholeSoap() throws Exception {
SoapUITestCaseRunner runner = new SoapUITestCaseRunner();
runner.setProjectFile(projectFile);
runner.setOutputFolder(reportDir);
runner.setPrintReport(true);
runner.setJUnitReport(true);
runner.run();
}
This part of code acts as expected - all reports created in reportDir birectory but there are few other files present to:
global-groovy.log
soapui-errors.log
soapui.log
This files are created in the same directory with build.xml - this mean in directory where ant command executed.
Could i disable creation of this 3 files or set a directory where to place them ?