buhe / gradle-gatling-plugin

gradle-gatling-plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install


execute:

gradle uploadArchives

put lib directory into your project directory,add configuration to your build.gradle

buildscript {
    repositories {
        maven {
            url 'file:lib'
        }
    }
    dependencies {
        classpath 'io.buhe.gradle:gatling:0.0.1'
    }
}

Configuration


apply plugin: 'gatling'
gatling {
    exclude = '.*'
    include = '^io.test.simulations.*'
    breakOnFailure = false
        ignoreFailures = false
}

exclude is black list, include is white list, regular expressions are supported both exclude and include may contain a multiple comma separated regexps

breakOnFailures specifies if test execution should be interrupted after first failure

ignoreFailures specifies if failed test results should still let the task pass

Tasks


:gatling     execute all match gatling script
:gatling -Dgatling.include=io.test.simulations.TestSimulation execute a particular simulations

About

gradle-gatling-plugins

License:Apache License 2.0


Languages

Language:Groovy 100.0%