
This plugin lets you compile your Scala code and launch Gatling simulations.Ĭheck the maven plugin documentation for more information. Gatling provides an official maven plugin named gatling-maven-plugin. You might want to explicitly set JAVA_HOME.

If you get strange errors such as Unsupported major.minor version 51.0 and you were expecting to run a JDK8, So you might end up running a different version than the one java -version tells you. OS, like OSX, have their own tricky way of discovering which version of Java to run,

Gatling launch scripts and Gatling maven plugin honor JAVA_HOME env var if it’s set. Use the scripts located in the bin directory for launching Gatling and the Recorder. Unzip the downloaded bundle to a folder of your choice. Then, you’ll just need a text editor, possibly with Scala syntactic coloration, to edit your simulationsĪnd you’ll be able to launch Gatling from the command line.Ĭheck out our Open Source page for the download link. You can use Gatling as a standalone bundle. Those are not documented and released only for internal use or Gatling Enterprise customers. In particular, don’t use milestones (M versions) you could find on maven central, Make sure to use the latest version as documented on our website. Other JVMs such as JDK 12+, client JVMs, 32bits systems or OpenJ9 are not supported.

Gatling supports 64bits OpenJDK 8 and OpenJDK 11 with HotSpot.
#IDE FOR MAC THAT USES JAVA INSTALL#
Learn about the Java and Scala requirements, install Gatling with the Bundle or build tool: maven, sbt, gradle Prerequisites # Java Version # Launching Gatling and the Recorder from the IDE.
