Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@hluu5
Created April 13, 2019 04:48
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 hluu5/4a24c38ce5846b66fad3fcc93abef339 to your computer and use it in GitHub Desktop.
Save hluu5/4a24c38ce5846b66fad3fcc93abef339 to your computer and use it in GitHub Desktop.
Started phase 0, duration: 1s @ 19:26:08(-0700) 2019-04-11
Report @ 19:26:12(-0700) 2019-04-11
Elapsed time: 4 seconds
Scenarios launched: 1000
Scenarios completed: 1000
Requests completed: 2000
RPS sent: 439.56
Request latency:
min: 1.8
max: 41.6
median: 12.8
p95: 22.2
p99: 28.7
Codes:
200: 1000
301: 1000
All virtual users finished
Summary report @ 19:26:13(-0700) 2019-04-11
Scenarios launched: 1000
Scenarios completed: 1000
Requests completed: 2000
RPS sent: 437.64
Request latency:
min: 1.8
max: 41.6
median: 12.8
p95: 22.2
p99: 28.7
Scenario counts:
Test proxy api: 1000 (100%)
Codes:
200: 1000
301: 1000
config:
target: "http://localhost:3000"
phases:
- duration: 1
arrivalRate: 1000
scenarios:
- name: "Test proxy api"
flow:
# - post:
# url: "/search"
# body: "kw={{ keywords }}"
# capture:
# json: "$.results[0].id"
# as: "id"
- get:
url: "/{{$randomNumber(0,9999999)}}"
# - think: 3
# - post:
# url: "/cart"
# json:
# productId: "{{ id }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment