JBRW002.yml
1.6 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
config:
name: JBRW002:登录系统-保存任务-编辑保存-发布任务-关闭任务
teststeps:
- name: 19990000008保存竞标任务
testcase: testcases/task/save_taskPublish_0_1_api.yml
- name: 19990000008查看待发布列表
output:
- id
api: api/task_api/task/dfb_task/iPublishedTasks_0_api.yml
extract:
id: content.data.tasks.0.id
validate:
- eq:
- content.data.tasks.0.id
- $id
- name: 19990000008编辑任务
api: api/task_api/task/qd_fb_task/update_taskPublish_api.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/jb_fb_task/taskPublish_1_1_api.yml
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 发布成功
#- name: 19990000008任务关闭
# api: api/task_api/task/taskcloseTask_api.yml
# validate:
# - eq:
# - content.code
# - 0
# - eq:
# - content.msg
# - 关闭成功