perf_generate_load_test
Generate load test scripts for your application endpoints. Specify the base URL, endpoints, and test scenarios to produce scripts for k6, Artillery, or autocannon.
Instructions
Generate a comprehensive load test script for your application endpoints
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"base_url": "<base_url>",
"endpoints": "<endpoints>"
},
"name": "perf_generate_load_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | Load testing tool to generate for | k6 |
| api_key | No | ||
| base_url | Yes | Base URL of the application | |
| endpoints | Yes | Endpoints to test | |
| scenarios | No | Test scenarios to include |