Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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