Book Image

SoapUI Cookbook

By : Rupert Anderson
Book Image

SoapUI Cookbook

By: Rupert Anderson

Overview of this book

Table of Contents (19 chapters)
SoapUI Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

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 recipe from Chapter 11, Taking SoapUI Further). Another issue is that a REST mock WebUI isn't available, although this doesn't affect the actual mock functionality. However, don't let this put you off as the issues are very fixable; we just don't...