Skip to content

Commit

Permalink
Increase
Browse files Browse the repository at this point in the history
  • Loading branch information
ausias-armesto committed Jul 4, 2024
1 parent b62ea18 commit 83d5719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k6/src/k6/constant-traffic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ for (scenario in optionsData.scenarios) {
optionsData.scenarios[scenario].preAllocatedVUs = Math.floor(amountOfSenders * (Number(__ENV.SCENARIO_ITERATIONS) || optionsData.scenarios[scenario].stages[1].target) / 2)
scenariosLength++
} else {
optionsData.scenarios[scenario].vus = amountOfSenders * 5
optionsData.scenarios[scenario].vus = amountOfSenders * 5 // Increasing the probability of opening a websocket connection per sender
if (__ENV.SCENARIO_DURATION) {
let duration = __ENV.SCENARIO_DURATION;
let durationInSeconds = 70;
Expand Down

0 comments on commit 83d5719

Please sign in to comment.