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

Packaging old-style plugins when running tests with Maven


Certain types of plugins, for example, custom TestSteps and Assertions, can become dependencies for the successful running of your projects. For example, if you use the Email TestStep plugin in your project, then you must provide this plugin if your project is used elsewhere; for example, if other users want to use the project, then they must also install the plugin in their /plugins folder before it will work.

A more complicated but common case would be if your project runs as part of continuous integration (CI) using Maven to run tests. In this case, there may not be an install of SoapUI to manually deploy the plugin jar file to. In this recipe, we will deal with this case by running the project from the first recipe using a Maven script.

Getting ready

To follow this recipe, you will need the following:

  1. Maven (version 2+) installed, and basic Maven skills to do the following:

    • Create Maven projects

    • Configure the SoapUI Maven plugin

    • Run...