taskPublish_0_1_api.yml
955 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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/qd_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/qd_fb_task/taskPublish_0_1_0_api.yml
varidate:
validate:
- eq:
- content.msg
- 发布成功