mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-17 00:37:36 +08:00
#78: merge validators in test with api validators
This commit is contained in:
@@ -18,6 +18,9 @@
|
||||
api: get_token($user_agent, $device_sn, $os_platform, $app_version)
|
||||
extract:
|
||||
- token: content.token
|
||||
validate:
|
||||
- "eq": ["status_code", 200]
|
||||
- "len_eq": ["content.token", 16]
|
||||
|
||||
- test:
|
||||
name: reset all users
|
||||
|
||||
Reference in New Issue
Block a user