Running mocks from the command line
SoapUI mocks can easily be run from the command line using the bundled
<SoapUI Home>/java/app/bin/mockservicerunner.sh script. This recipe covers running both a REST and SOAP mock in this way.
The only real prerequisites are a SoapUI install and a project with a mock that you'd like to run. In this recipe, we'll try out the mocks in the
SOAPMock-soapui-project.xml projects from the
chapter 3 samples.
How to do it...
If you run
mockservicerunner without any parameters, you will see the help options, as shown in the following screenshot:
Pro version reporting options ...