define httpbin host and port in one place

This commit is contained in:
debugtalk
2018-08-02 11:29:01 +08:00
parent 365116b205
commit f071c02513
11 changed files with 150 additions and 33 deletions

View File

@@ -0,0 +1,13 @@
- config:
name: basic test with httpbin
request:
base_url: http://httpbin.org/
- test:
name: headers
request:
url: /headers
method: GET
validate:
- eq: ["status_code", 200]
- assert_status_code_is_200: ["status_code"]