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
cbad8b8e
Commit
cbad8b8e
authored
Feb 18, 2024
by
liguangyu06
Browse files
优化
parent
f678731d
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_order_list/采购数量不能为空_采购单新增.air/采购数量不能为空_采购单新增.py
View file @
cbad8b8e
...
@@ -37,6 +37,7 @@ result = requests.post(url, json=request_body, headers=headers)
...
@@ -37,6 +37,7 @@ result = requests.post(url, json=request_body, headers=headers)
api_time
=
float
(
result
.
elapsed
.
total_seconds
())
api_time
=
float
(
result
.
elapsed
.
total_seconds
())
result
=
json
.
loads
(
result
.
content
)
result
=
json
.
loads
(
result
.
content
)
# print(result)
# 将接口响应时间添加至result
# 将接口响应时间添加至result
result
[
"api_time"
]
=
api_time
result
[
"api_time"
]
=
api_time
...
...
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