diff --git a/README.md b/README.md index e7992e9..4286483 100644 --- a/README.md +++ b/README.md @@ -31,13 +31,15 @@ and easy-to-use framework for simulating user load and measuring system performa To run the performance tests locally, follow these steps: -1. Start OpenMRS on port 80. (Use the docker file: [src/test/resources/docker-compose.yml](src/test/resources/docker-compose.yml) It contains demo patients for the test. [Learn more](#generating-demo-patient-data)) - -For using the docker file, run the following command: -```bash +1. Install dependencies (and compile) + ```bash + ./mvnw install -DskipTests + ``` +2. Start OpenMRS on port 80. (Use the docker file: [src/test/resources/docker-compose.yml](src/test/resources/docker-compose.yml) It contains demo patients for the test. [Learn more](#generating-demo-patient-data)) + ```bash docker compose -f src/test/resources/docker-compose.yml up -``` -2. Execute the following command in your terminal: + ``` +3. Execute the following command in your terminal: **Standard** `export SIMULATION_PRESET='standard' && ./mvnw gatling:test` \ **dev** `export SIMULATION_PRESET=dev TIER_COUNT=2 TIER_DURATION_MINUTES=1 USER_INCREMENT_PER_TIER=10 && ./mvnw gatling:test`