Gatling project to load test the spring petclinic application. This project is used for learning how to write gatling test scenarios and, therefore, keeps the scenario complexity to a minimum.
- spring-petclinic project, which can be found here
- Gatling, available here
- (optional) your favorite IDE with Scala for editing the source code.
- Download and extract the latest version of Gatling. The directory where you extract the tool is referred as GATLING_HOME from now on.
- Navigate to the GATLING_HOME/user-files/simulations directory
- Checkout the test scenarios with the following command:
git clone https://github.com/ermanno-pirotta/gatling-spring-petclinic.git
- Navigate to the GATLING_HOME/bin directory
- Execute
gatling.sh
orgatling.bat
depending on your operative system. - Select org.piro84.performance.petclinic.AddVisitSimulation by typing the relative number