Eazin 10 ay önce
ebeveyn
işleme
609761cef9
29 değiştirilmiş dosya ile 412 ekleme ve 90 silme
  1. 149 0
      ajcore.20240805.134256.561.txt
  2. 149 0
      ajcore.20240805.140448.489.txt
  3. 1 0
      allure-results/123e0b6a-1ac5-4435-8708-504ecc6d20d7-container.json
  4. 1 0
      allure-results/18432769-5be1-48ce-b906-c1ed60bf45d3-result.json
  5. 1 0
      allure-results/198a0574-4ad2-4c37-8a60-69f64c41725f-container.json
  6. 1 0
      allure-results/1f8aca66-b7c9-4ee4-965a-6bf4c8cd5141-container.json
  7. 1 0
      allure-results/30484d15-31dd-4d15-a462-1addc13d6d35-container.json
  8. 1 0
      allure-results/32268e01-6348-43d1-997e-be6ddf2fa750-container.json
  9. 1 0
      allure-results/3282e5fb-98aa-42ef-a07e-62f45a8ab315-container.json
  10. 1 0
      allure-results/3385b902-47fa-4aa3-abd9-d28ee68ff469-container.json
  11. 1 0
      allure-results/50cb3524-9408-40c7-8897-6d0e4d7ccabf-container.json
  12. 1 0
      allure-results/61cfb732-fecf-4daf-b981-f0e63279edac-container.json
  13. 1 0
      allure-results/666dae6c-9892-4122-a6cf-8bfb35f76606-container.json
  14. 1 0
      allure-results/7bb02598-90f8-4d6d-b654-fda33351954a-container.json
  15. 1 0
      allure-results/81f30767-713c-4fb1-9b79-58382cecf1d6-result.json
  16. 1 0
      allure-results/bd03aead-a5dc-4306-aeef-8a3fb662f91f-container.json
  17. 1 0
      allure-results/c1c87b2d-3e11-45a2-a31c-5395a6c46271-container.json
  18. 1 0
      allure-results/c38ffd25-a6c1-4983-8e9d-fe804ead918a-result.json
  19. 1 0
      allure-results/cec4f1f5-a446-4c0f-bc04-4dfc01efb727-container.json
  20. 1 0
      allure-results/d732fb3b-9f40-43f9-9f98-e198d5f9dadc-result.json
  21. 1 0
      allure-results/db4310d8-f43b-47bb-a43c-84c03ca2e21a-result.json
  22. 1 0
      allure-results/dd264cf1-49f8-4df6-bbb2-8cc3f88fc06e-container.json
  23. 1 0
      allure-results/e477aa49-7d70-477a-9a65-0ee0bdaba9a2-container.json
  24. 1 0
      allure-results/e67a96da-2df1-4241-9f8f-762ddcdc9672-result.json
  25. 1 0
      allure-results/e871fae0-11da-4e91-8e35-a7430485751e-container.json
  26. 1 0
      allure-results/ee1d5360-72a6-4492-9373-ce04f57529ce-result.json
  27. 1 0
      allure-results/efe5a61e-a45a-4ada-9e19-e83136aadc70-container.json
  28. 0 1
      src/main/resources/apijson/page/loginPage/apiPcpLogin.json
  29. 89 89
      src/test/java/page/LoginPageTest.java

Dosya farkı çok büyük olduğundan ihmal edildi
+ 149 - 0
ajcore.20240805.134256.561.txt


Dosya farkı çok büyük olduğundan ihmal edildi
+ 149 - 0
ajcore.20240805.140448.489.txt


+ 1 - 0
allure-results/123e0b6a-1ac5-4435-8708-504ecc6d20d7-container.json

@@ -0,0 +1 @@
+{"uuid":"123e0b6a-1ac5-4435-8708-504ecc6d20d7","name":"page.LoginPageTest","children":["ee1d5360-72a6-4492-9373-ce04f57529ce"],"befores":[],"afters":[],"start":1722837294252,"stop":1722837299087}

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 0
allure-results/18432769-5be1-48ce-b906-c1ed60bf45d3-result.json


+ 1 - 0
allure-results/198a0574-4ad2-4c37-8a60-69f64c41725f-container.json

