Created
April 13, 2019 04:46
-
-
Save hluu5/1ecfcd7c3c470497a27ad66f98254b9f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config: | |
target: "http://localhost:3001" | |
phases: | |
- duration: 1 | |
arrivalRate: 1000 | |
scenarios: | |
- name: "Test houses and prices api" | |
flow: | |
# - post: | |
# url: "/search" | |
# body: "kw={{ keywords }}" | |
# capture: | |
# json: "$.results[0].id" | |
# as: "id" | |
- get: | |
url: "/houses/{{$randomNumber(0,9999999)}}" | |
- get: | |
url: "/prices/{{$randomNumber(0,9999999)}}" | |
# - think: 3 | |
# - post: | |
# url: "/cart" | |
# json: | |
# productId: "{{ id }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started phase 0, duration: 1s @ 21:46:22(-0700) 2019-04-12 | |
Report @ 21:46:27(-0700) 2019-04-12 | |
Elapsed time: 5 seconds | |
Scenarios launched: 1000 | |
Scenarios completed: 1000 | |
Requests completed: 2000 | |
RPS sent: 414.94 | |
Request latency: | |
min: 5 | |
max: 423.2 | |
median: 58.9 | |
p95: 371.3 | |
p99: 406 | |
Codes: | |
200: 2000 | |
All virtual users finished | |
Summary report @ 21:46:27(-0700) 2019-04-12 | |
Scenarios launched: 1000 | |
Scenarios completed: 1000 | |
Requests completed: 2000 | |
RPS sent: 413.22 | |
Request latency: | |
min: 5 | |
max: 423.2 | |
median: 58.9 | |
p95: 371.3 | |
p99: 406 | |
Scenario counts: | |
Test houses and prices api: 1000 (100%) | |
Codes: | |
200: 2000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment