666
This commit is contained in:
@@ -12,19 +12,12 @@ export const options = {
|
||||
scenarios: {
|
||||
stress: {
|
||||
executor: 'ramping-arrival-rate',
|
||||
startRate: 50,
|
||||
startRate: 50000,
|
||||
timeUnit: '1s',
|
||||
preAllocatedVUs: 800,
|
||||
maxVUs: 1200,
|
||||
preAllocatedVUs: '3000',
|
||||
maxVUs: 10000,
|
||||
stages: [
|
||||
{ duration: '10s', target: 200 },
|
||||
{ duration: '15s', target: 500 },
|
||||
{ duration: '15s', target: 1000 },
|
||||
{ duration: '15s', target: 2000 },
|
||||
{ duration: '15s', target: 3000 },
|
||||
{ duration: '15s', target: 5000 },
|
||||
{ duration: '10s', target: 5000 },
|
||||
{ duration: '10s', target: 0 },
|
||||
{ duration: '60s', target: 50000 },
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
@@ -12,15 +12,12 @@ export const options = {
|
||||
scenarios: {
|
||||
stress: {
|
||||
executor: 'ramping-arrival-rate',
|
||||
startRate: 1000,
|
||||
startRate: 10000,
|
||||
timeUnit: '1s',
|
||||
preAllocatedVUs: 1000,
|
||||
maxVUs: 2000,
|
||||
preAllocatedVUs: 2000,
|
||||
maxVUs: 5000,
|
||||
stages: [
|
||||
{ duration: '20s', target: 5000 }, // 快速进入状态
|
||||
{ duration: '30s', target: 15000 }, // 冲击 1.5w QPS
|
||||
{ duration: '20s', target: 20000 }, // 冲击 2w QPS
|
||||
{ duration: '10s', target: 0 },
|
||||
{ duration: '60s', target: 20000 }, // 冲击 2w QPS
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user