-
Notifications
You must be signed in to change notification settings - Fork 7
testing
YumengZheng edited this page Mar 26, 2018
·
1 revision
config: target: 'http://localhost:3004' phases: - duration: 20 arrivalRate: 10 processor: "./artillery-config.js" scenarios:
- name: "Register a user"
flow:
- function: "getRandomNum"
- get: url: '/api/listings/{{ id }}/q-and-a'
- log:'sent a reuqest {{ id }}'
---sample result---
Summary report @ 23:25:43(-0700) 2018-03-25 Scenarios launched: 12000 Scenarios completed: 12000 Requests completed: 12000 RPS sent: 198.15 Request latency: min: 1.9 max: 674.4 median: 6.7 p95: 103.7 p99: 425.2 Scenario counts: Register a user: 12000 (100%) Codes: 200: 12000