summaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-requests.yaml
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2015-12-19 08:38:21 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-12-19 08:38:21 +0000
commitec0ee75e9576319f0bf1e4bc2a41dea099fbbce7 (patch)
tree9d5bb5cc177b7c9fd529aa44d75d699cd30f2a9b /testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-requests.yaml
parent1603c0810fbfc872dada41e5af84e7b5587169e9 (diff)
parent955b592a7d4aab0a9685bd19bf77f959f59ffd22 (diff)
Merge "Parameterize Rally scenarios"
Diffstat (limited to 'testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-requests.yaml')
-rw-r--r--testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-requests.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-requests.yaml b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-requests.yaml
new file mode 100644
index 000000000..b7d2033f2
--- /dev/null
+++ b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-requests.yaml
@@ -0,0 +1,28 @@
+ 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:
+ {{ constant_runner(concurrency=2*controllers_amount, times=10*controllers_amount, is_smoke=smoke) }}
+ sla:
+ {{ no_failures_sla() }}
+
+ HttpRequests.check_request:
+ -
+ args:
+ url: "http://www.example.com"
+ method: "GET"
+ status_code: 200
+ allow_redirects: False
+ runner:
+ {{ constant_runner(concurrency=2*controllers_amount, times=10*controllers_amount, is_smoke=smoke) }}
+ sla:
+ {{ no_failures_sla() }}