Gatling How-To: Installation and Execution on OS X

This is here for my own reference, but may help others.  I’m a software craftsman on a Mac, and I use Homebrew whenever possible.  So, the info here relates to that.

Prerequisite: Java must be installed (i.e. brew cask install java).

      1. Install Scala via Homebrew: brew install scala
        • Optionally: Install Scala plugin in IntelliJ
      2. Download from https://gatling.io/download/
      3. Extract and place the folder in /usr/local/Cellar/gatling/gatling-charts-highcharts-bundle-2.3.1
      4. Navigate to gatling folder
      5. Set the directory settings in /conf/gatling.conf
      6. Create a test.scala file in /user-files/simulations
      7. Go to the terminal and run /usr/local/Cellar/gatling/gatling-charts-highcharts-bundle-2.3.1/bin/gatling.sh
      8. To run from IntelliJ via Maven:
        gatling:execute -Dgatling.simulationClass=TestSimulation -f pom.xml