Skip to content

Commit 07836c6

Browse files
author
Piotr Stachyra
committed
add readme
1 parent 4ef3698 commit 07836c6

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

test/load/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Load tests
2+
3+
The document describes how to run load tests against https://metadata.cardano-testnet.iohkdev.io/.
4+
It is recommended to perform a load run before every release to gather results and make sure there is no performance deterioration or any unexpected behavior.
5+
6+
Performance tests are completed with locust.io, written in Python, and performed from a test engineers home computer. The users are ramped up at a rate of 10 per second until they hit the target Total Users. This is maintained for several minutes and results are then aggregated from across the entire run.
7+
8+
## To run the test
9+
10+
1. Start locust docker
11+
```
12+
$ cd test/load
13+
$ make
14+
```
15+
16+
2. Visit http://0.0.0.0:8089/ and run test from there.
17+
18+
## Pre-relese test
19+
20+
Total Users = 1000
21+
Ramp up rate = 10
22+
23+
Execution time = 10 minutes from the point where all users ramp up.
24+
25+
Store results in https://github.com/input-output-hk/offchain-metadata-tools/wiki/Load-Tests-Results

0 commit comments

Comments
 (0)