Forum Discussion

jlpeterson's avatar
jlpeterson
New Contributor
9 years ago

testrunner.bat -t option not working

I need to run some tests using the command line and the testrunner.bat option. It always seems to just ignore the -t option and uses the setting file in my user directory. I've tried this on several machines. All are running soapUI 5.2 if that helps. 

 

Here's my command line.

 

"D:\Program Files (x86)\SmartBear\SoapUI-5.2.1\bin\testrunner.bat" "D:\scripts\soapUI\Projects\test1\test1-soapui-project.xml" -t"D:\scripts\soapUI\Projects\test1\soapui-settings.xml" -f"D:\scripts\soapUI\Projects\test1\logs"

 

 

If I put the settings in my default soapui-settings.xml file it works fine. But all the various tests I need to run use different client certificates and proxy servers. 

 

Thanks in advance for any assistance. 

  • kondasamy's avatar
    kondasamy
    Regular Contributor

    I tried this option with SoapUI 5.2.0 & 5.2.1 versions. It works fine for me. Please post if you see any errors in the log. That would help us to find a solution.

     

    Thanks,

    Kondasamy

    • jlpeterson's avatar
      jlpeterson
      New Contributor

      I'm on the opensource version 5.2.1 I re-installed and tried again on a third machine, all have the same issue. Thanks for taking the time to look, I appreciate it. :)

       

       

      The info in the logs was too long to post so I've attached a file with all of the details. 

       

      • kondasamy's avatar
        kondasamy
        Regular Contributor

        Agree! I too note this error. In previous response my case was different as you can see the below log,

         

        Configuring log4j from [C:\Program Files (x86)\SmartBear\SoapUI-5.2.1\bin\soapui-log4j.xml]
        09:14:31,109 INFO  [SoapUI] Adding [C:\Program Files (x86)\SmartBear\SoapUI-5.2.1\bin\ext\sqljdbc4.jar] to extensions classpath
        09:14:31,624 INFO  [DefaultSoapUICore] initialized soapui-settings from [C:\soapui-settings.xml]

        This issue occurs even in Ready API 1.8 version. This should be a bug.

         

        I also see the same concern from different user here - https://community.smartbear.com/t5/SoapUI-Open-Source/testrunner-ignores-the-t-option/m-p/122372/highlight/true#M21073

         

         

        EDIT: I have raised a support ticket with Smartbear team - Case #00187124 for the issue in Ready API version 1.8. I will keep it posted on the resolution in this thread.

         

        Thanks,

        Kondasamy