Skip to content

Instantly share code, notes, and snippets.

@chbatey
Created February 23, 2015 18:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chbatey/fc3fb0d15a3b9d925ccc to your computer and use it in GitHub Desktop.
Save chbatey/fc3fb0d15a3b9d925ccc to your computer and use it in GitHub Desktop.
task runLoadTest(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath + sourceSets.test.runtimeClasspath + sourceSets.e2eTest.runtimeClasspath
jvmArgs = [ '-Dgatling.core.directory.binaries=./build/classes/e2eTest' ]
// Gatling application
main = "io.gatling.app.Gatling"
// Specify the simulation to run
args = Eval.me("['-s', 'BasicSimulation']")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment