What Is SoapUI TestRunner Command

Q

What Is SoapUI TestRunner Command?

✍: FYIcenter.com

A

SoapUI TestRunner Command is a command line tool that allows you to run test cases defined in SoapUI projects at the command line without the graphical user interface.

SoapUI TestRunner Command is a nice tool for running your test cases in batch scheduled as a background process.

SoapUI TestRunner Command is supported by the TestRunner.bat file located in the <SoapUI>\bin folder. You can run it to see its command arguments and options:

C:\fyicenter>\fyicenter\SoapUI\bin\testrunner.bat
SoapUI 5.4.0 TestCase Runner
usage: testrunner [options] <soapui-project-file>
 -A         Turns on exporting of all results using folders instead of
            long filenames
 -a         Turns on exporting of all results
 -c <arg>   Sets the testcase
 -D <arg>   Sets system property with name=value
 -d <arg>   Sets the domain
 -e <arg>   Sets the endpoint
 -f <arg>   Sets the output folder to export results to
 -G <arg>   Sets global property with name=value
 -H <arg>   Adds a custom HTTP Header to all outgoing requests
            (name=value), can be specified multiple times
 -h <arg>   Sets the host
 -I         Do not stop if error occurs, ignore them
 -i         Enables Swing UI for scripts
 -J         Sets the output to include JUnit XML reports adding test
            properties to the report
 -j         Sets the output to include JUnit XML reports
 -M         Creates a Test Run Log Report in XML format
 -m         Sets the maximum number of TestStep errors to save for each
            testcase
 -P <arg>   Sets or overrides project property with name=value
 -p <arg>   Sets the password
 -r         Prints a small summary report
 -S         Saves the project after running the tests
 -s <arg>   Sets the testsuite
 -t <arg>   Sets the soapui-settings.xml file to use
 -u <arg>   Sets the username
 -v <arg>   Sets password for soapui-settings.xml file
 -w <arg>   Sets the WSS password type, either 'Text' or 'Digest'
 -x <arg>   Sets project password for decryption if project is encrypted

 

Run SoapUI Test Case with TestRunner Command

Using SoapUI TestRunner Command

Using SoapUI TestRunner Command

⇑⇑ SoapUI Tutorials

2018-02-28, 198👍, 0💬