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
7087bec7
authored
Jan 11, 2019
by
zhangjingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改脚本软件以及外置小程序名称
parent
1b8c0667
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
4 additions
and
49 deletions
+4
-49
.DS_Store
+0
-0
.idea/workspace.xml
+0
-0
碧合app/.DS_Store
+0
-0
碧合app/execute_automation_scripts.py
+3
-3
碧合app/专享服务/专享服务_manage.postman_environment.json
+0
-0
碧合app/体育场预订/体育场预订_manage.postman_environment.json
+0
-0
碧合app/服务-获取外置小程序接口/服务-获取外置小程序接口.postman_collection.json
+0
-0
碧合app/软文管理/软文管理.postman_collection.json
+1
-46
No files found.
.DS_Store
View file @
7087bec7
No preview for this file type
.idea/workspace.xml
View file @
7087bec7
This diff is collapsed.
Click to expand it.
碧合app/.DS_Store
View file @
7087bec7
No preview for this file type
碧合app/execute_automation_scripts.py
View file @
7087bec7
# cod
ing = utf-8
# cod
ing = utf-8
...
...
@@ -63,8 +63,8 @@ class PostmanApi():
file
=
[]
report_text
=
""
report_text1
=
""
report_file
=
"/phantom/file/testreport/"
#
report_file = "/Users/lucas/Documents/reporter/"
#
report_file = "/phantom/file/testreport/"
report_file
=
"/Users/lucas/Documents/reporter/"
BASE_DIR
=
os
.
path
.
realpath
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
path
=
os
.
listdir
(
BASE_DIR
)
at_the
=
time
.
strftime
(
"
%
H:
%
M"
,
time
.
localtime
(
time
.
time
()))
...
...
碧合app/专享服务/专享
-
服务_manage.postman_environment.json
→
碧合app/专享服务/专享服务_manage.postman_environment.json
View file @
7087bec7
File moved
碧合app/体育场预订/
-
体育场预订_manage.postman_environment.json
→
碧合app/体育场预订/体育场预订_manage.postman_environment.json
View file @
7087bec7
File moved
碧合app/服务-获取外置小程序接口/服务-获取外置小程序接口
(临时)共 (1) 个
.postman_collection.json
→
碧合app/服务-获取外置小程序接口/服务-获取外置小程序接口.postman_collection.json
View file @
7087bec7
File moved
碧合app/软文管理/软文管理.postman_collection.json
View file @
7087bec7
{
{
...
...
@@ -6,51 +6,6 @@
},
"item"
:
[
{
"name"
:
"用户登录"
,
"event"
:
[
{
"listen"
:
"test"
,
"script"
:
{
"id"
:
"ab616fda-d96b-4f71-a9aa-6c59ce279e71"
,
"exec"
:
[
"// console.log(
\"
----------------responseBody--------------
\"
+responseBody);"
,
"var jsonData = JSON.parse(responseBody);"
,
"// console.log(
\"
----------------jsonData.data.accessToken--------------
\"
+jsonData.data.accessToken);"
,
""
,
"if(jsonData.data !== null || jsonData.data !==
\"\"
)"
,
"{"
,
" tests[
\"
accessToken
\"
] = true;"
,
" postman.setEnvironmentVariable(
\"
access-Token
\"
,jsonData.data.accessToken);"
,
" "
,
"}"
,
"else"
,
"{"
,
" console.log(
\"
接口返回错误:
\"
+jsonData.msg);"
,
" tests[
\"
accessToken
\"
]=false;"
,
"}"
,
""
],
"type"
:
"text/javascript"
}
}
],
"request"
:
{
"method"
:
"POST"
,
"header"
:
[
{
"key"
:
"Content-Type"
,
"value"
:
"application/json"
}
],
"body"
:
{
"mode"
:
"raw"
,
"raw"
:
"{
\n
\"
userPhone
\"
: {{user_phone}},
\n
\"
userPassword
\"
: {{userPassword}},
\n
\"
equipment
\"
:
\"
c5d93c486a95d658
\"
,
\n
\"
channelId
\"
: 1
\n
}"
},
"url"
:
"{{gateway-user}}/app/login"
},
"response"
:
[]
},
{
"name"
:
"软文查看详情接口"
,
"event"
:
[
{
...
...
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