Skip to content

Commit c87d363

Browse files
committed
Add mix load test
1 parent 0413706 commit c87d363

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

e2e/artillery/configs/mix.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
config:
2+
target: "dummy"
3+
phases:
4+
# Over 60s, ramp up to creating 50 vusers per second
5+
- duration: 60
6+
arrivalRate: 5
7+
rampTo: 75
8+
name: "Ramp Up"
9+
# Over 300s, create 50 vusers per second
10+
- duration: 300
11+
arrivalRate: 75
12+
name: "Sustained Encrypt & Decrypt"
13+
# Over 60s, ramp down to creating 5 vusers per second
14+
- duration: 60
15+
arrivalRate: 20
16+
name: "Ramp Down"
17+
processor: "../src/processors/multi-endpoints.ts"
18+
19+
scenarios:
20+
- name: "PKP Sign Stress Test"
21+
weight: 50
22+
flow:
23+
- function: "runPkpSignTest"
24+
- think: 0.1
25+
- name: "Encrypt & Decrypt Stress Test"
26+
weight: 25
27+
flow:
28+
- function: "runEncryptDecryptTest"
29+
- think: 0.1
30+
- name: "Execute JS Stress Test"
31+
weight: 25
32+
flow:
33+
- function: "runExecuteJSTest"
34+
- think: 0.1

0 commit comments

Comments
 (0)