Commit e123db8f authored by 赵然's avatar 赵然

Merge branch 'master' of gitlab2.dui88.com:mabo/test-platform

parents a0005406 c6d89476
......@@ -115,7 +115,7 @@ public class 积分夺宝开奖_AccessTest extends DuibaTestBase {
//同一用户并发领奖 【自动化勿动】lv测试优惠券
@Test(threadPoolSize = 5, invocationCount =5)
public void 夺宝单用户并发领奖() throws Exception {
public void A_夺宝单用户并发领奖() throws Exception {
int uid = 7397;
String activityId = "45465";
String detailId = "8";
......@@ -135,7 +135,8 @@ public class 积分夺宝开奖_AccessTest extends DuibaTestBase {
resultList.add(rewardResponse.asString());
logger.info("请求返回结果:" + rewardResponse.asString());
}
@Test(dependsOnMethods = "夺宝单用户并发领奖")
@Test(dependsOnMethods = "A_夺宝单用户并发领奖")
public void checkResult(){
int fail = 0;
int success = 0;
......@@ -177,7 +178,7 @@ public class 积分夺宝开奖_AccessTest extends DuibaTestBase {
String prizeCode = String.valueOf(detailResponse.jsonPath().getString("data.prizeCode"));
Assert.assertEquals(prizeType,"object","校验prizeType失败");
Assert.assertEquals(rewardStatus,"1","校验rewardStatus失败");
Assert.assertEquals(rewardStatus,"3","校验rewardStatus失败"); //奖品过期了未领取
Assert.assertEquals(prizeCode,"887316214305","校验prizeCode失败");
//校验领奖后的页面跳转链接
......
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