Skip to content

Commit

Permalink
Fix Values to match Images (#20)
Browse files Browse the repository at this point in the history
There were some issues in the documentation where the config description didn't match, believe it should be corrected with these changes?
  • Loading branch information
bt-dd authored May 4, 2020
1 parent ead5118 commit 9795d8c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ import {check, group, sleep} from 'k6';

export let options = {
stages: [
{ duration: "5m", target: 1000 }, // simulate ramp-up of traffic from 1 to 100 users over 5 minutes.
{ duration: "10m", target: 1000 }, // stay at 50 users for 5 minutes
{ duration: "5m", target: 100 }, // simulate ramp-up of traffic from 1 to 100 users over 5 minutes.
{ duration: "10m", target: 100 }, // stay at 100 users for 10 minutes
{ duration: "5m", target: 0 }, // ramp-down to 0 users
],
thresholds: {
Expand Down Expand Up @@ -105,8 +105,8 @@ Make sure you don't go over your normal number of VUs - that's not load testing,
```javascript
export let options = {
stages: [
{ duration: "5m", target: 60 }, // simulate ramp-up of traffic from 1 to 100 users over 5 minutes.
{ duration: "10m", target: 60 }, // stay at 100 users for 10 minutes
{ duration: "5m", target: 60 }, // simulate ramp-up of traffic from 1 to 60 users over 5 minutes.
{ duration: "10m", target: 60 }, // stay at 60 users for 10 minutes
{ duration: "3m", target: 100 }, // ramp-up to 100 users over 3 minutes (peak hour starts)
{ duration: "2m", target: 100 }, // stay at 100 users for short amount of time (peak hour)
{ duration: "3m", target: 60 }, // ramp-down to 60 users over 3 minutes (peak hour ends)
Expand Down

0 comments on commit 9795d8c

Please sign in to comment.