diff options
author | morganrOL <morgan.richomme@orange.com> | 2015-05-18 13:47:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-05-18 13:47:23 +0000 |
commit | a24eb30d5b540c785dff7a50778a837616fe3e6b (patch) | |
tree | 1c26e8965eaf4ca2dcac4399a2bd50dd33800805 /testcases/VIM/OpenStack/CI | |
parent | 5b5226ef0c3333f522593f3ff56d8d04126b9c6b (diff) | |
parent | f8f326df6cb3f307f1789df7c3c6d275cba03c9a (diff) |
Merge "Fix requests scenario for rally bench suite (re import from rally)"
Diffstat (limited to 'testcases/VIM/OpenStack/CI')
-rw-r--r-- | testcases/VIM/OpenStack/CI/suites/opnfv-requests.json | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/testcases/VIM/OpenStack/CI/suites/opnfv-requests.json b/testcases/VIM/OpenStack/CI/suites/opnfv-requests.json index 9936e2fd..ead457db 100644 --- a/testcases/VIM/OpenStack/CI/suites/opnfv-requests.json +++ b/testcases/VIM/OpenStack/CI/suites/opnfv-requests.json @@ -1,9 +1,26 @@ { - "Requests.check_response": [ + "HttpRequests.check_random_request": [ { "args": { - "url": "http://www.google.com", - "response": 302 + "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 + } + } + ], + "HttpRequests.check_request": [ + { + "args": { + "url": "http://www.example.com", + "method": "GET", + "status_code": 200, + "allow_redirects": false }, "runner": { "type": "constant", @@ -13,4 +30,3 @@ } ] } - |