diff options
Diffstat (limited to 'subplot/ewww.yaml')
-rw-r--r-- | subplot/ewww.yaml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/subplot/ewww.yaml b/subplot/ewww.yaml new file mode 100644 index 0000000..375558d --- /dev/null +++ b/subplot/ewww.yaml @@ -0,0 +1,37 @@ +- 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 + cleanup: stop_server + +- given: "{count} files in {dirname}" + function: fixme + +- given: file (?P<filename>\S+) with "(?P<content>.*)" + regex: true + function: create_file + +- 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: http_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 request {method} {url} + function: request + +- when: I request files under {url} in random order {count} times + function: fixme + |