Skip to content

Commit

Permalink
Merge pull request #31 from pagopa/pdv-pre-upgrade-test
Browse files Browse the repository at this point in the history
edit test parameter
  • Loading branch information
BenitoVisone authored Nov 13, 2023
2 parents fb839ba + 2d7c31c commit c3f3aba
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/10-get-token-ramping-and-constant-scenario.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,23 @@ export const options = {
{ target: 70, duration: '1m' },

// // Continue starting 300 iterations per `timeUnit` for the following two minutes.
{ target: 150, duration: '2m' }
{ target: 200, duration: '2m' }
],
},
constant: {
executor: 'constant-arrival-rate',

// test duration
duration: '2m',
duration: '4m',

// test rate
rate: 150,
rate: 200,

// It should start `rate` iterations per second
timeUnit: '1s',

// pre-allocate vu
preAllocatedVUs: 150,
preAllocatedVUs: 200,

// max allowed vu
maxVUs: 300,
Expand All @@ -57,22 +57,22 @@ export const options = {
executor: 'ramping-arrival-rate',

// Start iterations per `timeUnit`
startRate: 150,
startRate: 200,

// Start `startRate` iterations per seconds
timeUnit: '1s',

// Pre-allocate necessary VUs.
preAllocatedVUs: 150,
preAllocatedVUs: 200,

// max allowed vu
maxVUs: 300,

startTime: '6m',
startTime: '8m',

stages: [
// Start 300 iterations per `timeUnit` for four minutes.
{ target: 150, duration: '1m' },
{ target: 200, duration: '1m' },

// Linearly ramp-down to starting 100 iterations per `timeUnit` over the following two minutes.
{ target: 70, duration: '1m' },
Expand Down

0 comments on commit c3f3aba

Please sign in to comment.