Zerocode helps you to design better Test Cases for your business functionalities and then maintain them easily to avoid sleepless nights. You do this simply by configuring, declaring and executing the scenario-files enabling you to completely eliminate the glue or boilerplate coding.
- Build application -
mvn clean install -Dmaven.test.skip=true
- Run Spring Boot application -
./run.sh
ormvn spring-boot:run
- Check
- In IDEA run test class
ClientTest
or in another terminal in root of project run commandmvn test
- To run load testing from command line
mvn test -Dtest=com.sample.controller.LoadClientTest -Dusers=10 -Dduration=10 -Dloop=3
, where users = Number of virtual users, duration = Ramp up duration for the virtual users, loop = How many times to repeat this run