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

Introduction


This chapter covers some popular ways to run SoapUI mocks and functional tests to provide the scripting building blocks for continuous integration tools such as Bamboo, Hudson, Jenkins, and TeamCity, to run integration tests.

In all approaches, it's worth understanding that the same SoapUI framework runner classes are used:

The AbstractSoapUIRunner class implements the CmdLineRunner interface, so all subclasses can be run using the command-line runner scripts. Optionally, you may find it helpful if you take a look at the SoapUI source code for these classes, which can be found at https://github.com/SmartBear/soapui/tree/next/soapui/src/main/java/com/eviware/soapui/tools.

Load and security tests can also be scripted similarly to functional tests and mocks, but how to do this will be covered in later chapters. The SoapUIToolRunner class (and script) are not covered here, as most people would probably prefer to use the actual tools directly as part of their build scripts, for example...