Skip to content

Commit fd7678e

Browse files
committed
- added reports
1 parent 37db515 commit fd7678e

File tree

6 files changed

+512
-8
lines changed

6 files changed

+512
-8
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ Or, if you want to run it in the background
2020
docker compose up -d
2121
```
2222

23+
If you want to scale the number of workers:
24+
25+
```
26+
docker-compose up --scale worker=4
27+
```
28+
2329
Access the UI at [http://localhost:8089/](http://localhost:8089/) and run your tests.
2430

2531
Some result tests can be found [here](./report_1725036621.259672.html). You can preview them [here](https://doublebyte1.github.io/locust/report_1725036621.259672.html).

docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '3'
21

32
services:
43
master:

locustfile.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
from locust import HttpUser, task
22

3-
wfs = 'https://www.mapsforeurope.org/maps/wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&typename=ome:egm_wfs_coastl&token=$OEMAPS'
3+
#wfs = 'https://www.mapsforeurope.org/maps/wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&typename=ome:egm_wfs_coastl&token=$OEMAPS'
44

5-
oaf = 'https://emotional.byteroad.net/collections/hex350_grid_cardio_1920/items?limit=10000'
5+
crus_col = 'https://ogcapi.dgterritorio.gov.pt/collections/crus'
6+
crus_items = 'https://ogcapi.dgterritorio.gov.pt/collections/crus/items'
7+
crus_nl = 'https://ogcapi.dgterritorio.gov.pt/collections/crus/items?limit=10000'
8+
crus_tiles = 'https://ogcapi.dgterritorio.gov.pt/collections/crus/tiles'
69

7-
8-
class HelloWorldUser(HttpUser):
10+
class TestEndpoint(HttpUser):
911
@task
10-
def hello_world(self):
12+
def test(self):
1113
#self.client.get(wfs)
12-
self.client.get(oaf)
14+
self.client.get(crus_col)
Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

report_crus_items.html

Lines changed: 248 additions & 0 deletions
Large diffs are not rendered by default.

report_crus_tiles.html

Lines changed: 249 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)