Skip to content

Instantly share code, notes, and snippets.

@barbaromatrix
Created May 13, 2019 17:53
Show Gist options
  • Save barbaromatrix/d4ffc793ddd1b1a3b6b3b400ad16dbc0 to your computer and use it in GitHub Desktop.
Save barbaromatrix/d4ffc793ddd1b1a3b6b3b400ad16dbc0 to your computer and use it in GitHub Desktop.
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