Deploying mocks as WAR files

One very useful feature of SoapUI mocks is that they can be deployed to servlet containers like Jetty and Tomcat as WAR files. This greatly increases the scope of SoapUI mocks, as it allows them to be deployed independently and potentially support environments that don't have access to the real services.

The deploy as war feature is available for both REST and SOAP mocks, although the REST version is less mature than the SOAP version, and, at the time of writing, has a few issues. One issue is that it only works post version 5.1, which makes it only directly available to pro users and open source users that are happy to build SoapUI from the source (see the Building, packaging, and running SoapUI from the source code ...

Get SoapUI Cookbook 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.