m_pwd_updat_testcases.yml 531 字节
config:
    name: login_testcases
    base_url: ${ENV(base_manager_url)}
    variables:
        phone: ${get_admin_account_from_database(admin_user)}

teststeps:
-   name: $phone 登录系统
    api: api/m_api/m_login_api.yml
    teardown_hooks:
        - ${teardown_hook_get_m_accesstoken($response)}
    validate:
        -   eq:
            - content.msg
            - ok

    - name: $phone 修改密码
      api: api/m_api/m_pwd_update_api.yml
      validate:
          -   eq:
              - content.msg
              - ok