Files
httprunner/tests/httpbin/load_image.yml
2018-08-02 11:29:01 +08:00

38 lines
648 B
YAML

- config:
name: load images
request:
base_url: $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]