@@ -0,0 +1 @@
+{"uuid":"198a0574-4ad2-4c37-8a60-69f64c41725f","name":"Default Suite","children":["50cb3524-9408-40c7-8897-6d0e4d7ccabf"],"befores":[],"afters":[],"start":1722837294247,"stop":1722837299091}

+ 1 - 0
allure-results/1f8aca66-b7c9-4ee4-965a-6bf4c8cd5141-container.json

@@ -0,0 +1 @@
+{"uuid":"1f8aca66-b7c9-4ee4-965a-6bf4c8cd5141","name":"ZhengFengYunApi","children":["e67a96da-2df1-4241-9f8f-762ddcdc9672"],"befores":[],"afters":[],"start":1722837575138,"stop":1722837578997}

+ 1 - 0
allure-results/30484d15-31dd-4d15-a462-1addc13d6d35-container.json

@@ -0,0 +1 @@
+{"uuid":"30484d15-31dd-4d15-a462-1addc13d6d35","name":"page.LoginPageTest","children":["db4310d8-f43b-47bb-a43c-84c03ca2e21a","18432769-5be1-48ce-b906-c1ed60bf45d3"],"befores":[],"afters":[],"start":1722837428162,"stop":1722837432376}

+ 1 - 0
allure-results/32268e01-6348-43d1-997e-be6ddf2fa750-container.json

@@ -0,0 +1 @@
+{"uuid":"32268e01-6348-43d1-997e-be6ddf2fa750","name":"page.LoginPageTest","children":["e67a96da-2df1-4241-9f8f-762ddcdc9672"],"befores":[],"afters":[],"start":1722837575140,"stop":1722837579009}

+ 1 - 0
allure-results/3282e5fb-98aa-42ef-a07e-62f45a8ab315-container.json

@@ -0,0 +1 @@
+{"uuid":"3282e5fb-98aa-42ef-a07e-62f45a8ab315","name":"Default Suite","children":["61cfb732-fecf-4daf-b981-f0e63279edac"],"befores":[],"afters":[],"start":1722837736649,"stop":1722837741028}

+ 1 - 0
allure-results/3385b902-47fa-4aa3-abd9-d28ee68ff469-container.json

@@ -0,0 +1 @@
+{"uuid":"3385b902-47fa-4aa3-abd9-d28ee68ff469","name":"page.LoginPageTest","children":["d732fb3b-9f40-43f9-9f98-e198d5f9dadc"],"befores":[],"afters":[],"start":1722837736653,"stop":1722837741026}

+ 1 - 0
allure-results/50cb3524-9408-40c7-8897-6d0e4d7ccabf-container.json

@@ -0,0 +1 @@
+{"uuid":"50cb3524-9408-40c7-8897-6d0e4d7ccabf","name":"ZhengFengYunApi","children":["ee1d5360-72a6-4492-9373-ce04f57529ce"],"befores":[],"afters":[],"start":1722837294250,"stop":1722837299071}

+ 1 - 0
allure-results/61cfb732-fecf-4daf-b981-f0e63279edac-container.json

@@ -0,0 +1 @@
+{"uuid":"61cfb732-fecf-4daf-b981-f0e63279edac","name":"ZhengFengYunApi","children":["d732fb3b-9f40-43f9-9f98-e198d5f9dadc"],"befores":[],"afters":[],"start":1722837736652,"stop":1722837741016}

+ 1 - 0
allure-results/666dae6c-9892-4122-a6cf-8bfb35f76606-container.json

@@ -0,0 +1 @@
+{"uuid":"666dae6c-9892-4122-a6cf-8bfb35f76606","name":"Default Suite","children":["e477aa49-7d70-477a-9a65-0ee0bdaba9a2"],"befores":[],"afters":[],"start":1722837488641,"stop":1722837492429}

+ 1 - 0
allure-results/7bb02598-90f8-4d6d-b654-fda33351954a-container.json

@@ -0,0 +1 @@
+{"uuid":"7bb02598-90f8-4d6d-b654-fda33351954a","name":"ZhengFengYunApi","children":["c38ffd25-a6c1-4983-8e9d-fe804ead918a"],"befores":[],"afters":[],"start":1722837380710,"stop":1722837384599}

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 0
allure-results/81f30767-713c-4fb1-9b79-58382cecf1d6-result.json


