summaryrefslogtreecommitdiffstats
path: root/testcases/OpenStack/rally/scenario/opnfv-requests.yaml
blob: 6affcc6c612219b914bfb2338674ba357dd310a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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() }}