Files
apiautotest/data/gitlink/glcc/test_get_apply_information.yml

44 lines
1.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
case_common:
allure_epic: GitLink接口自动生成用例
allure_feature: 开源夏令营模块
allure_story: 获取项目列表接口
case_markers:
- glcc
- get_project
- skip: 跳过执行该用例
case_glcc_demo_01:
feature: GLCC
title: 获取已报名成功的项目数据
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:
case_glcc_demo_02:
feature: GLCC
title: 获取已报名成功的课题数据
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: