Skip to content

Commit

Permalink
Merge pull request #28 from pagopa/pdv-pre-upgrade-test
Browse files Browse the repository at this point in the history
update test parameter values
  • Loading branch information
BenitoVisone authored Oct 4, 2023
2 parents 8a4af1d + f047118 commit ae52b2e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/09-get-user-ramping-and-constant-scenario.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const options = {
executor: 'ramping-arrival-rate',

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

// Start `startRate` iterations per seconds
timeUnit: '1s',
Expand All @@ -22,13 +22,13 @@ export const options = {

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

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

// // Continue starting 300 iterations per `timeUnit` for the following two minutes.
{ target: 300, duration: '4m' }
{ target: 100, duration: '4m' }
],
},
constant: {
Expand All @@ -38,7 +38,7 @@ export const options = {
duration: '5m',

// test rate
rate: 300,
rate: 100,

// It should start `rate` iterations per second
timeUnit: '1s',
Expand All @@ -57,7 +57,7 @@ export const options = {
executor: 'ramping-arrival-rate',

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

// Start `startRate` iterations per seconds
timeUnit: '1s',
Expand All @@ -72,13 +72,13 @@ export const options = {

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

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

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

0 comments on commit ae52b2e

Please sign in to comment.