ToxiProxy
delete_proxy
Removes the proxy from the system
Generate as downstream delayed TCP close with a toxicity of 100%
Below are the details and signature of the activity Python module.
Type | action |
Module | chaostoxi.toxic.actions |
Name | create_timeout_toxic |
Return | mapping |
Usage
JSON
{
"name": "create-timeout-toxic",
"type": "action",
"provider": {
"type": "python",
"module": "chaostoxi.toxic.actions",
"func": "create_timeout_toxic",
"arguments": {
"for_proxy": "",
"toxic_name": "",
"timeout": 0
}
}
}
YAML
name: create-timeout-toxic
provider:
arguments:
for_proxy: ''
timeout: 0
toxic_name: ''
func: create_timeout_toxic
module: chaostoxi.toxic.actions
type: python
type: action
Arguments
Name | Type | Default | Required |
---|---|---|---|
for_proxy | string | Yes | |
toxic_name | string | Yes | |
timeout | integer | Yes |
Signature
def create_timeout_toxic(
for_proxy: str,
toxic_name: str,
timeout: int,
configuration: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
pass