mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 10:29:39 +08:00
17 lines
368 B
YAML
17 lines
368 B
YAML
- config:
|
|
name: basic test with httpbin
|
|
request:
|
|
base_url: http://127.0.0.1:3458/
|
|
|
|
- test:
|
|
name: headers
|
|
request:
|
|
url: /headers
|
|
method: GET
|
|
setup_hooks:
|
|
- setup_hook_add_kwargs
|
|
- setup_hook_remove_kwargs
|
|
validate:
|
|
- eq: ["status_code", 200]
|
|
- eq: [content.headers.Host, "127.0.0.1:3458"]
|