summaryrefslogtreecommitdiff
path: root/subplot/ewww.yaml
blob: 421bfad312af0651a14c8a344f62077ab8a8b789 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
- given: a self-signed certificate as {cert}, using key {key}
  impl:
    python:
      function: copy_test_certificate

- given: a running server using config file {filename}
  impl:
    python:
      function: start_server
      cleanup: stop_server
  types:
    filename: file

- given: directory {dirname}
  impl:
    python:
      function: create_directory

- then: I am redirected to {location}
  impl:
    python:
      function: fixme

- then: I can do at least {number} requests per second
  impl:
    python:
      function: fixme

- then: I get status code {code}
  impl:
    python:
      function: http_status_code_is

- then: 'header (?P<header>\S+) is "(?P<value>.+)"'
  regex: true
  impl:
    python:
      function: http_header_is

- then: 'body is "(?P<body>.*)"'
  regex: true
  impl:
    python:
      function: http_body_is

- when: I request {method} {url}
  impl:
    python:
      function: request

- when: I request files under {url} in random order {count} times
  impl:
    python:
      function: fixme