mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-14 14:17:38 +08:00
add unittest for running single api
This commit is contained in:
8
tests/httpbin/api/get_headers.yml
Normal file
8
tests/httpbin/api/get_headers.yml
Normal 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"]
|
||||
Reference in New Issue
Block a user