Skip to content

Commit 36f2fa6

Browse files
committed
Use Prod url
1 parent a749e1c commit 36f2fa6

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@ import { check } from 'k6';
55
import http from 'k6/http';
66

77
const vus = 500;
8-
const baseUrl = "http://uid2-integ-opr-use2-alb-1278341514.us-east-2.elb.amazonaws.com";
8+
const baseUrl = "http://uid2-prod-opr-use2-alb-698161474.us-east-2.elb.amazonaws.com";
9+
const clientSecret = "";
10+
const clientKey = "";
911

1012
const generateVUs = vus;
1113
const refreshVUs = vus;
1214
const identityMapVUs = vus;
13-
const testDuration = '20m'
14-
15-
const clientSecret = "";
16-
const clientKey = "";
15+
const testDuration = '5m'
1716

1817
//30 warm up on each
1918
// 5 min each

performance-testing/uid2-operator/k6-token-generate.js

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

7-
const vus = 500;
8-
const baseUrl = "http://uid2-integ-opr-use2-alb-1278341514.us-east-2.elb.amazonaws.com";
7+
const vus = 50;
8+
const baseUrl = "http://uid2-prod-opr-use2-alb-698161474.us-east-2.elb.amazonaws.com";
9+
const clientSecret = "";
10+
const clientKey = "";
911

1012
const generateVUs = vus;
1113
const refreshVUs = vus;
1214
const identityMapVUs = vus;
13-
const testDuration = '20m'
14-
15-
const clientSecret = "";
16-
const clientKey = "";
15+
const testDuration = '5m'
1716

1817
//30 warm up on each
1918
// 5 min each
@@ -32,7 +31,7 @@ export const options = {
3231
{ duration: '30s', target: generateVUs}
3332
],
3433
gracefulRampDown: '0s',
35-
},
34+
},/*
3635
tokenRefreshWarmup: {
3736
executor: 'ramping-vus',
3837
exec: 'tokenRefresh',
@@ -48,7 +47,7 @@ export const options = {
4847
{ duration: '30s', target: identityMapVUs}
4948
],
5049
gracefulRampDown: '0s',
51-
},
50+
},*/
5251
// Actual testing scenarios
5352
tokenGenerate: {
5453
executor: 'constant-vus',
@@ -57,7 +56,7 @@ export const options = {
5756
duration: testDuration,
5857
gracefulStop: '0s',
5958
startTime: '30s',
60-
},
59+
}/*,
6160
tokenRefresh: {
6261
executor: 'constant-vus',
6362
exec: 'tokenRefresh',
@@ -73,7 +72,7 @@ export const options = {
7372
duration: testDuration,
7473
gracefulStop: '0s',
7574
startTime: '30s',
76-
}/*,
75+
},
7776
identityMapLargeBatchSequential: {
7877
executor: 'constant-vus',
7978
exec: 'identityMapLargeBatch',

0 commit comments

Comments
 (0)