Commit c031bb78 by fangyuan

注释 登录请求后等待15s

parent 27c7d2b2
......@@ -68,11 +68,11 @@ public class CommonLogin {
String data = "{\"accountNo\":\"" + accountNo + "\",\"certificate\":\"" + certificate + "\",\"appTerm\":\"PC\",\"loginType\":\"PHONE_PWD\"}";
okHttpClient.doPostRequest(url, data, headers);
try {
TimeUnit.SECONDS.sleep(16);
} catch (InterruptedException e) {
e.printStackTrace();
}
// try {
// TimeUnit.SECONDS.sleep(16);
// } catch (InterruptedException e) {
// e.printStackTrace();
// }
body = okHttpClient.getBodyInJSON();
// 校验是否登录成功
// Assert.assertEquals(body.getString("success"), "true",
......
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