generate_k6_load_test
Generate k6 load test script with scenarios (constant/ramping VUs), thresholds, custom metrics, checks, HTTP/WebSocket/gRPC support, and HTML report
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": {
"testName": "<testName>",
"url": "<url>"
},
"name": "generate_k6_load_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| protocol | No | ||
| testName | Yes | ||
| protoPath | No | gRPC: .proto file to load (default: server reflection) | |
| scenarios | No | ||
| grpcMethod | No | gRPC: full method, e.g. orders.v1.OrderService/GetOrder (default: standard health check) | |
| thresholds | No | ||
| grpcRequest | No | gRPC: request message as JSON |