Skip to content

Instantly share code, notes, and snippets.

@rebz135
Created October 5, 2018 21:46
Show Gist options
  • Select an option

  • Save rebz135/8aaa8914b12d1419a700be1908414544 to your computer and use it in GitHub Desktop.

Select an option

Save rebz135/8aaa8914b12d1419a700be1908414544 to your computer and use it in GitHub Desktop.
artillery yaml file
config:
target: 'http://localhost:3002'
phases:
- duration: 60
arrivalRate: 3000
# defaults:
# headers:
# x-my-service-auth: '987401838271002188298567'
scenarios:
- flow:
- get:
url: "/songs/100100"
------------------
SAMPLE OUTPUT
------------------
Report @ 14:46:35(-0700) 2018-10-05
Scenarios launched: 2455
Scenarios completed: 2455
Requests completed: 4910
RPS sent: 492.48
Request latency:
min: 1.8
max: 236.9
median: 8.9
p95: 15.7
p99: 227.5
Codes:
200: 2455
301: 2455
Warning: High CPU usage warning (pids: 52497).
See https://artillery.io/docs/faq/#high-cpu-warnings for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment