You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: infrastructure/environments/test/load-generator/readme.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,27 @@
1
1
# Load generator for performance testing
2
2
3
+
## Running load generator locally
4
+
5
+
Install jmeter and jq: `brew install jmeter jq`
6
+
7
+
```shell
8
+
cd performance
9
+
10
+
# Run jmeter load test with defaults
11
+
./run-vita-load-test.sh
12
+
13
+
# Analyse results
14
+
# Take header from one of the logs and merge all logs into one file
15
+
head -n 1 $(ls *.jtl | head -n 1)> performance.logs
16
+
forfilein*.jtl;do
17
+
tail -n +2 "$file">> performance.logs
18
+
done
19
+
20
+
# Generate an HTML report
21
+
jmeter -g performance.logs -o report
22
+
open report/index.html
23
+
```
24
+
3
25
## Deploying to Test environment
4
26
5
27
You'll need to have installed [docker](https://www.docker.com/) and the [AWS CLI tools](https://aws.amazon.com/cli/): `brew install docker colima awscli` if necessary.
0 commit comments