Awesome
SoapUI Groovy examples
This is a collection of SoapUI projects and Groovy Scripts used to demonstrate the Groovy scripting capabilities in soapUI
Tips and tricks
- Use
log.info <variable>
to get the class of a variable, such as thetestRunner
. Then you can refer to this class in the SoapUI API documentation. - Use the Groovy shortcut notation for getters and setters. For example, use
testRunner.testCase
instead oftestRunner.getTestCase()
andproject.abortOnError = true
instead ofproject.setAbortOnError(true)
(Read more)
Resources
- The official Groovy site
- SoapUI scriping tips & tricks
- 10 Groovy scripts on your finger tips
- SoapUI source code