fix #188: display response image in html report

This commit is contained in:
debugtalk
2018-04-22 13:29:41 +08:00
parent 36ce0b6dee
commit 84f5000d7a
4 changed files with 63 additions and 3 deletions

View File

@@ -0,0 +1,37 @@
- config:
name: load images
request:
base_url: https://httpbin.org
- 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]