Prerequisite
- Start Video-Game aap
- http://localhost:8080/swagger-ui/index.html#/Video_Games
- https://jsonpath.com/ (JSON Path Expression)
Installation
Run Recorder from IDE
- run Recorder.scala
Run Recorder from Terminal
- cd /Users/rajatmishra/Downloads/Softwares/gatling-charts-highcharts-bundle-3.4.1/bin
- ./recorder.sh
Run Simulation from IDE
- run Engine.scala
Run Simulation from Terminal
- cd /Users/rajatmishra/Downloads/Softwares/gatling-charts-highcharts-bundle-3.4.1/bin
- ./gatling.sh
- Select test to run and Enter
Run Simulation from CI
- mvn gatling:test -Dgatling.simulationClass=simulations.RuntimeParameters
- mvn gatling:test -Dgatling.simulationClass=simulations.RuntimeParameters_1 -DUSERS=5 -DRAMP_DURATION=5 -DDURATION=30
- gradlew gatlingRun-simulations.RuntimeParameters
References
- More on Debug https://www.james-willett.com/debug-gatling/
- Good Read https://www.james-willett.com/
- Cheat Sheet https://gatling.io/docs/current/cheat-sheet/