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'
}
}
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
:gatling execute all match gatling script
:gatling -Dgatling.include=io.test.simulations.TestSimulation execute a particular simulations