- JDK 11 - 14
- Maven latest (3.9.1)
- Docker latest
mvn gatling:test '-DclassName=example.simulations.YourSimulation'
1
To clone and execute witout problem the docker-compose file, clone the project whit the follow comand:
git clone https://github.com/Joel-Vitelli/Endava-Automation-Performance.git --config core.autocrlf=false
2
- Put your cmd comand terminarl in the root of the project folder
- Start the Docker service
- Run the comand
docker-compose up
- Go to your favorite browser, and navigate to localhost in the port 3000
http://localhost:3000/
- Enter User and Password (admin, admin)
- Enjoy!3
Repalce <com.yourSimulation> with your class in java with the mvn gatling:test '-DclassName=example.yourSimulation>simulation want to run (Most contain the reference path too)
Aditional Information.
Footnotes
-
Rempalce the YourSimulation for the name of your own simulation. ↩
-
If you are using Windows maybe you have some problems when you try to run the docker-compose up por the encoding of the file. Clone whit this comand. ↩
-
In this step, in Grafana, search for the dashboard called Endava Performance, then, execute the performance framework from console. ↩