From f8f326df6cb3f307f1789df7c3c6d275cba03c9a Mon Sep 17 00:00:00 2001 From: morganrOL Date: Mon, 18 May 2015 15:45:55 +0200 Subject: Fix requests scenario for rally bench suite (re import from rally) JIRA: FUNCTEST-1 Change-Id: I5d40408afcc0765e2f7fc5cef917d80395c22590 Signed-off-by: morganrOL --- .../VIM/OpenStack/CI/suites/opnfv-requests.json | 24 ++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'testcases/VIM/OpenStack') 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 @@ } ] } - -- cgit 1.2.3-korg