From 51077a2775ba6e9dfb6a83150ee0980f87796119 Mon Sep 17 00:00:00 2001 From: floraachy <1622042529@qq.com> Date: Fri, 22 Mar 2024 15:09:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=20-=20demo?= =?UTF-8?q?=5Fget=5Fapply=5Finformation.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo_get_apply_information.yml | 47 ++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 demo_get_apply_information.yml diff --git a/demo_get_apply_information.yml b/demo_get_apply_information.yml new file mode 100644 index 0000000..44cac8f --- /dev/null +++ b/demo_get_apply_information.yml @@ -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: \ No newline at end of file