46 lines
1.4 KiB
JSON
46 lines
1.4 KiB
JSON
|
{
|
||
|
"title": "Testing latency",
|
||
|
"description": "Testing latency!",
|
||
|
"tags": [],
|
||
|
"steady-state-hypothesis": {
|
||
|
"title": "Hypothesis",
|
||
|
"probes": []
|
||
|
},
|
||
|
"method": [
|
||
|
{
|
||
|
"name": "enable_chaosmonkey",
|
||
|
"provider": {
|
||
|
"arguments": {
|
||
|
"base_url": "http://localhost:8085/actuator"
|
||
|
},
|
||
|
"func": "enable_chaosmonkey",
|
||
|
"module": "chaosspring.actions",
|
||
|
"type": "python"
|
||
|
},
|
||
|
"type": "action"
|
||
|
},
|
||
|
{
|
||
|
"name": "configure_assaults",
|
||
|
"provider": {
|
||
|
"arguments": {
|
||
|
"base_url": "http://localhost:8085/actuator",
|
||
|
"assaults_configuration": {
|
||
|
"level": 5,
|
||
|
"latencyRangeStart": 2000,
|
||
|
"latencyRangeEnd": 15000,
|
||
|
"latencyActive": true,
|
||
|
"exceptionsActive": false,
|
||
|
"killApplicationActive": false,
|
||
|
"restartApplicationActive": false
|
||
|
}
|
||
|
},
|
||
|
"func": "change_assaults_configuration",
|
||
|
"module": "chaosspring.actions",
|
||
|
"type": "python"
|
||
|
},
|
||
|
"type": "action"
|
||
|
}
|
||
|
],
|
||
|
"rollbacks": []
|
||
|
}
|