Skip to content

Commit 576adb6

Browse files
committed
update readme for performance tests
1 parent 6f79724 commit 576adb6

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

tests/performance/README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,18 @@ make config input="--LOCUST_HOST=https://api.osparc-master.speag.com
1515
```
1616
This will validate your settings and you should be good to go once you see a the settings printed in your terminal.
1717

18-
2. Add settings related to your locust file. E.g. if your file expects to find an environment variable `MYENVVAR` you add it to `.env`:
18+
2. Once you have all settings setup you uun your test script using the Make `test` recipe:
1919
```bash
20-
echo "MYENVVAR=thisismyenvvar" >> .env
20+
make test-up
2121
```
2222

23-
3. Once you have all settings setup you uun your test script using the Make `test` recipe:
24-
```bash
25-
make test
26-
```
23+
3. If you want to clean up after your tests (remove docker containers) you run `make test-down`
2724

2825
## Dashboards for visualization
2926
- You can visualize the results of your tests (in real time) in a collection of beautiful [Grafana dashboards](https://github.com/SvenskaSpel/locust-plugins/tree/master/locust_plugins/dashboards).
30-
- To do this, run `make dashboards-up` and go to `localhost:3000` to view the dashboards. The way you tell locust to send test results to the database/grafana is by ensuring `LOCUST_TIMESCALE=1` (see how to generate settings in [usage](#usage))
27+
- To do this, run `make dashboards-up`. If you are on linux you should see your browser opening `localhost:3000`, where you can view the dashboards. If the browser doesn't open automatically, do it manually and navigate to `localhost:3000`.The way you tell locust to send test results to the database/grafana is by ensuring `LOCUST_TIMESCALE=1` (see how to generate settings in [usage](#usage))
3128
- When you are done you run `make dashboards-down` to clean up.
32-
- If you are using VPN you will need to forward port 300 to your local machine to view the dashboard.
29+
- If you are using VPN you will need to forward port 3000 to your local machine to view the dashboard.
3330

3431

3532
## Tricky settings 🚨

0 commit comments

Comments
 (0)