diff options
Diffstat (limited to 'subplot/ewww.yaml')
-rw-r--r-- | subplot/ewww.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/subplot/ewww.yaml b/subplot/ewww.yaml index 421bfad..f758e20 100644 --- a/subplot/ewww.yaml +++ b/subplot/ewww.yaml @@ -1,4 +1,7 @@ - given: a self-signed certificate as {cert}, using key {key} + types: + cert: word + key: word impl: python: function: copy_test_certificate @@ -12,43 +15,61 @@ filename: file - given: directory {dirname} + types: + dirname: path impl: python: function: create_directory - then: I am redirected to {location} + types: + location: word impl: python: function: fixme - then: I can do at least {number} requests per second + types: + number: uint impl: python: function: fixme - then: I get status code {code} + types: + code: uint impl: python: function: http_status_code_is - then: 'header (?P<header>\S+) is "(?P<value>.+)"' regex: true + types: + header: word + value: text impl: python: function: http_header_is - then: 'body is "(?P<body>.*)"' regex: true + types: + body: text impl: python: function: http_body_is - when: I request {method} {url} + types: + url: word impl: python: function: request - when: I request files under {url} in random order {count} times + types: + url: word + count: uint impl: python: function: fixme |