f61b5bf221
Add missing sla section and proper check This work is originally porposed by Roman[1] [1] https://review.openstack.org/#/c/348395/3 Change-Id: I4507aa82080b41cac4b87aa810865da9ffe015e6 Closes-bug: #1554857
23 lines
594 B
JSON
23 lines
594 B
JSON
{
|
|
"HttpRequests.check_random_request": [
|
|
{
|
|
"args": {
|
|
"requests": [{"url": "http://www.example.com", "method": "GET",
|
|
"status_code": 200},
|
|
{"url": "http://www.openstack.org", "method": "GET"}],
|
|
"status_code": 200
|
|
},
|
|
"runner": {
|
|
"type": "constant",
|
|
"times": 20,
|
|
"concurrency": 5
|
|
},
|
|
"sla": {
|
|
"failure_rate": {
|
|
"max": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|