mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
23 lines
487 B
YAML
23 lines
487 B
YAML
- config:
|
|
name: "bugfix testcases."
|
|
request:
|
|
base_url: http://127.0.0.1:5000
|
|
headers:
|
|
Content-Type: application/json
|
|
|
|
- test:
|
|
name: get headers from config
|
|
request:
|
|
url: /api/users/1000
|
|
method: GET
|
|
headers:
|
|
|
|
- test:
|
|
name: bugfix type_match #84
|
|
request:
|
|
url: http://127.0.0.1:5000/api/users/1000
|
|
method: GET
|
|
validate:
|
|
- eq: [status_code, 401]
|
|
- type_match: [status_code, int]
|