+ 1 - 0
allure-results/bd03aead-a5dc-4306-aeef-8a3fb662f91f-container.json

@@ -0,0 +1 @@
+{"uuid":"bd03aead-a5dc-4306-aeef-8a3fb662f91f","name":"Default Suite","children":["e871fae0-11da-4e91-8e35-a7430485751e"],"befores":[],"afters":[],"start":1722837428156,"stop":1722837432379}

+ 1 - 0
allure-results/c1c87b2d-3e11-45a2-a31c-5395a6c46271-container.json

@@ -0,0 +1 @@
+{"uuid":"c1c87b2d-3e11-45a2-a31c-5395a6c46271","name":"Default Suite","children":["1f8aca66-b7c9-4ee4-965a-6bf4c8cd5141"],"befores":[],"afters":[],"start":1722837575136,"stop":1722837579012}

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 0
allure-results/c38ffd25-a6c1-4983-8e9d-fe804ead918a-result.json


+ 1 - 0
allure-results/cec4f1f5-a446-4c0f-bc04-4dfc01efb727-container.json

@@ -0,0 +1 @@
+{"uuid":"cec4f1f5-a446-4c0f-bc04-4dfc01efb727","name":"page.LoginPageTest","children":["c38ffd25-a6c1-4983-8e9d-fe804ead918a"],"befores":[],"afters":[],"start":1722837380712,"stop":1722837384619}

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 0
allure-results/d732fb3b-9f40-43f9-9f98-e198d5f9dadc-result.json


Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 0
allure-results/db4310d8-f43b-47bb-a43c-84c03ca2e21a-result.json


+ 1 - 0
allure-results/dd264cf1-49f8-4df6-bbb2-8cc3f88fc06e-container.json

@@ -0,0 +1 @@
+{"uuid":"dd264cf1-49f8-4df6-bbb2-8cc3f88fc06e","name":"page.LoginPageTest","children":["81f30767-713c-4fb1-9b79-58382cecf1d6"],"befores":[],"afters":[],"start":1722837488645,"stop":1722837492427}

+ 1 - 0
allure-results/e477aa49-7d70-477a-9a65-0ee0bdaba9a2-container.json

@@ -0,0 +1 @@
+{"uuid":"e477aa49-7d70-477a-9a65-0ee0bdaba9a2","name":"ZhengFengYunApi","children":["81f30767-713c-4fb1-9b79-58382cecf1d6"],"befores":[],"afters":[],"start":1722837488643,"stop":1722837492417}

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 0
allure-results/e67a96da-2df1-4241-9f8f-762ddcdc9672-result.json


+ 1 - 0
allure-results/e871fae0-11da-4e91-8e35-a7430485751e-container.json

@@ -0,0 +1 @@
+{"uuid":"e871fae0-11da-4e91-8e35-a7430485751e","name":"ZhengFengYunApi","children":["db4310d8-f43b-47bb-a43c-84c03ca2e21a","18432769-5be1-48ce-b906-c1ed60bf45d3"],"befores":[],"afters":[],"start":1722837428160,"stop":1722837432365}

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 0
allure-results/ee1d5360-72a6-4492-9373-ce04f57529ce-result.json


+ 1 - 0
allure-results/efe5a61e-a45a-4ada-9e19-e83136aadc70-container.json

@@ -0,0 +1 @@
+{"uuid":"efe5a61e-a45a-4ada-9e19-e83136aadc70","name":"Default Suite","children":["7bb02598-90f8-4d6d-b654-fda33351954a"],"befores":[],"afters":[],"start":1722837380707,"stop":1722837384623}

+ 0 - 1
src/main/resources/apijson/page/loginPage/apiPcpLogin.json

@@ -2,6 +2,5 @@
   "username" : "",
   "password" : "",
   "keepAlive" : 0,
-  "code" : "",
   "key" : ""
 }

+ 89 - 89
src/test/java/page/LoginPageTest.java

@@ -80,62 +80,62 @@ public class LoginPageTest {
         };
     }
 
