1
This commit is contained in:
30
examples/authenticated-post.yaml
Normal file
30
examples/authenticated-post.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
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]
|
Reference in New Issue
Block a user