Created
October 24, 2021 09:05
-
-
Save agusrichard/898f21afaceb589a66c0a2dd9e6b5541 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const options = { | |
stages: [ | |
{ 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: { | |
'http_req_duration': ['p(99)<1500'], // 99% of requests must complete below 1.5s | |
'logged in successfully': ['p(99)<1500'], // 99% of requests must complete below 1.5s | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment