Skip to content

Instantly share code, notes, and snippets.

@joshuabradley012
Last active April 16, 2021 02:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshuabradley012/690e185589b668d83e74bfb4929770b0 to your computer and use it in GitHub Desktop.
Save joshuabradley012/690e185589b668d83e74bfb4929770b0 to your computer and use it in GitHub Desktop.
# Executed 1000 requests per second for 10 seconds using 1000000 different IDs
# Artillery config
config:
target: 'http://localhost:6002'
phases:
- duration: 10
arrivalRate: 1000
payload:
path: "ids.csv"
fields:
- "id"
scenarios:
- name: "Load nearby transit options"
flow:
- get:
url: "/api/getNearbyTransitOptions/{{ id }}"
#Results
All virtual users finished
Summary report @ 21:12:44(-0700) 2021-04-06
Scenarios launched: 10000
Scenarios completed: 8902
Requests completed: 8902
Mean response/sec: 129.3
Response time (msec):
min: 172.9
max: 42974.1
median: 2702.7
p95: 15552.5
p99: 24005.1
Scenario counts:
Load nearby transit options: 10000 (100%)
Codes:
200: 8407
500: 495
Errors:
ECONNRESET: 1096
EPIPE: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment