diff options
author | Lars Wirzenius <liw@liw.fi> | 2024-01-13 15:40:59 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2024-01-13 15:40:59 +0000 |
commit | a5756adf589c8c33f83df5804d7e5633ce82627a (patch) | |
tree | 692cefb2f68dba1903f6be06c2a650733d1c826f /subplot/ewww.yaml | |
parent | e4f622252fdf43315e087b968e0db7cc1d051977 (diff) | |
parent | 1a6d669a9ade98ccd21c0896b3fb0b122473ab73 (diff) | |
download | ewww-main.tar.gz |
fixes and prep for Ambient
See merge request larswirzenius/ewww!35
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 |