Skip to content

Instantly share code, notes, and snippets.

@benmangold
Last active November 17, 2018 17:21
Show Gist options
  • Save benmangold/58fdbb7e92f5e1b04d6c3c36f69de4d5 to your computer and use it in GitHub Desktop.
Save benmangold/58fdbb7e92f5e1b04d6c3c36f69de4d5 to your computer and use it in GitHub Desktop.
Stress test with Artillery.js
150 Requests/Second
loadtest.yml
==============
# artillery run loadtest.yml
config:
target: 'http://127.0.0.1:3100'
http: 10
phases:
- duration: 60
arrivalRate: 150
defaults:
headers:
scenarios:
- flow:
- get:
url: "/"
sample results
==============
Report @ 11:33:07(-0500) 2018-11-17
Scenarios launched: 1502
Scenarios completed: 1502
Requests completed: 1502
RPS sent: 150.05
Request latency:
min: 0.8
max: 79.3
median: 1.1
p95: 3.5
p99: 35.2
Codes:
200: 1502
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment