Commit c1e9e842 authored by 马博's avatar 马博

fix

parent 35c82808
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();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment