Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
zhangjingdong
/
bihe_interface_test
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e50eec84
authored
Nov 28, 2018
by
zhangjingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试1
parent
85a6b6b4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
.idea/workspace.xml
+5
-7
碧合app/execute_automation_scripts.py
+3
-2
No files found.
.idea/workspace.xml
View file @
e50eec84
...
...
@@ -2,10 +2,8 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"243b24f3-3df7-4c72-bf73-8de81d5ca458"
name=
"Default"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/碧合app/execute_automation_scripts.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/碧合app/execute_automation_scripts.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/碧合app/活动2018-11-27_20:00:34.html"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/碧合app/活动2018-11-28_09:23:07.html"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/碧合app/活动2018-11-28_09:34:00.html"
beforeDir=
"false"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"TRACKING_ENABLED"
value=
"true"
/>
...
...
@@ -22,8 +20,8 @@
<file
leaf-file-name=
"execute_automation_scripts.py"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/碧合app/execute_automation_scripts.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3
52
"
>
<caret
line=
"
28"
column=
"34"
selection-start-line=
"28"
selection-start-column=
"34"
selection-end-line=
"28"
selection-end-column=
"34
"
/>
<state
relative-caret-position=
"3
26
"
>
<caret
line=
"
31"
column=
"26"
selection-start-line=
"31"
selection-start-column=
"26"
selection-end-line=
"31"
selection-end-column=
"26
"
/>
<folding>
<element
signature=
"e#18#29#0"
expanded=
"true"
/>
</folding>
...
...
@@ -261,8 +259,8 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/碧合app/execute_automation_scripts.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3
52
"
>
<caret
line=
"
28"
column=
"34"
selection-start-line=
"28"
selection-start-column=
"34"
selection-end-line=
"28"
selection-end-column=
"34
"
/>
<state
relative-caret-position=
"3
26
"
>
<caret
line=
"
31"
column=
"26"
selection-start-line=
"31"
selection-start-column=
"26"
selection-end-line=
"31"
selection-end-column=
"26
"
/>
<folding>
<element
signature=
"e#18#29#0"
expanded=
"true"
/>
</folding>
...
...
碧合app/execute_automation_scripts.py
View file @
e50eec84
# cod
ing = utf-8
# cod
ing = utf-8
...
...
@@ -28,7 +28,8 @@ class PostmanApi:
execute
=
"newman run "
+
BASE_DIR
+
"/"
+
file_path
+
"/"
+
file_path
+
".postman_collection.json -e "
+
BASE_DIR
+
"/"
+
file_path
+
"/-"
+
file_path
+
"_manage.postman_environment.json --delay-request 500 --timeout-request 5000 --reporters html --reporter-html-export "
+
report_file_path
+
"/"
+
now_time
os
.
system
(
execute
)
return
self
#fafhuiashfasihfiashfoiashfiosahfisahfasiohfao
#fsafafsafasfasfas
if
__name__
==
'__main__'
:
PostmanApi
()
.
post
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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