Forum Discussion

JustinM89's avatar
JustinM89
Contributor
7 years ago
Solved

Suppress logging from SoapUIProTestCaseRunner class when running tests command line

Hi all, when running tests using testRunner.bat, the output that is generated contains hundreds and hundreds of lines from a SoapUIProTestCaseRunner class:   10:00:56,116 INFO [SoapUIProTestCaseRu...
  • JustinM89's avatar
    7 years ago

    Wow, I must be blind. I decided to give it one more Google search before moving onto something else, and found the class here. Don't know why I couldn't find this in the other 2 API docs I checked, but this appears to be the correct class.

     

    For anyone else that is wondering, I simply added a new logger to the soapui-log4j.xml file:

     

    <logger name="com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner">
        <level value="ERROR"/>
        <appender-ref ref="ERRORFILE"/>
    </logger>

    Obviously, you'll probably want to change the level and appender, but this was just a quick test to confirm that it did not log the output to the console.