COM001_task_login_testcases.yml 623 字节
config:
    name: 用户登录APP
    base_url: ${ENV(base_url)}

teststeps:
-   name:  价值系统登录
    api: api/app_api/login_api/task/authorize_api.yml
    teardown_hooks:
        - ${teardown_hook_get_task_authcode($response)}
    varidate:
        validate:
          - eq:
              - content.msg
              - 登录成功accessToken
-   name: 获取accessToken
    api: api/app_api/login_api/task/accessToken_api.yml
    teardown_hooks:
        - ${teardown_hook_get_task_accesstoken($response)}
    varidate:
        validate:
          - eq:
              - content.msg
              - 获取成功