gradle-gatling-plugins
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gradle
gradle/wrapper
src/main
.gitignore
LICENSE
README.md
build.gradle
gradlew
gradlew.bat

README.md

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