Skip to content

Commit 8d0ae48

Browse files
committed
update script
1 parent c7aa4af commit 8d0ae48

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

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

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,20 @@ import encoding from 'k6/encoding';
44
import { check } from 'k6';
55
import http from 'k6/http';
66

7-
const vus = 10;
8-
const baseUrl = "http://uid2-test-common-use2-alb-837569257.us-east-2.elb.amazonaws.com";
9-
const clientSecret = "gXQbQ460HNwOHOauI2R+g2gHG3GV6pQXHwTWHVewwlU=";
10-
const clientKey = "INTEG5ov7nyfPo/oNvG5WnLNTS8zPjxoYVOLzKgBLV0WGv6E=";
11-
12-
const generateVUs = vus;
13-
const refreshVUs = vus;
14-
const identityMapVUs = vus;
15-
const keySharingVUs = vus;
16-
const testDuration = '10m'
7+
const vus = 2000;
8+
//const baseUrl = "https://uid2-prod-opr-use2-alb-1657081774.us-east-2.elb.amazonaws.com";
9+
//const baseUrl = "https://prod.uidapi.com";
10+
const baseUrl = "https://integ.euid.eu";
11+
const clientSecret = "6yIbpnNL+gJIUwVd0mnLg0n/vEYQTTO82mErmrxxdxI=";
12+
const clientKey = "EUINTEGWZ31XmmpJYjf9oNQFkKvKoVNPZC1JkkhWTA0uiT/QxM=";
13+
//const clientSecret = "oCaAu7MufeS72JT2zsqZUmB9RG7NQJkhMtcia5FmwFE=";
14+
//const clientKey = "UID2-C-P-285-RRUlmC.bg7SG5hXhjxa3eZkslU1k2tHk+Y2ncJu+zwS0=";
15+
16+
const generateVUs = 30;
17+
const refreshVUs = 50;
18+
const identityMapVUs = 10;
19+
const keySharingVUs = 5;
20+
const testDuration = '6h'
1721

1822
//30 warm up on each
1923
// 5 min each
@@ -89,7 +93,7 @@ export const options = {
8993
duration: testDuration,
9094
gracefulStop: '0s',
9195
startTime: '30s',
92-
}/*,
96+
},
9397
identityMapLargeBatchSequential: {
9498
executor: 'constant-vus',
9599
exec: 'identityMapLargeBatch',
@@ -113,7 +117,7 @@ export const options = {
113117
duration: '300s',
114118
gracefulStop: '0s',
115119
startTime: '1590s',
116-
},*/
120+
},
117121
},
118122
// So we get count in the summary, to demonstrate different metrics are different
119123
summaryTrendStats: ['avg', 'min', 'med', 'max', 'p(90)', 'p(95)', 'p(99)', 'count'],

0 commit comments

Comments
 (0)