Files
httprunner/tests/httpbin/load_image.yml
debugtalk 4099ade49d HttpRunner 2.0 is comming!
1, new design for testcase format;
2, refactor testcase layer mechanism.
2018-11-22 19:25:00 +08:00

37 lines
639 B
YAML

- config:
name: load images
base_url: ${get_httpbin_server()}
- test:
name: get png image
request:
url: /image/png
method: GET
validators:
- eq: ["status_code", 200]
- test:
name: get jpeg image
request:
url: /image/jpeg
method: GET
validators:
- eq: ["status_code", 200]
- test:
name: get webp image
request:
url: /image/webp
method: GET
validators:
- eq: ["status_code", 200]
- test:
name: get svg image
request:
url: /image/svg
method: GET
validators:
- eq: ["status_code", 200]