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

Using the Groovy Console plugin to create and run a new TestStep


This recipe is another quick follow-on to show a little of what you can do with the Groovy Console plugin. The Groovy Console plugin currently has the same functionality in both pro and open source plugin versions, varying only in its installation. As a quick example, we use it to dynamically create a new Groovy TestStep that contains a simple script, and run its TestCase using a couple of Groovy statements!

Getting ready

All you'll need for this recipe is SoapUI pro and the Groovy Console plugin installed. Follow the previous recipe or just use its GroovyConsoleProject project from the chapter 10 samples.

Note

Open source Groovy Console plugin

Download this from SourceForge at http://sourceforge.net/projects/soapui-plugins/files/soapui-groovy-console-plugin/ or get it from the chapter 10 sample's /plugins folder.

How to do it...

To use the Groovy Console plugin, you will notice a Groovy Console option at the bottom of the menu...