Skip to content

This repository contains SoapUI testrunner, loadtestrunner and runner (testrunner + loadtestrunner) gradle plugins written in groovy. These plugins allows configure and run SoapUI tests using gradle. see documentation

License

Notifications You must be signed in to change notification settings

daggerok/soapui-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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! :)