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-spd
Commits
678d70ee
Commit
678d70ee
authored
Apr 30, 2024
by
xiao-hesheng
Browse files
流程五脚本编写
parent
dc7a17c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/public1/public1/public1.py
View file @
678d70ee
...
@@ -1031,8 +1031,14 @@ def SaveCacheBatch2(headers):
...
@@ -1031,8 +1031,14 @@ def SaveCacheBatch2(headers):
print
(
'request_body4'
,
request_body4
)
print
(
'request_body4'
,
request_body4
)
# while True:
# while True:
# time.sleep(3)
# time.sleep(3)
while
True
:
result
=
commonFuc
().
http_post
(
url
,
request_body4
,
headers
)
result
=
commonFuc
().
http_post
(
url
,
request_body4
,
headers
)
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
if
code
==
0
:
break
else
:
print
(
'外网发票暂存出现问题,请检查脚本或者数据'
)
continue
print
(
'result'
,
result
)
print
(
'result'
,
result
)
...
...
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