Skip to content

Instantly share code, notes, and snippets.

@ozooxo
Last active May 9, 2018 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ozooxo/faf6d4a30d41eac0b5f9a5e583e87ecd to your computer and use it in GitHub Desktop.
Save ozooxo/faf6d4a30d41eac0b5f9a5e583e87ecd to your computer and use it in GitHub Desktop.
Gatling

Run default example:

$ ./gatling/bin/gatling.sh -sf gatling/user-files/simulations/computerdatabase/ -s computerdatabase.BasicSimulation -m

For a minimal setup using https://gatling.io/docs/current/extensions/maven_plugin/, then one can run it using mvn gatling:test.

For using io.gatling.highcharts:gatling-highcharts-maven-archetype, it seems have problem to run inside of Eclipse (I can't "add scala nature" even if I follow this toturial. However, to make it working in IntelliJ IDEA is quite straightforward (add scala plugin is kind of the only thing which need to handle).

mvn archetype:generate seems have problem while doing mvn gatling:test from command line, while this demo works for both command line and from IDE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment