- Run
mvn verifyto build both the server and client jars - Switch to the server module directory:
cd stress-server - Start application with
java -jar target/stress-server-1.0-SNAPSHOT.jar server config.yml - To check that your application is running enter url
http://localhost:8080/category
- Prerequisite: launch the stress-server, and keep it running (see above).
- In a new console, switch to the client module directory:
cd stress-client - Start the application with
java -jar target/stress-client-1.0-SNAPSHOT.jar check.yml - Wait until the test is complete.
Follow the instructions for "How to test the stress-client application", but instead of using
check.yml, use stress.yml. The test will take much longer, exposing bugs that manifest under
load.
This repro was tested with the following JDK releases:
- Java/JDK 8 rev. 202
- Java/JDK 8 rev. 152