fix: display api name when running api as testcase

This commit is contained in:
debugtalk
2019-04-18 16:28:11 +08:00
parent 5f33cbfd28
commit ce83c7b05f
2 changed files with 7 additions and 2 deletions

View File

@@ -1,9 +1,11 @@
name: headers
name: get headers
base_url: http://httpbin.org
variables:
expected_status_code: 200
request:
url: /headers
method: GET
validate:
- eq: ["status_code", 200]
- eq: ["status_code", $expected_status_code]
- eq: [content.headers.Host, "httpbin.org"]