Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-airtest-web-cmdc
Commits
781127c2
Commit
781127c2
authored
May 07, 2024
by
liguangyu06
Browse files
优化
parent
25f50700
Changes
2
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_special_version/产品线编码不能为空_获取上报植入列表.air/产品线编码不能为空_获取上报植入列表.py
View file @
781127c2
...
@@ -38,6 +38,7 @@ api_time = float(result.elapsed.total_seconds())
...
@@ -38,6 +38,7 @@ api_time = float(result.elapsed.total_seconds())
# 将接口响应时间添加至result
# 将接口响应时间添加至result
result
=
json
.
loads
(
result
.
content
)
result
=
json
.
loads
(
result
.
content
)
# print(result)
result
[
"api_time"
]
=
api_time
result
[
"api_time"
]
=
api_time
# 获取预期结果
# 获取预期结果
...
...
data/cmdc_special_version/data
View file @
781127c2
...
@@ -255,7 +255,7 @@ checkDict32: {"success":true,"code":"200","message":"OK"}
...
@@ -255,7 +255,7 @@ checkDict32: {"success":true,"code":"200","message":"OK"}
"url42": "/order/public/getReportList"
"url42": "/order/public/getReportList"
"payload42": {"customerInfo":"","optionStr":"","reportAuditStatus":null,"status":null,"companyCode":"00102","productLineCode":"","reportHospitalCode":"","reportHospitalCodeList":[],"deleteSign":"","numberSource":"","invoiceStatus":null,"reportStatus":null,"reportQueryType":0,"pageNum":1,"pageSize":10,"pageStart":1,"reportDateStart":null,"reportDateEnd":null,"reportAuditTimeStart":null,"reportAuditTimeEnd":null,"reportManufacturerTimeStart":null,"reportManufacturerTimeEnd":null}
"payload42": {"customerInfo":"","optionStr":"","reportAuditStatus":null,"status":null,"companyCode":"00102","productLineCode":"","reportHospitalCode":"","reportHospitalCodeList":[],"deleteSign":"","numberSource":"","invoiceStatus":null,"reportStatus":null,"reportQueryType":0,"pageNum":1,"pageSize":10,"pageStart":1,"reportDateStart":null,"reportDateEnd":null,"reportAuditTimeStart":null,"reportAuditTimeEnd":null,"reportManufacturerTimeStart":null,"reportManufacturerTimeEnd":null}
#预期结果
#预期结果
checkDict42: {"success":
fals
e,"code":"
ERROR
","message":"
产品线编码不能为空","data":null
}
checkDict42: {"success":
tru
e,"code":"
200
","message":"
OK"
}
#测试场景33:列表查询条件验证_上报植入列表
#测试场景33:列表查询条件验证_上报植入列表
"url33": "/order/public/getReportList"
"url33": "/order/public/getReportList"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment