@@ -7,10 +7,12 @@ const baseUrl = __ENV.OPERATOR_URL;
77const clientSecret = __ENV . CLIENT_SECRET ;
88const clientKey = __ENV . CLIENT_KEY ;
99
10- const generateRPS = 500000 ;
10+ const generateRPS = 450000 ;
1111const refreshRPS = 25000 ;
1212const identityMapRPS = 1500 ;
13- const testDuration = '15m'
13+
14+ const warmUpTime = '10m'
15+ const testDuration = '30m'
1416
1517export const options = {
1618 insecureSkipTLSVerify : true ,
@@ -21,10 +23,10 @@ export const options = {
2123 executor : 'ramping-arrival-rate' ,
2224 exec : 'tokenGenerate' ,
2325 timeUnit : '1s' ,
24- preAllocatedVUs : 500 ,
25- maxVUs : 1000 ,
26+ preAllocatedVUs : 1500 ,
27+ maxVUs : 2000 ,
2628 stages : [
27- { duration : '30s' , target : generateRPS }
29+ { duration : warmUpTime , target : generateRPS }
2830 ] ,
2931 } ,
3032 tokenRefreshWarmup : {
@@ -34,7 +36,7 @@ export const options = {
3436 preAllocatedVUs : 200 ,
3537 maxVUs : 400 ,
3638 stages : [
37- { duration : '30s' , target : refreshRPS }
39+ { duration : warmUpTime , target : refreshRPS }
3840 ] ,
3941 } ,
4042 identityMapWarmup : {
@@ -44,14 +46,14 @@ export const options = {
4446 preAllocatedVUs : 75 ,
4547 maxVUs : 150 ,
4648 stages : [
47- { duration : '30s' , target : identityMapRPS }
49+ { duration : warmUpTime , target : identityMapRPS }
4850 ] ,
4951 } , /*
5052 keySharingWarmup: {
5153 executor: 'ramping-vus',
5254 exec: 'keySharing',
5355 stages: [
54- { duration: '30s' , target: keySharingVUs}
56+ { duration: warmUpTime , target: keySharingVUs}
5557 ],
5658 gracefulRampDown: '0s',
5759 },*/
@@ -61,11 +63,11 @@ export const options = {
6163 exec : 'tokenGenerate' ,
6264 rate : generateRPS ,
6365 timeUnit : '1s' ,
64- preAllocatedVUs : 500 ,
65- maxVUs : 1000 ,
66+ preAllocatedVUs : 1500 ,
67+ maxVUs : 2000 ,
6668 duration : testDuration ,
6769 gracefulStop : '0s' ,
68- startTime : '30s' ,
70+ startTime : warmUpTime ,
6971 } ,
7072 tokenRefresh : {
7173 executor : 'constant-arrival-rate' ,
@@ -76,7 +78,7 @@ export const options = {
7678 maxVUs : 400 ,
7779 duration : testDuration ,
7880 gracefulStop : '0s' ,
79- startTime : '30s' ,
81+ startTime : warmUpTime ,
8082 } ,
8183 identityMap : {
8284 executor : 'constant-arrival-rate' ,
@@ -87,7 +89,7 @@ export const options = {
8789 maxVUs : 150 ,
8890 duration : testDuration ,
8991 gracefulStop : '0s' ,
90- startTime : '30s' ,
92+ startTime : warmUpTime ,
9193 } , /*
9294 keySharing:{
9395 executor: 'constant-vus',
0 commit comments