SoapUI Groovy examples
November 5, 2013 ยท View on GitHub
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.testCaseinstead oftestRunner.getTestCase()andproject.abortOnError = trueinstead ofproject.setAbortOnError(true)(Read more)
Resources
- The official Groovy site
- SoapUI scriping tips & tricks
- 10 Groovy scripts on your finger tips
- SoapUI source code