February 2015
Intermediate to advanced
328 pages
7h 29m
English
A common requirement when running SoapUI tests from scripts is to be able to provide different hostnames, ports, and file paths for different test environments. This recipe shows some easy ways to do this.
We'll look at two different ways to set the endpoint for Test Request TestStep in SOAPMock-soapui-project.xml. For the examples, assume that there is a mock service that is running http://localhost:9001/mockInvoicePortBinding. Perform the following steps:
–e endpoint parameter to override the Test Request TestSteps endpoint, for example:
./testrunner.sh -e http://localhost:9001/mockInvoicePortBinding <chapter3 samples>/SOAPMock-soapui-project.xmlRead now
Unlock full access