mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-06 00:09:37 +08:00
update demo testset: change position of variable binds
This commit is contained in:
@@ -68,7 +68,6 @@ optional arguments:
|
||||
- device_sn: ${gen_random_string(15)}
|
||||
- os_platform: 'ios'
|
||||
- app_version: '2.8.6'
|
||||
- sign: ${get_sign($user_agent, $device_sn, $os_platform, $app_version)}
|
||||
request:
|
||||
base_url: http://127.0.0.1:5000
|
||||
headers:
|
||||
@@ -77,6 +76,8 @@ optional arguments:
|
||||
|
||||
- test:
|
||||
name: get token
|
||||
variable_binds:
|
||||
- sign: ${get_sign($user_agent, $device_sn, $os_platform, $app_version)}
|
||||
request:
|
||||
url: /api/get-token
|
||||
method: POST
|
||||
|
||||
Reference in New Issue
Block a user