summaryrefslogtreecommitdiff
path: root/ewww.yaml
blob: 94c33c14b5946573f40bb401ec0ddae26149deba (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
- given: a self-signed certificate as {cert}, using key {key}
  function: copy_test_certificate

- given: a running server using config file {filename}
  function: start_server

- given: "{count} files in {dirname}"
  function: fixme

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

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

- then: I get status code {code}
  function: status_code_is

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

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

- when: I create (?P<filename>\S+) with "(?P<content>.*)"
  regex: true
  function: create_file

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

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