login_testcases.yml 620 字节
config:
    name: APP登录用例
    base_url: ${ENV(base_url)}
    variables:
        phone: ${get_partner_account_from_database(partner_info)}

teststeps:

-   name: $phone 登录系统
    api: api/app_api/login/login_api.yml
    teardown_hooks:
        - ${teardown_hook_get_authcode($response)}
#    validate:
#        - eq:
#              - content.msg
#              - 登录成功

-   name: $phone 获取accessToken
    api: api/app_api/login/accessToken_api.yml
    teardown_hooks:
        - ${teardown_hook_get_accesstoken($response)}

#-   name: $phone 获取userinfo
#    api: api/app_api/userInfo_api.yml