-    @Test(dataProvider = "图片验证码")
-    @Description("异常测试用例:【密码登录】验证码为空、错误,登录失败")
-    @Story("登录")
-    public void vercodeEmptyLoginFail(String vercode){
-        String code=LoginPage.getLoginPage().getImageVercode();
-        HashMap<String, Object> map=new HashMap<>();
-        map.put("_file", "/apijson/page/loginPage/apiPcpLogin.json");
-        map.put("username",config.username);
-        map.put("password",config.password);
-        map.put("code",vercode);
-        map.put("key",code);
-        Response response=LoginPage.getLoginPage().passwordLoginSuccess(map);
-        assertEquals((int) response.path("code"),400);
-        assertTrue(response.path("data")==null);
-        assertEquals(response.path("message"),"输入的验证码不一致");
-    }
-
-    @DataProvider(name = "验证码Key")
-    public String[][] keyData(){
-        return new String[][]{
-                {""},{"1"}
-        };
-    }
+//    @Test(dataProvider = "图片验证码")
+//    @Description("异常测试用例:【密码登录】验证码为空、错误,登录失败")
+//    @Story("登录")
+//    public void vercodeEmptyLoginFail(String vercode){
+//        String code=LoginPage.getLoginPage().getImageVercode();
+//        HashMap<String, Object> map=new HashMap<>();
+//        map.put("_file", "/apijson/page/loginPage/apiPcpLogin.json");
+//        map.put("username",config.username);
+//        map.put("password",config.password);
+//        map.put("code",vercode);
+//        map.put("key",code);
+//        Response response=LoginPage.getLoginPage().passwordLoginSuccess(map);
+//        assertEquals((int) response.path("code"),400);
+//        assertTrue(response.path("data")==null);
+//        assertEquals(response.path("message"),"输入的验证码不一致");
+//    }
 
-    @Test(dataProvider = "验证码Key")
-    @Description("异常测试用例:【密码登录】验证码的key为空、错误,登录失败")
-    @Story("登录")
-    public void keyEmptyLoginFail(String key){
-        String code=LoginPage.getLoginPage().getImageVercode();
-        HashMap<String, Object> map=new HashMap<>();
-        map.put("_file", "/apijson/page/loginPage/apiPcpLogin.json");
-        map.put("username",config.username);
-        map.put("password",config.password);
-        map.put("code",code.substring(code.length()-4));
-        map.put("key",key);
-        Response response=LoginPage.getLoginPage().passwordLoginSuccess(map);
-        assertEquals((int) response.path("code"),400);
-        assertTrue(response.path("data")==null);
-        assertEquals(response.path("message"),"验证码已过期");
-    }
+//    @DataProvider(name = "验证码Key")
+//    public String[][] keyData(){
+//        return new String[][]{
+//                {""},{"1"}
+//        };
+//    }
+//
+//    @Test(dataProvider = "验证码Key")
+//    @Description("异常测试用例:【密码登录】验证码的key为空、错误,登录失败")
+//    @Story("登录")
+//    public void keyEmptyLoginFail(String key){
+//        String code=LoginPage.getLoginPage().getImageVercode();
+//        HashMap<String, Object> map=new HashMap<>();
+//        map.put("_file", "/apijson/page/loginPage/apiPcpLogin.json");
+//        map.put("username",config.username);
+//        map.put("password",config.password);
+//        map.put("code",code.substring(code.length()-4));
+//        map.put("key",key);
+//        Response response=LoginPage.getLoginPage().passwordLoginSuccess(map);
+//        assertEquals((int) response.path("code"),400);
+//        assertTrue(response.path("data")==null);
+//        assertEquals(response.path("message"),"验证码已过期");
+//    }
 
