Forum Discussion

redfish4ktc2's avatar
redfish4ktc2
Super Contributor
11 years ago

SoapUI PRO 5.1: undocumented option in testrunner bat/sh

Hi,
when running the testrunner.bat PRO command, I see the list of options and the -l one is not documented http://www.soapui.org/Test-Automation/c ... tests.html
Can you explain how to use it and what is the expected behaviour? Is it related to the Courtesy Mode (see viewtopic.php?f=4&t=24797)?
I have not seen this license option in others runners, does that mean that license check is only performed when running tests?

SoapUI Pro 5.1.1 TestCase Runner
usage: testrunner [options] <soapui-project-file>
-F Report format. Used with -R. Valid options PDF, XLS, HTML, RTF,
CSV, TXT, and XML (comma-separated)
-v Sets password for soapui-settings.xml file
-t Sets the soapui-settings.xml file to use
-A Turns on exporting of all results using folders instead of long filenames
-D Sets system property with name=value
-E Sets the environment
-G Sets global property with name=value
-H Adds a custom HTTP Header to all outgoing requests (name=value),
can be specified multiple times
-I Do not stop if error occurs, ignore them
-M Creates a Test Run Log Report in XML format
-P Sets or overrides project property with name=value
-R Report to Generate
-S Saves the project after running the tests
-a Turns on exporting of all results
-c Sets the testcase
-d Sets the domain
-e Sets the endpoint
-f Sets the output folder to export results to
-g Sets the output to include Coverage HTML reports
-h Sets the host
-i Enables Swing UI for scripts
-j Sets the output to include JUnit XML reports
-l Installs an activated SoapUI Pro license file
-m Sets the maximum number of TestStep errors to save for each testcase
-o Opens generated report(s) in a browser
-p Sets the password
-r Prints a small summary report
-s Sets the testsuite
-u Sets the username
-w Sets the WSS password type, either 'Text' or 'Digest'
-x Sets project password for decryption if project is encrypted
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    I : Do not stop if error occurs, ignore them

    Where did you find this documentation?

    Regards,
    Temil
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    Hi,
    my question is about the "l" option (L lower case) and not "I" option (i upper case)

    I see this when running a SoapUI command line runner with wrong options to display the usage, in particular, call the runner without any arguments.
    In my case, for the test runner, on windows OS
    cd $SOAPUI_INSTALL_HOME/bin
    ./testrunner.bat


    Running other runner without arguments does not display -l option or -l option is used for something else

    Is that clearer?
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi RedFish4ktc2,

    The -l license activates the activated key.
    so if you try,

    testrunner -lC:\Users\jeshtha.kambli\.soapui\soapui.key or activation key your license will be activated.

    If you give testrunner -lC:\Users\jeshtha.kambli\.soapui\license.key
    SoapUI Pro user interface will popup for activation process.

    It is used for activation process, but rarely used since we use GUI mostly.

    Thanks,
    Jeshtha
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    Hi, thanks for the feedback

    could you confirm what I have noticed in my previous question please
    I have not seen this license option in others runners, does that mean that license check is only performed when running tests?
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    Hi SmartBear Support,
    any chance to get an answer to my previous question?
    Thanks
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    Hi SmartBear Support,
    any chance to get an answer to my previous question?
    Thanks
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    Hi
    I could create a support ticket but why don't you want to directly answer in the forum ?