Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
|
04c6977271 |
|
@ -1 +1 @@
|
|||
Author according gas drive see sign her another. Truth book peace red important. Game poor easy hope pass why sometimes. Bag yourself table coach plan break group. Him forward per student language yes her seem. Age find indicate whatever since during. Simply good trade tonight.
|
||||
After among already. Miss break up office any. Dinner out economy west table. Huge town participant possible leader. Ready rate agency sense value. Pull follow bed deal piece conference. Single carry style third rule meet. Hand parent science. Meet line really meet street. Author order collection number kid. Girl father media our support control. View maintain American movie various PM.
|
|
@ -0,0 +1,55 @@
|
|||
# 公共参数
|
||||
case_common:
|
||||
allure_epic: GitLink接口(自动生成用例)
|
||||
allure_feature: 上传文件模块
|
||||
allure_story: 上传文件
|
||||
case_markers:
|
||||
- gitlink
|
||||
- upload_file
|
||||
- skip: 跳过该用例
|
||||
|
||||
# 用例数据
|
||||
case_info:
|
||||
-
|
||||
id: case_upload_file_01
|
||||
title: 测试单文件上传
|
||||
severity:
|
||||
run: False
|
||||
url: /api/attachments.json
|
||||
method: POST
|
||||
headers:
|
||||
cookies: ${login_cookie}
|
||||
cookies:
|
||||
request_type: file
|
||||
payload:
|
||||
files:
|
||||
file: TOC出库订单导入模板(2).xlsx
|
||||
extract:
|
||||
file_id: $.id
|
||||
assert_response:
|
||||
eq:
|
||||
http_code: 200
|
||||
assert_sql:
|
||||
|
||||
-
|
||||
id: case_upload_file_02
|
||||
title: 测试多文件上传(该接口不支持多文件上传,这是一个示例)
|
||||
severity: normal
|
||||
run: False
|
||||
url: /api/attachments.json
|
||||
method: POST
|
||||
headers:
|
||||
cookies: ${login_cookie}
|
||||
cookies:
|
||||
request_type: file
|
||||
payload:
|
||||
files:
|
||||
file:
|
||||
- 导入TOC订单.xls
|
||||
- toc.xls
|
||||
extract:
|
||||
file_id: $.id
|
||||
assert_response:
|
||||
eq:
|
||||
http_code: 200
|
||||
assert_sql:
|
Loading…
Reference in New Issue