mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-19 12:49:31 +08:00
fix unittest
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
os_platform: 'ios'
|
||||
app_version: '2.8.6'
|
||||
json:
|
||||
sign: f1219719911caae89ccc301679857ebfda115ca2
|
||||
sign: 5188962c489d1a35effa99e9346dd5efd4fdabad
|
||||
variables:
|
||||
expect_status_code: 200
|
||||
token_len: 16
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
os_platform: $os_platform
|
||||
app_version: $app_version
|
||||
json:
|
||||
sign: ${get_sign($user_agent, $device_sn, $os_platform, $app_version)}
|
||||
sign: ${get_sign($device_sn, $os_platform, $app_version)}
|
||||
extract:
|
||||
- token: content.token
|
||||
validate:
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"app_version": "2.8.6"
|
||||
},
|
||||
"json": {
|
||||
"sign": "f1219719911caae89ccc301679857ebfda115ca2"
|
||||
"sign": "5188962c489d1a35effa99e9346dd5efd4fdabad"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
os_platform: 'ios'
|
||||
app_version: '2.8.6'
|
||||
json:
|
||||
sign: f1219719911caae89ccc301679857ebfda115ca2
|
||||
sign: 5188962c489d1a35effa99e9346dd5efd4fdabad
|
||||
variables:
|
||||
expect_status_code: 200
|
||||
token_len: 16
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
user_agent: 'iOS/10.3'
|
||||
os_platform: 'ios'
|
||||
app_version: '2.8.6'
|
||||
sign: f1219719911caae89ccc301679857ebfda115ca2
|
||||
sign: 5188962c489d1a35effa99e9346dd5efd4fdabad
|
||||
request:
|
||||
url: /api/get-token
|
||||
method: POST
|
||||
|
||||
Reference in New Issue
Block a user