JBRW004.yml
1.3 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
config:
name: RW003:登录系统-发布任务
teststeps:
- name: 19990000008发布任务
testcase: testcases/task/taskPublish_0_1_api.yml
#
- name: 19990000011登录系统-查看公司悬赏任务-点击抢单
variables:
phone: ${ENV(pfphone)}
testcase: testcases/task/jxz/jxz_wc.yml
- name: 19990000008登录系统
variables:
phone: ${ENV(wpftwphone)}
testcase: testcases/login_testcases.yml
- name: 19990000008查看任务-我发布的-待验收
output:
- id
api: api/task_api/task/iPublishedTasks_3_api.yml
extract:
id: content.data.tasks.0.id
validate:
- eq:
- content.data.tasks.0.id
- $id
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
- name: 19990000008任务详情
api: api/task_api/task/taskDetails_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
# - 关闭成功