Last active
May 7, 2019 02:25
-
-
Save barbaromatrix/75e67a2b8d795925215312781338ab0d to your computer and use it in GitHub Desktop.
Config of artillery scenario
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
config: | |
target: "https://you.target.api" | |
payload: | |
path: "../a_random_imported_file" | |
fields: | |
- "userId" | |
order: random | |
delimiter: "," | |
cast: false | |
tls: | |
rejectUnauthorized: false | |
environments: | |
local: | |
target: "http://127.0.0.1:8001" | |
development: | |
target: "http://dev.target.api" | |
pre-production: | |
target: "https://preprod.target.api" | |
phases: | |
- duration: 10 | |
arrivalRate: 30 | |
name: "Starting application" | |
- duration: 10 | |
arrivalRate: 30 | |
name: "Sustained medium load" | |
- duration: 10 | |
arrivalRate: 60 | |
name: "Sustained almost max load" | |
- duration: 10 | |
arrivalCount: 120 | |
name: "Max load application" | |
- duration: 10 | |
arrivalCount: 20 | |
name: "Slow down application" | |
processor: '../functions.js' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment