mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
add unittest: variables in testcase teststep should override api's
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
|
||||
- api:
|
||||
def: create_user($uid, $user_name, $user_password, $token)
|
||||
variables:
|
||||
- user_name: user0
|
||||
- user_password: "000000"
|
||||
- uid: 2000
|
||||
request:
|
||||
url: /api/users/$uid
|
||||
method: POST
|
||||
|
||||
Reference in New Issue
Block a user