Commit 9f74f30c authored by 赵然's avatar 赵然

zr

parent 40d83aed
......@@ -68,7 +68,7 @@ public class 兑吧_优惠券秒杀商品兑换测试_SeckillTest extends DuibaT
String title = MatcherString.getString(queryResponse.asString(),"<title>(.*?)</title>",1);
String kind = MatcherString.getString(queryResponse.asString(),"\"kind\":\"(.*?)\",",1);
for (int i=36;i >0;i--){
for (int i=40;i >0;i--){
if ((title.equals("等待中"))||(kind.equals("process"))){
Thread.sleep(3000);
queryResponse = seckillService.queueQuery(queueId,uid_Nomal);
......
......@@ -147,7 +147,7 @@ public class 秒杀自有老实物_兑换限制_SeckillTest extends DuibaTestBas
String result = MatcherString.getString(queryResponse.asString(),"<h2 class=\"tit\">(.*?)</h2>",1);
Thread.sleep(5000);
response = seckillService.detail(orderId,uid);
response.prettyPrint();
String failedReason = response.jsonPath().getString("data.failedReason");
......
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