#78: merge validators in test with api validators

This commit is contained in:
httprunner
2018-01-16 19:28:07 +08:00
parent 4ead306951
commit 488585fdc5
7 changed files with 186 additions and 64 deletions

View File

@@ -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