add unittest for running single api

This commit is contained in:
debugtalk
2018-12-16 00:38:02 +08:00
parent 5beb25470f
commit f0d6bda573
3 changed files with 19 additions and 3 deletions

View File

@@ -0,0 +1,8 @@
name: headers
request:
url: http://httpbin.org/headers
method: GET
validate:
- eq: ["status_code", 200]
- eq: [content.headers.Host, "httpbin.org"]