Add SLA to Rally test cases
[functest-xtesting.git] / testcases / VIM / OpenStack / CI / suites / opnfv-requests.json
1 {
2     "HttpRequests.check_random_request": [
3         {
4             "args": {
5                 "requests": [{"url": "http://www.example.com", "method": "GET",
6                     "status_code": 200},
7                     {"url": "http://www.openstack.org", "method": "GET"}],
8                 "status_code": 200
9             },
10             "runner": {
11                 "type": "constant",
12                 "times": 20,
13                 "concurrency": 5
14             },
15             "sla": {
16                 "failure_rate": {"max": 0}
17             }
18         }
19     ],
20     "HttpRequests.check_request": [
21         {
22             "args": {
23                 "url": "http://www.example.com",
24                 "method": "GET",
25                 "status_code": 200,
26                 "allow_redirects": false
27             },
28             "runner": {
29                 "type": "constant",
30                 "times": 20,
31                 "concurrency": 5
32             },
33             "sla": {
34                 "failure_rate": {"max": 0}
35             }
36         }
37     ]
38 }