mvn compile exec:java
Ctrl+C
to stop.
mvn gatling:test
The Gatling simulation defaults to running the app locally.
Use the following to change Gatling to the app running on the platform:
mvn gatling:test -DbaseUrl=http://the-platform-url
TODO provide CLI to obtain the platform URL
At the conclusion of a Gatling test the following message is given that provides the location of the test run report.
Reports generated, please open the following file: file:///.../index.html
Copy the URL to view in a browser or view in an IDE.
Two scripts are included in this project for creating and viewing user entities.
Use the create-user.sh
script to create a user.
./bin/create-user.sh user456 user456 user456.example.com
The script takes three parameters: userId, name, and email.
Use the get-user,sh
script to view existing user entities.
./bin/get-user.sh user456