taskPublish_1_1_api.yml 955 字节
config:
    name: 19990000008保存抢单任务

teststeps:

-   name: 19990000008登录系统
    variables:
        phone: ${ENV(wpftwphone)}
    testcase: testcases/login_testcases.yml

-   name: 19990000008搜索引用资源
    output:
        - refResources_id
        - rType
        - serialNo
        - title
    api: api/task_api/task/jb_fb_task/tasksearchResources_api.yml
    extract:
        refResources_id: content.data.refResources.0.id
        rType: content.data.refResources.0.rType
        serialNo: content.data.refResources.0.serialNo
        title: content.data.refResources.0.title
    validate:
        - eq:
              - content.code
              - 0
        - eq:
              - content.msg
              - 获取成功

-   name: 19990000008发布任务
    api: api/task_api/task/jb_fb_task/taskPublish_0_1_0_api.yml
    varidate:
        validate:
          - eq:
              - content.msg
              - 发布成功