Skip to content

Latest commit

 

History

History
93 lines (69 loc) · 2.31 KB

README.adoc

File metadata and controls

93 lines (69 loc) · 2.31 KB

SoapUI Runner Gradle Plugin Build Status

This repository contains simple gradle plugin (written in groovy) allowed configure and run SoapUI tests using gradle.

Gradle Portal

  1. SoapUI Test Runner Plugin soapui-testrunner (io.github.daggerok.soapui-testrunner)

  2. SoapUI Load Test Runner Plugin soapui-loadtestrunner (io.github.daggerok.soapui-loadtestrunner)

  3. SoapUI Runner Plugin soapui-runner (io.github.daggerok.soapui-runner) - contains all tasks: testrunner and loadtestrunner

Usage

Installation

Using plugins

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"
}

Using apply plugin

buildscript {
  repositories {
    maven { url "https://plugins.gradle.org/m2/" }
    maven { url "http://smartbearsoftware.com/repository/maven2/" }
  }
  dependencies {
    classpath "gradle.plugin.io.github.daggerok:soapui-runner:5.3.0-5"
  }
}

apply plugin: "io.github.daggerok.soapui-runner"

Configuration

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"
}

Tests execution

gradle extDir
gradle testrunner
gradle loadtestrunner

Examples

See some usage examples here

license

enjoy! :)