httpchaos_delay
Inject HTTP delay on a specified path and port to simulate latency between services and test application resilience. Target either request or response phase.
Instructions
按 HTTP 路径和端口注入延迟(精准影响指定接口);如果只需要服务与服务之间的整体网络延迟,请使用 network_delay。
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": {
"namespace": "<namespace>",
"app": "<app>",
"path": "<path>"
},
"name": "httpchaos_delay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| app | Yes | ||
| path | Yes | ||
| port | No | ||
| target | No | Response | |
| delay | No | 200ms | |
| duration | No | 60s |