Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the README.md #76

Merged
merged 5 commits into from
Mar 4, 2025
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -31,13 +31,17 @@ 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))
1. Before starting the server, 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))

For using the docker file, run the following command:
```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`