Like Maven, the Gradle build framework harnesses the power of dependency management and also some Maven usage conventions, but replaces Maven's XML syntax with a lightweight Groovy-based syntax or Domain Specific Language (DSL). Gradle is newer than Maven, and its use with SoapUI is less evolved in that there is no official SoapUI plugin yet. Nevertheless, the appeal of Gradle's strengths as a build framework and its growing popularity make it a very viable option to script SoapUI.
This recipe uses Gradle to run and provide dependencies for the runmockandtest.groovy
script from the previous recipe, which runs the mock and test from the DBSOAPMock
project from the chapter 3
samples.
This recipe assumes that you know a little about what Gradle is and are comfortable with the Groovy or Java syntax for scripting, but you certainly don't need to be a Gradle expert. If you're new to Gradle or need a refresher, then it might help to take a look at https://www...