25 lines
565 B
YAML
25 lines
565 B
YAML
config:
|
|
target: "http://localhost:8080"
|
|
phases:
|
|
- duration: 50
|
|
arrivalRate: 20
|
|
name: "Ramp to ~1000 concurrent users" # 20 * 50 = 1000 users created
|
|
- pause: 120
|
|
maxVusers: 1000
|
|
http:
|
|
timeout: 30
|
|
|
|
scenarios:
|
|
- name: "Fetch University References"
|
|
flow:
|
|
- loop:
|
|
- get:
|
|
url: "/v1/references/univ"
|
|
headers:
|
|
Accept-Encoding: identity
|
|
capture:
|
|
- json: "$[0].code"
|
|
as: "first_univ_code"
|
|
- think: 2
|
|
count: 60
|