Skip to content

Commit bcdf77d

Browse files
author
Samin Rahman
committed
Updated high DII stress tests script
1 parent ad9fc7d commit bcdf77d

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

performance-testing/uid2-operator/k6-test-resource.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: TestRun
33
metadata:
44
name: k6-uid2-load-test
55
spec:
6-
parallelism: 10 # original 4
6+
parallelism: 20 # original 4
77
arguments: --out experimental-prometheus-rw --tag "testid=replacecomment"
88
script:
99
configMap:

performance-testing/uid2-operator/k6-token-generate-refresh-identitymap-scenario-4.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ const clientKey = __ENV.CLIENT_KEY;
99

1010
const generateRPS = 50000;
1111
const refreshRPS = 50000;
12-
const identityMapRPS = 6000;
12+
const identityMapRPS = 8000;
1313

14-
const warmUpTime = '10m'
14+
const warmUpTime = '20m'
1515
const testDuration = '20m'
1616

1717
export const options = {
@@ -24,7 +24,7 @@ export const options = {
2424
exec: 'tokenGenerate',
2525
timeUnit: '1s',
2626
preAllocatedVUs: 200,
27-
maxVUs: 400,
27+
maxVUs: 500,
2828
stages: [
2929
{ duration: warmUpTime, target: generateRPS}
3030
],
@@ -34,7 +34,7 @@ export const options = {
3434
exec: 'tokenRefresh',
3535
timeUnit: '1s',
3636
preAllocatedVUs: 200,
37-
maxVUs: 400,
37+
maxVUs: 500,
3838
stages: [
3939
{ duration: warmUpTime, target: refreshRPS}
4040
],
@@ -43,8 +43,8 @@ export const options = {
4343
executor: 'ramping-arrival-rate',
4444
exec: 'identityMap',
4545
timeUnit: '1s',
46-
preAllocatedVUs: 2500,
47-
maxVUs: 5000,
46+
preAllocatedVUs: 3000,
47+
maxVUs: 8000,
4848
stages: [
4949
{ duration: warmUpTime, target: identityMapRPS}
5050
],
@@ -64,7 +64,7 @@ export const options = {
6464
rate: generateRPS,
6565
timeUnit: '1s',
6666
preAllocatedVUs: 200,
67-
maxVUs: 400,
67+
maxVUs: 500,
6868
duration: testDuration,
6969
gracefulStop: '0s',
7070
startTime: warmUpTime,
@@ -75,7 +75,7 @@ export const options = {
7575
rate: refreshRPS,
7676
timeUnit: '1s',
7777
preAllocatedVUs: 200,
78-
maxVUs: 400,
78+
maxVUs: 500,
7979
duration: testDuration,
8080
gracefulStop: '0s',
8181
startTime: warmUpTime,
@@ -85,8 +85,8 @@ export const options = {
8585
exec: 'identityMap',
8686
rate: identityMapRPS,
8787
timeUnit: '1s',
88-
preAllocatedVUs: 2500,
89-
maxVUs: 5000,
88+
preAllocatedVUs: 3000,
89+
maxVUs: 8000,
9090
duration: testDuration,
9191
gracefulStop: '0s',
9292
startTime: warmUpTime,

0 commit comments

Comments
 (0)