上传文件 - demo_get_apply_information.yml
This commit is contained in:
parent
03a81f3ccd
commit
51077a2775
|
@ -0,0 +1,47 @@
|
||||||
|
case_common:
|
||||||
|
allure_epic: GitLink接口(自动生成用例)
|
||||||
|
allure_feature: 开源夏令营模块
|
||||||
|
allure_story: 获取项目列表接口
|
||||||
|
case_markers:
|
||||||
|
- glcc
|
||||||
|
- get_project
|
||||||
|
- skip: 跳过执行该用例
|
||||||
|
|
||||||
|
case_info:
|
||||||
|
-
|
||||||
|
id: case_glcc_demo_01
|
||||||
|
title: 获取已报名成功的项目数据
|
||||||
|
severity: normal
|
||||||
|
run: True
|
||||||
|
url: ${glcc_host}/api/applyInformation/list?curPage=1&pageSize=10000&round=2
|
||||||
|
method: GET
|
||||||
|
headers: {"Content-Type": "application/json; charset=utf-8;"}
|
||||||
|
cookies:
|
||||||
|
request_type: json
|
||||||
|
payload:
|
||||||
|
files:
|
||||||
|
extract:
|
||||||
|
assert_response:
|
||||||
|
eq:
|
||||||
|
http_code: 200
|
||||||
|
$.message: success
|
||||||
|
assert_sql:
|
||||||
|
|
||||||
|
-
|
||||||
|
id: case_glcc_demo_02
|
||||||
|
title: 获取已报名成功的课题数据
|
||||||
|
severity: normal
|
||||||
|
run: True
|
||||||
|
url: https://glcc.gitlink.org.cn/api/applyInformation/taskList?curPage=1&pageSize=20&userId=&round=2
|
||||||
|
method: GET
|
||||||
|
headers: {"Content-Type": "application/json; charset=utf-8;"}
|
||||||
|
cookies:
|
||||||
|
request_type: json
|
||||||
|
payload:
|
||||||
|
files:
|
||||||
|
extract:
|
||||||
|
assert_response:
|
||||||
|
eq:
|
||||||
|
http_code: 200
|
||||||
|
$.message: success
|
||||||
|
assert_sql:
|
Loading…
Reference in New Issue