aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/OpenStack/rally/scenario/opnfv-requests.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/OpenStack/rally/scenario/opnfv-requests.yaml')
-rw-r--r--testcases/OpenStack/rally/scenario/opnfv-requests.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/testcases/OpenStack/rally/scenario/opnfv-requests.yaml b/testcases/OpenStack/rally/scenario/opnfv-requests.yaml
new file mode 100644
index 00000000..6affcc6c
--- /dev/null
+++ b/testcases/OpenStack/rally/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=concurrency, times=iterations, 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=concurrency, times=iterations, is_smoke=smoke) }}
+ sla:
+ {{ no_failures_sla() }}