diff options
Diffstat (limited to 'subplot')
-rw-r--r-- | subplot/ewww.yaml | 42 |
1 files changed, 31 insertions, 11 deletions
diff --git a/subplot/ewww.yaml b/subplot/ewww.yaml index 7353863..d59a5fd 100644 --- a/subplot/ewww.yaml +++ b/subplot/ewww.yaml @@ -1,33 +1,53 @@ - given: a self-signed certificate as {cert}, using key {key} - function: copy_test_certificate + impl: + python: + function: copy_test_certificate - given: a running server using config file {filename} - function: start_server - cleanup: stop_server + impl: + python: + function: start_server + cleanup: stop_server - given: directory {dirname} - function: create_directory + impl: + python: + function: create_directory - then: I am redirected to {location} - function: fixme + impl: + python: + function: fixme - then: I can do at least {number} requests per second - function: fixme + impl: + python: + function: fixme - then: I get status code {code} - function: http_status_code_is + impl: + python: + function: http_status_code_is - then: 'header (?P<header>\S+) is "(?P<value>.+)"' regex: true - function: http_header_is + impl: + python: + function: http_header_is - then: 'body is "(?P<body>.*)"' regex: true - function: http_body_is + impl: + python: + function: http_body_is - when: I request {method} {url} - function: request + impl: + python: + function: request - when: I request files under {url} in random order {count} times - function: fixme + impl: + python: + function: fixme |