-    @Test()
-    @Description("异常测试用例:【密码登录】所有字段为空,登录失败")
-    @Story("登录")
-    public void allEmptyLoginFail(){
-        HashMap<String, Object> map=new HashMap<>();
-        map.put("_file", "/apijson/page/loginPage/apiPcpLogin.json");
-        map.put("username","");
-        map.put("password","");
-        map.put("code","");
-        map.put("key","");
-        Response response=LoginPage.getLoginPage().passwordLoginSuccess(map);
-        assertEquals((int) response.path("code"),400);
-        assertTrue(response.path("data")==null);
-        assertEquals(response.path("message"),"验证码已过期");
-    }
+//    @Test()
+//    @Description("异常测试用例:【密码登录】所有字段为空,登录失败")
+//    @Story("登录")
+//    public void allEmptyLoginFail(){
+//        HashMap<String, Object> map=new HashMap<>();
+//        map.put("_file", "/apijson/page/loginPage/apiPcpLogin.json");
+//        map.put("username","");
+//        map.put("password","");
+////        map.put("code","");
+////        map.put("key","");
+//        Response response=LoginPage.getLoginPage().passwordLoginSuccess(map);
+//        assertEquals((int) response.path("code"),400);
+//        assertTrue(response.path("data")==null);
+//        assertEquals(response.path("message"),"验证码已过期");
+//    }
 
 //    @Test()
 //    @Description("正常测试用例:【验证码登录】手机号、验证码正确,登录成功")
@@ -175,39 +175,39 @@ public class LoginPageTest {
 //        assertEquals(response.path("message"),"用户不存在或者已禁用");
 //    }
 
-    @DataProvider(name = "短信验证码")
-    public String[][] vercodeMessageData(){
-        return new String[][]{
-                {""},{"1"}
-        };
-    }
-
-
-    @Test(dataProvider = "短信验证码")
-    @Description("异常测试用例:【验证码登录】验证码为空,登录失败")
-    @Story("登录")
-    public void vercodeNullLoginFail(String code){
-        HashMap<String, Object> map=new HashMap<>();
-        map.put("_file", "/apijson/page/loginPage/apiPcpVerLogin.json");
-        map.put("phone",config.username);
-        map.put("code",code);
-        Response response=LoginPage.getLoginPage().vercodeLoginSuccess(map);
-        assertEquals((int) response.path("code"),400);
-        assertTrue(response.path("data")==null);
-        assertEquals(response.path("message"),"验证码错误或已过期");
-    }
-
-    @Test
-    @Description("异常测试用例:【验证码登录】手机号、验证码为空,登录失败")
-    @Story("登录")
-    public void allEmptyVercodeLoginFail(){
-        HashMap<String, Object> map=new HashMap<>();
-        map.put("_file", "/apijson/page/loginPage/apiPcpVerLogin.json");
-        map.put("phone","");
-        map.put("code","");
-        Response response=LoginPage.getLoginPage().vercodeLoginSuccess(map);
-        assertEquals((int) response.path("code"),400);
-        assertTrue(response.path("data")==null);
-        assertEquals(response.path("message"),"验证码错误或已过期");
-    }
+//    @DataProvider(name = "短信验证码")
+//    public String[][] vercodeMessageData(){
+//        return new String[][]{
+//                {""},{"1"}
+//        };
+//    }
+//
+//
+//    @Test(dataProvider = "短信验证码")
+//    @Description("异常测试用例:【验证码登录】验证码为空,登录失败")
+//    @Story("登录")
+//    public void vercodeNullLoginFail(String code){
+//        HashMap<String, Object> map=new HashMap<>();
+//        map.put("_file", "/apijson/page/loginPage/apiPcpVerLogin.json");
+//        map.put("phone",config.username);
+//        map.put("code",code);
+//        Response response=LoginPage.getLoginPage().vercodeLoginSuccess(map);
+//        assertEquals((int) response.path("code"),400);
+//        assertTrue(response.path("data")==null);
+//        assertEquals(response.path("message"),"验证码错误或已过期");
+//    }
+//
+//    @Test
+//    @Description("异常测试用例:【验证码登录】手机号、验证码为空,登录失败")
+//    @Story("登录")
+//    public void allEmptyVercodeLoginFail(){
+//        HashMap<String, Object> map=new HashMap<>();
+//        map.put("_file", "/apijson/page/loginPage/apiPcpVerLogin.json");
+//        map.put("phone","");
+//        map.put("code","");
+//        Response response=LoginPage.getLoginPage().vercodeLoginSuccess(map);
+//        assertEquals((int) response.path("code"),400);
+//        assertTrue(response.path("data")==null);
+//        assertEquals(response.path("message"),"验证码错误或已过期");
+//    }
 }