Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
API-Automation
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
文鑫
API-Automation
Commits
6c7a4741
Commit
6c7a4741
authored
Jul 01, 2020
by
文鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加数据源查询接口
parent
3dbd2714
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
data/data.xlsx
+0
-0
test_DataA.py
+5
-0
No files found.
data/data.xlsx
View file @
6c7a4741
No preview for this file type
test_DataA.py
View file @
6c7a4741
...
...
@@ -19,6 +19,11 @@ class TestSystem():
id
=
getSourceId
.
get_SourceId
(
data
)
url
=
url
+
id
r
=
requests
.
post
(
url
=
url
)
#测试需要传递dataSourceId的接口
elif
'dataSourceId'
in
story
:
id
=
getSourceId
.
get_SourceId
(
data
)
url
=
url
+
id
r
=
requests
.
get
(
url
=
url
)
#测试post接口
elif
method
==
'post'
:
json
=
eval
(
data
)
...
...
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