Skip to content

Commit

Permalink
Merge pull request #35 from pagopa/load-tests-tokenizer-on-demand
Browse files Browse the repository at this point in the history
edit user registry configuration
  • Loading branch information
BenitoVisone authored Dec 20, 2023
2 parents 0f14823 + 7edc14a commit e63ba5a
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions src/09-get-user-ramping-and-constant-scenario.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,76 +9,76 @@ export const options = {
executor: 'ramping-arrival-rate',

// Start iterations per `timeUnit`
startRate: 20,
startRate: 100,

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

// Pre-allocate necessary VUs.
preAllocatedVUs: 300,
preAllocatedVUs: 600,

// max allowed vu
maxVUs: 600,
maxVUs: 1200,

stages: [
// Start 50 iterations per `timeUnit` for the first minute.
{ target: 20, duration: '2m' },
{ target: 100, duration: '1m' },

// // Linearly ramp-up to starting 100 iterations per `timeUnit` over the following two minutes.
{ target: 50, duration: '3m' },
{ target: 200, duration: '2m' },

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

// test duration
duration: '5m',
duration: '3m',

// test rate
rate: 100,
rate: 600,

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

// pre-allocate vu
preAllocatedVUs: 300,
preAllocatedVUs: 600,

// max allowed vu
maxVUs: 600,
maxVUs: 1200,

// start time calculated on ramping scenarios termination time
startTime: '9m',
startTime: '5m',

},
ramping_down: {
executor: 'ramping-arrival-rate',

// Start iterations per `timeUnit`
startRate: 100,
startRate: 600,

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

// Pre-allocate necessary VUs.
preAllocatedVUs: 300,
preAllocatedVUs: 600,

// max allowed vu
maxVUs: 600,
maxVUs: 1200,

startTime: '14m',
startTime: '8m',

stages: [
// Start 300 iterations per `timeUnit` for four minutes.
{ target: 100, duration: '4m' },
{ target: 600, duration: '2m' },

// Linearly ramp-down to starting 100 iterations per `timeUnit` over the following two minutes.
{ target: 50, duration: '3m' },
{ target: 200, duration: '2m' },

// Continue starting 50 iterations per `timeUnit` for the following minute.
{ target: 20, duration: '2m' }
{ target: 100, duration: '1m' }
],
},
},
Expand Down

0 comments on commit e63ba5a

Please sign in to comment.