define httpbin host and port in one place

This commit is contained in:
httprunner
2018-08-02 11:29:01 +08:00
parent fd5c93f907
commit 61deb3ab9d
11 changed files with 150 additions and 33 deletions

View File

@@ -94,4 +94,4 @@
- ${teardown_hook_sleep_N_secs($response, $n_secs)}
validate:
- eq: ["status_code", 200]
- eq: [content.headers.Host, "127.0.0.1:3458"]
- contained_by: [content.headers.Host, $HTTPBIN_SERVER]