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
c1e9e842
Commit
c1e9e842
authored
Mar 13, 2019
by
马博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
35c82808
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
秒杀自有老实物_兑换限制.java
src/test/java/http/cases/SeckillTest/秒杀自有老实物_兑换限制.java
+41
-0
No files found.
src/test/java/http/cases/SeckillTest/秒杀自有老实物_兑换限制.java
0 → 100644
View file @
c1e9e842
package
http
.
cases
.
SeckillTest
;
import
base.DuibaTestBase
;
import
http.service.app.SeckillService
;
import
io.restassured.response.Response
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.testng.annotations.BeforeMethod
;
import
org.testng.annotations.Test
;
import
java.sql.SQLException
;
/**
* Created by mabo on 2019/3/13
*/
public
class
秒杀自有老实物
_
兑换限制
extends
DuibaTestBase
{
@Autowired
SeckillService
seckillService
;
public
static
int
uid
=
6554
;
// @BeforeMethod
// public void beforeMethod() {
// try {
// jdbc.update("DELETE FROM credits_dev.consumer_limit_record where item_id=191783 and consumer_id = 100137015");
// } catch (SQLException e) {
// e.printStackTrace();
// }
//
//
// }
// @Test
public
void
每人每日兑换限制
(){
Response
response
=
seckillService
.
exchange1
(
"191783"
,
"undefined"
,
uid
);
response
.
prettyPrint
();
response
=
seckillService
.
exchange1
(
"191783"
,
"undefined"
,
uid
);
response
.
prettyPrint
();
}
}
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