mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
17 lines
353 B
YAML
17 lines
353 B
YAML
variables:
|
|
user_name: user0
|
|
user_password: "000000"
|
|
uid: 9000
|
|
token: XXX
|
|
request:
|
|
url: /api/users/$uid
|
|
method: PUT
|
|
headers:
|
|
Content-Type: "application/json"
|
|
device_sn: $device_sn
|
|
token: $token
|
|
json:
|
|
name: $user_name
|
|
password: $user_password
|
|
validate:
|
|
- eq: ["status_code", 200] |