mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-09 17:59:36 +08:00
save api in individual file: each file is corresponding to one api definition
This commit is contained in:
12
tests/api/reset_all.yml
Normal file
12
tests/api/reset_all.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
variables:
|
||||
token: XXX
|
||||
request:
|
||||
url: /api/reset-all
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: "application/json"
|
||||
device_sn: $device_sn
|
||||
token: $token
|
||||
validate:
|
||||
- eq: ["status_code", 200]
|
||||
- eq: ["content.success", true]
|
||||
Reference in New Issue
Block a user