The test runner allows you to run SoapUI tests and export results.
|Tip:||Besides automating runs of SoapUI functional tests, you can also automate runs of SoapUI security tests and LoadUI tests.|
To use the command line runner, you need an active SoapUI Pro license. If SoapUI runs without a license, the command line runner will ask you to specify the path to a license file.
To get a SoapUI Pro license, sign up for a free trial.
You can find the runner in the <ReadyAPI>/bin directory. The file name is testrunner.bat (Windows) or testrunner.sh (Linux and macOS).
TestRunner is installed along with ReadyAPI and uses the same modules. It does not require any special license as it uses the existing SoapUI license you have.
ReadyAPI checks the folder specified in the Script Library folder every 5 seconds. If you set the script library folder dynamically, you need to wait for it to be loaded to use it. To do this, add a delay to your script after you command it to load the script library:
project.scriptLibrary = project.getPropertyValue("dataPath")
Specify the needed parameters in the dialog and click Launch to start the runner.
You will see the test log.
ReadyAPI will generate the command line and place it at the beginning of the test log.
You can select the text in the window with the mouse and copy it to the clipboard.