PURPOSE001_add_purpose_testcases.yml 449 字节
config:
    name: 新增意向订单
    base_url: ${ENV(base_manager_url)}
    variables:
        phone: ${get_admin_account_from_database(admin_user)}
    teardown_hooks:
        - ${sleep(2)}

teststeps:
-   name: $phone 登录系统
    testcase: testcases/m_login_testcases.yml

-   name: $phone 新增意向订单
    api:  api/m_api/purpose/m_order_purpose_add_api.yml
    validate:
        -   eq:
            - content.msg
            - ok