Skip to content

Commit f0af2cd

Browse files
committed
refactor(artillery): adjust PKP sign test configuration for stress testing
1 parent 13e69ba commit f0af2cd

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

e2e/artillery/configs/pkp-sign.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
config:
22
target: "dummy"
33
phases:
4+
# Over 60s, ramp up to creating 50 vusers per second
45
- duration: 60
56
arrivalRate: 5
6-
maxVusers: 20
7+
# rampTo: 50
8+
rampTo: 10
79
name: "Ramp Up"
10+
# Over 300s, create 50 vusers per second
811
- duration: 300
9-
arrivalRate: 15
10-
maxVusers: 50
12+
# arrivalRate: 50
13+
arrivalRate: 10
1114
name: "Sustained PKP Signing"
15+
# Over 60s, ramp down to creating 5 vusers per second
1216
- duration: 60
1317
arrivalRate: 5
14-
maxVusers: 20
1518
name: "Ramp Down"
1619
processor: "../src/processors/pkpSign.ts"
17-
environments:
18-
production:
19-
target: "dummy"
2020

2121
scenarios:
22-
- name: "PKP Sign Load Test"
22+
- name: "PKP Sign Stress Test"
2323
weight: 100
2424
flow:
2525
- function: "runPkpSignTest"
26-
- think: 2
26+
- think: 0.1

0 commit comments

Comments
 (0)