Running mocks and tests using Gradle
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 ...
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.