Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
test-platform
Project
Project
Details
Activity
Releases
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
马博
test-platform
Commits
a430c5df
Commit
a430c5df
authored
Sep 19, 2019
by
赵然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zr
parent
755a736d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
新集卡_助力发集卡_DuibaTest.java
...ttp/cases/NewCollectActivityTest/新集卡_助力发集卡_DuibaTest.java
+1
-1
秒杀商品_自有新优惠券_兑换限制_SeckillTest.java
...p/cases/SeckillTest/新秒杀/秒杀商品_自有新优惠券_兑换限制_SeckillTest.java
+1
-0
EditManagerInfoService.java
...est/java/http/service/Manager/EditManagerInfoService.java
+1
-1
No files found.
src/test/java/http/cases/NewCollectActivityTest/新集卡_助力发集卡_DuibaTest.java
View file @
a430c5df
...
...
@@ -243,7 +243,7 @@ public class 新集卡_助力发集卡_DuibaTest extends DuibaTestBase {
Map
<
String
,
String
>
map
=
new
HashMap
<>();
Response
response
=
editManagerInfoService
.
createUser
(
"新用户助力"
,
appId
);
Map
<
String
,
Object
>
user
=
jdbc
.
findSimpleResult
(
"select * from dafuweng.user where name = '新用户助力' and app_id = ?
\n
"
,
appId
);
Map
<
String
,
Object
>
user
=
jdbc
.
findSimpleResult
(
"select * from dafuweng.user where name = '新用户助力' and app_id = ?"
,
appId
);
String
uid
=
user
.
get
(
"id"
).
toString
();
String
url
=
GetCookieUtil
.
genUrl
(
uid
,
"2wGQc3MZaQsqYFWcX4gguya5PnnS"
);
JSONObject
cookie
=
GetCookieUtil
.
getConsumerIdFromCookie
(
url
);
...
...
src/test/java/http/cases/SeckillTest/新秒杀/秒杀商品_自有新优惠券_兑换限制_SeckillTest.java
View file @
a430c5df
...
...
@@ -131,6 +131,7 @@ public class 秒杀商品_自有新优惠券_兑换限制_SeckillTest extends Du
}
Thread
.
sleep
(
1000
);
Response
resultres
=
seckillNewService
.
payResult
(
orderId
,
uid
);
resultres
.
prettyPrint
();
String
failedReason
=
resultres
.
jsonPath
().
getString
(
"data.failedReason"
);
String
result
=
resultres
.
jsonPath
().
getString
(
"data.result"
);
...
...
src/test/java/http/service/Manager/EditManagerInfoService.java
View file @
a430c5df
...
...
@@ -464,7 +464,7 @@ public class EditManagerInfoService {
public
Response
createUser
(
String
name
,
String
appId
){
String
url
=
"http://
autotest-dafuweng.duibatest.com.cn
"
+
"/user/create"
;
String
url
=
"http://
dafuweng.dui88.com
"
+
"/user/create"
;
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"appId"
,
appId
);
map
.
put
(
"name"
,
name
);
...
...
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