Skip to content

Commit fc17794

Browse files
VIA-373 AJ Add instructions to analyse perf results
1 parent 5c41c7f commit fc17794

File tree

2 files changed

+21
-1
lines changed
  • infrastructure/environments/test/load-generator
  • scripts/config/vale/styles/config/vocabularies/words

2 files changed

+21
-1
lines changed

infrastructure/environments/test/load-generator/readme.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,23 @@ Number of concurrent users = (Number of tasks) x (Number of threads/task)
6464
- `THREADS`: the number of concurrent threads to use, <based on above formula>
6565
- `ENVIRONMENT`: the subdomain that represents the environment to run the test on, e.g. `test`
6666
- `S3_BUCKET`: the bucket name to use for test inputs and outputs
67-
- `TEST_PLAN`: the *.jmx file name to use as the jmeter test plan
67+
- `TEST_PLAN`: the *.jmx file name to use as the JMeter test plan
68+
69+
## Analysing the results
70+
71+
Download the *.jtl files locally, as they might be big and many and use the following script (change the sample values).
72+
73+
```shell
74+
# download the logs locally
75+
AWS_PROFILE=vita-test aws s3 sync s3://gh-vita-741448960880-load-testing/results/2025/10/02/ .
76+
77+
# take header from one of the logs and merge all logs into one file
78+
head -n 1 16_34_59_655_29833.jtl > combined.jtl
79+
for file in *.jtl; do
80+
tail -n +2 "$file" >> combined.jtl
81+
done
82+
83+
# generate an HTML report
84+
jmeter -g combined.jtl -o report
85+
open report/index.html
86+
```

scripts/config/vale/styles/config/vocabularies/words/accept.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ buildx
3535
[Nn]ginx
3636
vegeta
3737
jq
38+
JMeter

0 commit comments

Comments
 (0)