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
4b93d144
Commit
4b93d144
authored
Mar 26, 2024
by
liguangyu06
Browse files
优化
parent
ba53b7da
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_33st/f_商品包装确认删除功能验证.air/f_商品包装确认删除功能验证.py
View file @
4b93d144
...
@@ -52,7 +52,7 @@ url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url17")
...
@@ -52,7 +52,7 @@ url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url17")
requests_body
=
[
packagingId
]
requests_body
=
[
packagingId
]
# 发送请求
# 发送请求
result
=
requests
.
post
(
url
,
json
=
files
,
headers
=
headers
)
result
=
requests
.
post
(
url
,
json
=
requests_body
,
headers
=
headers
)
# 获取接口响应时间
# 获取接口响应时间
api_time
=
float
(
result
.
elapsed
.
total_seconds
())
api_time
=
float
(
result
.
elapsed
.
total_seconds
())
...
...
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