Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tiku_APP_APITest
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shuai
tiku_APP_APITest
Commits
f6403d03
Commit
f6403d03
authored
Nov 25, 2019
by
wff66504
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3
parent
8e12f3f3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
DataAll.xls
tiku_App/TestData/DataAll.xls
+0
-0
APITest_tk.java
tiku_App/src/com/offcn/test/APITest_tk.java
+1
-0
MakeTestCases.java
tiku_App/src/makeTestCase/MakeTestCases.java
+2
-2
test.properties
tiku_App/src/resources/test.properties
+1
-2
No files found.
tiku_App/TestData/DataAll.xls
View file @
f6403d03
No preview for this file type
tiku_App/src/com/offcn/test/APITest_tk.java
View file @
f6403d03
...
@@ -53,6 +53,7 @@ public class APITest_tk extends BasicsGM{
...
@@ -53,6 +53,7 @@ public class APITest_tk extends BasicsGM{
//
//
String
parameter
=
MapUtil
.
getValue
(
"parameter"
,
data
);
String
parameter
=
MapUtil
.
getValue
(
"parameter"
,
data
);
Long
startTime
=
System
.
currentTimeMillis
();
Long
startTime
=
System
.
currentTimeMillis
();
Response
re
=
obj
.
SendRequest
(
data
,
data
.
get
(
"serviceUrl"
).
toString
(),
data
.
get
(
"Request"
).
toString
());
Response
re
=
obj
.
SendRequest
(
data
,
data
.
get
(
"serviceUrl"
).
toString
(),
data
.
get
(
"Request"
).
toString
());
Long
endTime
=
System
.
currentTimeMillis
();
Long
endTime
=
System
.
currentTimeMillis
();
...
...
tiku_App/src/makeTestCase/MakeTestCases.java
View file @
f6403d03
...
@@ -34,8 +34,8 @@ public class MakeTestCases {
...
@@ -34,8 +34,8 @@ public class MakeTestCases {
public
static
List
<
List
<
String
>>
list_all
=
new
ArrayList
<
List
<
String
>>();
//缺失字段,最后判断是否应该算正向还是反向
public
static
List
<
List
<
String
>>
list_all
=
new
ArrayList
<
List
<
String
>>();
//缺失字段,最后判断是否应该算正向还是反向
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
make
(
"TestData/CaseMake
Wff
.xls"
,
"Sheet1"
,
"post"
,
"tk_3"
);
make
(
"TestData/CaseMake
Mr
.xls"
,
"Sheet1"
,
"post"
,
"tk_3"
);
}
}
...
...
tiku_App/src/resources/test.properties
View file @
f6403d03
xls
=
DataAllWff.xls
xls
=
DataAllWff.xls
sheet
=
Sheet1
sheet
=
Sheet1
mysql_local_Online
=
local
mysql_local_Online
=
local
Percentage
=
60
Percentage
=
60
\ No newline at end of file
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