m_login_api.yml 597 字节
name: 账号登录
base_url: ${ENV(base_manager_url)}
variables:
    username: ${convert_to_string(10000000001)}
    password: 7c4a8d09ca3762af61e59520943dc26494f8941b
teardown_hooks:
    - ${teardown_hook_get_m_accesstoken($response)}
request:
    headers:
        Content-Type: application/json;charset=utf-8
        User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36
    json:
        password: $password
        username: $username
    method: POST
    url: v1/auth/login
validate:
-   eq:
    - content.msg
    - ok