This repository contains simple gradle plugin (written in groovy) allowed configure and run SoapUI tests using gradle.
-
SoapUI Test Runner Plugin soapui-testrunner (
io.github.daggerok.soapui-testrunner
) -
SoapUI Load Test Runner Plugin soapui-loadtestrunner (
io.github.daggerok.soapui-loadtestrunner
) -
SoapUI Runner Plugin soapui-runner (
io.github.daggerok.soapui-runner
) - contains all tasks: testrunner and loadtestrunner
buildscript {
repositories {
maven { url "https://plugins.gradle.org/m2/" }
maven { url "http://smartbearsoftware.com/repository/maven2/" }
}
}
plugins {
id "io.github.daggerok.soapui-runner" version "5.3.0-5"
}
repositories { jcenter() }
dependencies {
extDir "org.postgresql:postgresql:9.4.1212.jre7"
}
testrunner {
projectFile "src/test/resources/soapui-test-project.xml"
outputFolder "out/tests"
failOnError true
projectProperties = [
"apiBaseUrl=https://api.github.com"
]
}
loadtestrunner {
projectFile = "$projectDir/soapui-load-tests.xml"
outputFolder = "buildDir/soapui/load"
}
See some usage examples here