refactor: replace httpbin service with docker

This commit is contained in:
lilong.129
2023-07-21 23:16:45 +08:00
parent 36f849ded6
commit 9b30fa2435
15 changed files with 38 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
config:
name: basic test with httpbin
base_url: https://httpbin.org/
base_url: ${get_httpbin_server()}
teststeps:
-
@@ -10,7 +10,7 @@ teststeps:
method: GET
validate:
- eq: ["status_code", 200]
- eq: [body.headers.Host, "httpbin.org"]
- eq: [body.headers.Host, "127.0.0.1"]
-
name: user-agent