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/ ...
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.