A starterkit showcase project for Gatling with Java DSL.
This project is written in Java DSL for Gatling.
It includes:
- Maven Wrapper, so that you can immediately run Maven with
./mvnwwithout having to install it on your computer - minimal
pom.xml - latest version of
io.gatling:gatling-maven-pluginapplied - sample Simulation class, demonstrating sufficient Gatling functionality
- proper source file layout
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Now that you have homebrew,you can get JDK using Homebrew cask.
brew cask install java
brew install maven
Finally clone or download this repo & import it on IntelliJ as a maven project to clone:
git clone https://github.com/twCatalyst/<git repo>
To run a simulation: Example to run withFeederSimulation
mvn gatling:test -Dgatling.simulationClass=exampleSimulations.withFeederSimulation
or right click on Engine & choose Run