soapUI command line executions

soapUI provides us with a set of easy-to-use batch scripts to launch soapUI tests from the command line so that the tests can be invoked without opening the soapUI graphical interface separately. This is very useful in test automation because you can just call the batch scripts from your automated build scripts (Ant or any other script) and integrate into your build system right-away.

You will find the following runner scripts inside the SOAPUI_HOME/bin directory:

  • testrunner.sh {bat}: This can be used to run any soapUI functional test from command line
  • loadtestrunner.sh {bat}: Any soapUI load test can be launched from the command line through this script
  • mockservicerunner.sh{bat}: soapUI mock services can be run straightaway ...

Get Web Services Testing with soapUI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.