30 lines
575 B
YAML
30 lines
575 B
YAML
target:
|
|
url: "https://httpbin.org/post"
|
|
method: "POST"
|
|
headers:
|
|
Content-Type: "application/json"
|
|
User-Agent: "Stroke/1.0 LoadTester"
|
|
body: |
|
|
{
|
|
"username": "testuser",
|
|
"email": "test@example.com",
|
|
"role": "user",
|
|
"timestamp": "2025-09-12T12:00:00Z"
|
|
}
|
|
timeout: 30
|
|
|
|
load:
|
|
requests: 500
|
|
concurrency: 25
|
|
duration: "3m"
|
|
pattern: "ramp"
|
|
ramp_up: "30s"
|
|
|
|
rate_limiting:
|
|
enabled: true
|
|
requests_per_second: 50
|
|
|
|
reporting:
|
|
format: ["console", "html", "json"]
|
|
output_dir: "./test-results"
|
|
percentiles: [50, 90, 95, 99] |