Commit ea480679 authored by Su-Yi's avatar Su-Yi

更新maven配置

parent bcdc263e
......@@ -8,7 +8,7 @@
</list>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>
\ No newline at end of file
......@@ -123,11 +123,11 @@
<configuration>
<suiteXmlFiles>
<!-- -->
<suiteXmlFile>testNG.xml</suiteXmlFile>
<suiteXmlFile>src/test/testNG.xml</suiteXmlFile>
</suiteXmlFiles>
<properties>
<property>
<name>usedefaultlisteners</name>
/ <name>usedefaultlisteners</name>
<value>false</value>
</property>
......
......@@ -12,6 +12,8 @@ import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
public class Pay {
private NetworkOperation network = new NetworkOperation();
// http://kjj.m.duibatest.com.cn/kjy/mp/developer/changeUser?uid=1515
......
......@@ -49,7 +49,7 @@
<ul id='nav-mobile' class='right hide-on-med-and-down nav-right'>
<li>
<a href='#!'>
<span class='label suite-start-time blue darken-3'>Apr 3, 2020 03:05:03 PM</span>
<span class='label suite-start-time blue darken-3'>Apr 24, 2020 05:59:31 PM</span>
</a>
</li>
<li>
......@@ -74,7 +74,6 @@
<i class='material-icons'>warning</i> Status
</a>
<ul id='tests-toggle' class='dropdown-content'>
<li status='pass'><a href='#!'>Pass <i class='material-icons green-text'>check_circle</i></a></li>
<li status='fail'><a href='#!'>Fail <i class='material-icons red-text'>cancel</i></a></li>
<li class='divider'></li>
<li status='clear' clear='true'><a href='#!'>Clear Filters <i class='material-icons'>clear</i></a></li>
......@@ -137,10 +136,10 @@
<canvas id='parent-analysis' width='100' height='80'></canvas>
</div>
<div class='block text-small'>
<span class='tooltipped' data-position='top' data-tooltip='50%'><span class='strong'>4</span> test(s) passed</span>
<span class='tooltipped' data-position='top' data-tooltip='0%'><span class='strong'>0</span> test(s) passed</span>
</div>
<div class='block text-small'>
<span class='strong tooltipped' data-position='top' data-tooltip='50%'>4</span> test(s) failed, <span class='strong tooltipped' data-position='top' data-tooltip='0%'>0</span> others
<span class='strong tooltipped' data-position='top' data-tooltip='100%'>8</span> test(s) failed, <span class='strong tooltipped' data-position='top' data-tooltip='0%'>0</span> others
</div>
</div>
</div>
......@@ -152,10 +151,10 @@
<canvas id='child-analysis' width='100' height='80'></canvas>
</div>
<div class='block text-small'>
<span class='tooltipped' data-position='top' data-tooltip='50%'><span class='strong'>4</span> step(s) passed</span>
<span class='tooltipped' data-position='top' data-tooltip='0%'><span class='strong'>0</span> step(s) passed</span>
</div>
<div class='block text-small'>
<span class='strong tooltipped' data-position='top' data-tooltip='50%'>4</span> step(s) failed, <span class='strong tooltipped' data-position='top' data-tooltip='0%'>0</span> others
<span class='strong tooltipped' data-position='top' data-tooltip='100%'>8</span> step(s) failed, <span class='strong tooltipped' data-position='top' data-tooltip='0%'>0</span> others
</div>
</div>
</div>
......@@ -173,16 +172,16 @@
<li class='test displayed active has-leaf fail' status='fail' bdd='false' test-id='1'>
<div class='test-heading'>
<span class='test-name'>客集集-测试结果 : 支付</span>
<span class='test-time'>Apr 3, 2020 03:05:03 PM</span>
<span class='test-time'>Apr 24, 2020 05:59:31 PM</span>
<span class='test-status right fail'>fail</span>
</div>
<div class='test-content hide'>
<div class='test-time-info'>
<span class='label start-time'>Apr 3, 2020 03:05:03 PM</span>
<span class='label end-time'>Apr 3, 2020 03:05:09 PM</span>
<span class='label time-taken grey lighten-1 white-text'>0h 0m 6s+875ms</span>
<span class='label start-time'>Apr 24, 2020 05:59:31 PM</span>
<span class='label end-time'>Apr 24, 2020 05:59:37 PM</span>
<span class='label time-taken grey lighten-1 white-text'>0h 0m 5s+626ms</span>
</div>
<div class='test-desc'>Pass: 4 ; Fail: 4 ; Skip: 0 ; </div>
<div class='test-desc'>Pass: 0 ; Fail: 8 ; Skip: 0 ; </div>
<div class='test-attributes'>
<div class='category-list'>
<span class='category label white-text'>客集集-测试结果</span>
......@@ -194,8 +193,8 @@
<li class='node level-1 leaf fail' status='fail' test-id='2'>
<div class='collapsible-header'>
<div class='node-name'>默认付费_付费页</div>
<span class='node-time'>Apr 3, 2020 03:05:03 PM</span>
<span class='node-duration'>0h 0m 6s+933ms</span>
<span class='node-time'>Apr 24, 2020 05:59:31 PM</span>
<span class='node-duration'>0h 0m 5s+710ms</span>
<span class='test-status right fail'>fail</span>
</div>
<div class='collapsible-body'>
......@@ -215,13 +214,10 @@
<tbody>
<tr class='log' status='fail'>
<td class='status fail' title='fail' alt='fail'><i class='material-icons'>cancel</i></td>
<td class='timestamp'>3:05:10 PM</td>
<td class='step-details'><pre>java.lang.AssertionError: 会员类型版本判断:判断错误,此版本为保险版 expected [1] but found [2]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:370)
at com.kjj.qa.cases.Pay.默认付费_付费页(Pay.java:45)
<td class='timestamp'>5:59:37 PM</td>
<td class='step-details'><pre>java.lang.NullPointerException
at io.restassured.path.json.JsonPath.getInt(JsonPath.java:245)
at com.kjj.qa.cases.Pay.默认付费_付费页(Pay.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
......@@ -243,8 +239,13 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
</pre></td>
</tr>
</tbody>
......@@ -254,9 +255,9 @@
</li>
<li class='node level-1 leaf fail' status='fail' test-id='3'>
<div class='collapsible-header'>
<div class='node-name'>默认付费_切换为保险版会员类型并成功付款</div>
<span class='node-time'>Apr 3, 2020 03:05:07 PM</span>
<span class='node-duration'>0h 0m 2s+757ms</span>
<div class='node-name'>默认付费_待支付</div>
<span class='node-time'>Apr 24, 2020 05:59:34 PM</span>
<span class='node-duration'>0h 0m 2s+960ms</span>
<span class='test-status right fail'>fail</span>
</div>
<div class='collapsible-body'>
......@@ -276,13 +277,13 @@
<tbody>
<tr class='log' status='fail'>
<td class='status fail' title='fail' alt='fail'><i class='material-icons'>cancel</i></td>
<td class='timestamp'>3:05:10 PM</td>
<td class='step-details'><pre>java.lang.AssertionError: 会员类型切换:切换失败 expected [OK] but found [用户切换失败,请稍后再试]
<td class='timestamp'>5:59:37 PM</td>
<td class='step-details'><pre>java.lang.AssertionError: 拉起支付:拉起微信支付失败 expected [wxcb8c36279dd7dff2] but found [null]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.默认付费_切换为保险版会员类型并成功付款(Pay.java:120)
at com.kjj.qa.cases.Pay.默认付费_待支付(Pay.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
......@@ -304,8 +305,13 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
</pre></td>
</tr>
</tbody>
......@@ -315,9 +321,9 @@
</li>
<li class='node level-1 leaf fail' status='fail' test-id='4'>
<div class='collapsible-header'>
<div class='node-name'>分销码_付费页</div>
<span class='node-time'>Apr 3, 2020 03:05:07 PM</span>
<span class='node-duration'>0h 0m 2s+437ms</span>
<div class='node-name'>默认付费_取消支付</div>
<span class='node-time'>Apr 24, 2020 05:59:34 PM</span>
<span class='node-duration'>0h 0m 2s+689ms</span>
<span class='test-status right fail'>fail</span>
</div>
<div class='collapsible-body'>
......@@ -337,13 +343,13 @@
<tbody>
<tr class='log' status='fail'>
<td class='status fail' title='fail' alt='fail'><i class='material-icons'>cancel</i></td>
<td class='timestamp'>3:05:10 PM</td>
<td class='step-details'><pre>java.lang.AssertionError: 获取付费价格:价格不是486 expected [486] but found [586]
<td class='timestamp'>5:59:37 PM</td>
<td class='step-details'><pre>java.lang.AssertionError: 取消支付:取消支付失败 expected [OK] but found [未登录]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.分销码_付费页(Pay.java:157)
at com.kjj.qa.cases.Pay.默认付费_取消支付(Pay.java:99)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
......@@ -365,8 +371,13 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
</pre></td>
</tr>
</tbody>
......@@ -376,9 +387,9 @@
</li>
<li class='node level-1 leaf fail' status='fail' test-id='5'>
<div class='collapsible-header'>
<div class='node-name'>分销码_切换为保险版会员类型并成功付款</div>
<span class='node-time'>Apr 3, 2020 03:05:09 PM</span>
<span class='node-duration'>0h 0m 0s+313ms</span>
<div class='node-name'>默认付费_切换为保险版会员类型并成功付款</div>
<span class='node-time'>Apr 24, 2020 05:59:35 PM</span>
<span class='node-duration'>0h 0m 2s+5ms</span>
<span class='test-status right fail'>fail</span>
</div>
<div class='collapsible-body'>
......@@ -398,13 +409,10 @@
<tbody>
<tr class='log' status='fail'>
<td class='status fail' title='fail' alt='fail'><i class='material-icons'>cancel</i></td>
<td class='timestamp'>3:05:10 PM</td>
<td class='step-details'><pre>java.lang.AssertionError: 会员类型切换:切换失败 expected [OK] but found [用户切换失败,请稍后再试]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.分销码_切换为保险版会员类型并成功付款(Pay.java:231)
<td class='timestamp'>5:59:37 PM</td>
<td class='step-details'><pre>java.lang.NullPointerException
at io.restassured.path.json.JsonPath.getInt(JsonPath.java:245)
at com.kjj.qa.cases.Pay.默认付费_切换为保险版会员类型并成功付款(Pay.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
......@@ -426,8 +434,13 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
</pre></td>
</tr>
</tbody>
......@@ -435,12 +448,12 @@
</div>
</div>
</li>
<li class='node level-1 leaf pass' status='pass' test-id='6'>
<li class='node level-1 leaf fail' status='fail' test-id='6'>
<div class='collapsible-header'>
<div class='node-name'>默认付费_待支付</div>
<span class='node-time'>Apr 3, 2020 03:05:05 PM</span>
<span class='node-duration'>0h 0m 4s+110ms</span>
<span class='test-status right pass'>pass</span>
<div class='node-name'>分销码_付费页</div>
<span class='node-time'>Apr 24, 2020 05:59:35 PM</span>
<span class='node-duration'>0h 0m 1s+547ms</span>
<span class='test-status right fail'>fail</span>
</div>
<div class='collapsible-body'>
<div class='category-list right'>
......@@ -457,22 +470,56 @@
</tr>
</thead>
<tbody>
<tr class='log' status='pass'>
<td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td>
<td class='timestamp'>3:05:10 PM</td>
<td class='step-details'>Test passed</td>
<tr class='log' status='fail'>
<td class='status fail' title='fail' alt='fail'><i class='material-icons'>cancel</i></td>
<td class='timestamp'>5:59:37 PM</td>
<td class='step-details'><pre>java.lang.AssertionError: 绑定分销状态:绑定失败 expected [OK] but found [未登录]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.分销码_付费页(Pay.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
at org.testng.SuiteRunner.run(SuiteRunner.java:254)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
</pre></td>
</tr>
</tbody>
</table>
</div>
</div>
</li>
<li class='node level-1 leaf pass' status='pass' test-id='7'>
<li class='node level-1 leaf fail' status='fail' test-id='7'>
<div class='collapsible-header'>
<div class='node-name'>默认付费_取消支付</div>
<span class='node-time'>Apr 3, 2020 03:05:06 PM</span>
<span class='node-duration'>0h 0m 3s+321ms</span>
<span class='test-status right pass'>pass</span>
<div class='node-name'>分销码_待支付</div>
<span class='node-time'>Apr 24, 2020 05:59:36 PM</span>
<span class='node-duration'>0h 0m 1s+14ms</span>
<span class='test-status right fail'>fail</span>
</div>
<div class='collapsible-body'>
<div class='category-list right'>
......@@ -489,22 +536,53 @@
</tr>
</thead>
<tbody>
<tr class='log' status='pass'>
<td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td>
<td class='timestamp'>3:05:10 PM</td>
<td class='step-details'>Test passed</td>
<tr class='log' status='fail'>
<td class='status fail' title='fail' alt='fail'><i class='material-icons'>cancel</i></td>
<td class='timestamp'>5:59:37 PM</td>
<td class='step-details'><pre>java.lang.NullPointerException
at io.restassured.path.json.JsonPath.getInt(JsonPath.java:245)
at com.kjj.qa.cases.Pay.分销码_待支付(Pay.java:168)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
at org.testng.SuiteRunner.run(SuiteRunner.java:254)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
</pre></td>
</tr>
</tbody>
</table>
</div>
</div>
</li>
<li class='node level-1 leaf pass' status='pass' test-id='8'>
<li class='node level-1 leaf fail' status='fail' test-id='8'>
<div class='collapsible-header'>
<div class='node-name'>分销码_支付</div>
<span class='node-time'>Apr 3, 2020 03:05:08 PM</span>
<span class='node-duration'>0h 0m 1s+684ms</span>
<span class='test-status right pass'>pass</span>
<div class='node-name'>分销码_取消支付</div>
<span class='node-time'>Apr 24, 2020 05:59:36 PM</span>
<span class='node-duration'>0h 0m 0s+560ms</span>
<span class='test-status right fail'>fail</span>
</div>
<div class='collapsible-body'>
<div class='category-list right'>
......@@ -521,22 +599,53 @@
</tr>
</thead>
<tbody>
<tr class='log' status='pass'>
<td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td>
<td class='timestamp'>3:05:10 PM</td>
<td class='step-details'>Test passed</td>
<tr class='log' status='fail'>
<td class='status fail' title='fail' alt='fail'><i class='material-icons'>cancel</i></td>
<td class='timestamp'>5:59:37 PM</td>
<td class='step-details'><pre>java.lang.NullPointerException
at io.restassured.path.json.JsonPath.getInt(JsonPath.java:245)
at com.kjj.qa.cases.Pay.分销码_取消支付(Pay.java:196)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
at org.testng.SuiteRunner.run(SuiteRunner.java:254)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
</pre></td>
</tr>
</tbody>
</table>
</div>
</div>
</li>
<li class='node level-1 leaf pass' status='pass' test-id='9'>
<li class='node level-1 leaf fail' status='fail' test-id='9'>
<div class='collapsible-header'>
<div class='node-name'>分销码_取消支付</div>
<span class='node-time'>Apr 3, 2020 03:05:08 PM</span>
<span class='node-duration'>0h 0m 1s+89ms</span>
<span class='test-status right pass'>pass</span>
<div class='node-name'>分销码_切换为保险版会员类型并成功付款</div>
<span class='node-time'>Apr 24, 2020 05:59:36 PM</span>
<span class='node-duration'>0h 0m 0s+438ms</span>
<span class='test-status right fail'>fail</span>
</div>
<div class='collapsible-body'>
<div class='category-list right'>
......@@ -553,10 +662,41 @@
</tr>
</thead>
<tbody>
<tr class='log' status='pass'>
<td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td>
<td class='timestamp'>3:05:10 PM</td>
<td class='step-details'>Test passed</td>
<tr class='log' status='fail'>
<td class='status fail' title='fail' alt='fail'><i class='material-icons'>cancel</i></td>
<td class='timestamp'>5:59:37 PM</td>
<td class='step-details'><pre>java.lang.NullPointerException
at io.restassured.path.json.JsonPath.getInt(JsonPath.java:245)
at com.kjj.qa.cases.Pay.分销码_切换为保险版会员类型并成功付款(Pay.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
at org.testng.SuiteRunner.run(SuiteRunner.java:254)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
</pre></td>
</tr>
</tbody>
</table>
......@@ -620,14 +760,13 @@
<div class='category-heading'>
<span class='category-name'>客集集-测试结果</span>
<span class='category-status right'>
<span class='label pass'>4</span>
<span class='label fail'>5</span>
<span class='label fail'>9</span>
</span>
</div>
<div class='category-content hide'>
<div class='category-status-counts'>
<span class='label green accent-4 white-text'>Passed: 4</span>
<span class='label red lighten-1 white-text'>Failed: 5</span>
<span class='label red lighten-1 white-text'>Failed: 9</span>
</div>
......@@ -642,49 +781,49 @@
</thead>
<tbody>
<tr>
<td>Apr 3, 2020 03:05:03 PM</td>
<td>Apr 24, 2020 05:59:31 PM</td>
<td class='linked' test-id='1'>客集集-测试结果</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:03 PM</td>
<td>Apr 24, 2020 05:59:31 PM</td>
<td class='linked' test-id='2'>客集集-测试结果.默认付费_付费页</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:07 PM</td>
<td class='linked' test-id='3'>客集集-测试结果.默认付费_切换为保险版会员类型并成功付款</td>
<td>Apr 24, 2020 05:59:34 PM</td>
<td class='linked' test-id='3'>客集集-测试结果.默认付费_待支付</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:07 PM</td>
<td class='linked' test-id='4'>客集集-测试结果.分销码_付费页</td>
<td>Apr 24, 2020 05:59:34 PM</td>
<td class='linked' test-id='4'>客集集-测试结果.默认付费_取消支付</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:09 PM</td>
<td class='linked' test-id='5'>客集集-测试结果.分销码_切换为保险版会员类型并成功付款</td>
<td>Apr 24, 2020 05:59:35 PM</td>
<td class='linked' test-id='5'>客集集-测试结果.默认付费_切换为保险版会员类型并成功付款</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:05 PM</td>
<td class='linked' test-id='6'>客集集-测试结果.默认付费_待支付</td>
<td><span class='test-status pass'>pass</span></td>
<td>Apr 24, 2020 05:59:35 PM</td>
<td class='linked' test-id='6'>客集集-测试结果.分销码_付费页</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:06 PM</td>
<td class='linked' test-id='7'>客集集-测试结果.默认付费_取消支付</td>
<td><span class='test-status pass'>pass</span></td>
<td>Apr 24, 2020 05:59:36 PM</td>
<td class='linked' test-id='7'>客集集-测试结果.分销码_待支付</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:08 PM</td>
<td class='linked' test-id='8'>客集集-测试结果.分销码_支付</td>
<td><span class='test-status pass'>pass</span></td>
<td>Apr 24, 2020 05:59:36 PM</td>
<td class='linked' test-id='8'>客集集-测试结果.分销码_取消支付</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:08 PM</td>
<td class='linked' test-id='9'>客集集-测试结果.分销码_取消支付</td>
<td><span class='test-status pass'>pass</span></td>
<td>Apr 24, 2020 05:59:36 PM</td>
<td class='linked' test-id='9'>客集集-测试结果.分销码_切换为保险版会员类型并成功付款</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
</tbody>
</table>
......@@ -695,14 +834,13 @@
<div class='category-heading'>
<span class='category-name'>支付</span>
<span class='category-status right'>
<span class='label pass'>4</span>
<span class='label fail'>5</span>
<span class='label fail'>9</span>
</span>
</div>
<div class='category-content hide'>
<div class='category-status-counts'>
<span class='label green accent-4 white-text'>Passed: 4</span>
<span class='label red lighten-1 white-text'>Failed: 5</span>
<span class='label red lighten-1 white-text'>Failed: 9</span>
</div>
......@@ -717,49 +855,49 @@
</thead>
<tbody>
<tr>
<td>Apr 3, 2020 03:05:03 PM</td>
<td>Apr 24, 2020 05:59:31 PM</td>
<td class='linked' test-id='1'>客集集-测试结果</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:03 PM</td>
<td>Apr 24, 2020 05:59:31 PM</td>
<td class='linked' test-id='2'>客集集-测试结果.默认付费_付费页</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:07 PM</td>
<td class='linked' test-id='3'>客集集-测试结果.默认付费_切换为保险版会员类型并成功付款</td>
<td>Apr 24, 2020 05:59:34 PM</td>
<td class='linked' test-id='3'>客集集-测试结果.默认付费_待支付</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:07 PM</td>
<td class='linked' test-id='4'>客集集-测试结果.分销码_付费页</td>
<td>Apr 24, 2020 05:59:34 PM</td>
<td class='linked' test-id='4'>客集集-测试结果.默认付费_取消支付</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:09 PM</td>
<td class='linked' test-id='5'>客集集-测试结果.分销码_切换为保险版会员类型并成功付款</td>
<td>Apr 24, 2020 05:59:35 PM</td>
<td class='linked' test-id='5'>客集集-测试结果.默认付费_切换为保险版会员类型并成功付款</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:05 PM</td>
<td class='linked' test-id='6'>客集集-测试结果.默认付费_待支付</td>
<td><span class='test-status pass'>pass</span></td>
<td>Apr 24, 2020 05:59:35 PM</td>
<td class='linked' test-id='6'>客集集-测试结果.分销码_付费页</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:06 PM</td>
<td class='linked' test-id='7'>客集集-测试结果.默认付费_取消支付</td>
<td><span class='test-status pass'>pass</span></td>
<td>Apr 24, 2020 05:59:36 PM</td>
<td class='linked' test-id='7'>客集集-测试结果.分销码_待支付</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:08 PM</td>
<td class='linked' test-id='8'>客集集-测试结果.分销码_支付</td>
<td><span class='test-status pass'>pass</span></td>
<td>Apr 24, 2020 05:59:36 PM</td>
<td class='linked' test-id='8'>客集集-测试结果.分销码_取消支付</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:08 PM</td>
<td class='linked' test-id='9'>客集集-测试结果.分销码_取消支付</td>
<td><span class='test-status pass'>pass</span></td>
<td>Apr 24, 2020 05:59:36 PM</td>
<td class='linked' test-id='9'>客集集-测试结果.分销码_切换为保险版会员类型并成功付款</td>
<td><span class='test-status fail'>fail</span></td>
</tr>
</tbody>
</table>
......@@ -805,8 +943,8 @@
<li class='exception displayed active'>
<div class='exception-heading'>
<span class='exception-name'>java.lang.AssertionError</span>
<span class='exception-count right'><span class='label red lighten-1 white-text'>4</span></span>
<span class='exception-name'>java.lang.NullPointerException</span>
<span class='exception-count right'><span class='label red lighten-1 white-text'>5</span></span>
</div>
<div class='exception-content hide'>
<div class='exception-tests'>
......@@ -820,14 +958,155 @@
</thead>
<tbody>
<tr>
<td>Apr 3, 2020 03:05:03 PM</td>
<td>Apr 24, 2020 05:59:31 PM</td>
<td class='linked' test-id='2'>客集集-测试结果.默认付费_付费页</td>
<td><pre><pre>java.lang.AssertionError: 会员类型版本判断:判断错误,此版本为保险版 expected [1] but found [2]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:370)
at com.kjj.qa.cases.Pay.默认付费_付费页(Pay.java:45)
<td><pre><pre>java.lang.NullPointerException
at io.restassured.path.json.JsonPath.getInt(JsonPath.java:245)
at com.kjj.qa.cases.Pay.默认付费_付费页(Pay.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
at org.testng.SuiteRunner.run(SuiteRunner.java:254)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
</pre></pre></td>
</tr>
<tr>
<td>Apr 24, 2020 05:59:35 PM</td>
<td class='linked' test-id='5'>客集集-测试结果.默认付费_切换为保险版会员类型并成功付款</td>
<td><pre><pre>java.lang.NullPointerException
at io.restassured.path.json.JsonPath.getInt(JsonPath.java:245)
at com.kjj.qa.cases.Pay.默认付费_切换为保险版会员类型并成功付款(Pay.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
at org.testng.SuiteRunner.run(SuiteRunner.java:254)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
</pre></pre></td>
</tr>
<tr>
<td>Apr 24, 2020 05:59:36 PM</td>
<td class='linked' test-id='7'>客集集-测试结果.分销码_待支付</td>
<td><pre><pre>java.lang.NullPointerException
at io.restassured.path.json.JsonPath.getInt(JsonPath.java:245)
at com.kjj.qa.cases.Pay.分销码_待支付(Pay.java:168)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
at org.testng.SuiteRunner.run(SuiteRunner.java:254)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
</pre></pre></td>
</tr>
<tr>
<td>Apr 24, 2020 05:59:36 PM</td>
<td class='linked' test-id='8'>客集集-测试结果.分销码_取消支付</td>
<td><pre><pre>java.lang.NullPointerException
at io.restassured.path.json.JsonPath.getInt(JsonPath.java:245)
at com.kjj.qa.cases.Pay.分销码_取消支付(Pay.java:196)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
at org.testng.SuiteRunner.run(SuiteRunner.java:254)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
</pre></pre></td>
</tr>
<tr>
<td>Apr 24, 2020 05:59:36 PM</td>
<td class='linked' test-id='9'>客集集-测试结果.分销码_切换为保险版会员类型并成功付款</td>
<td><pre><pre>java.lang.NullPointerException
at io.restassured.path.json.JsonPath.getInt(JsonPath.java:245)
at com.kjj.qa.cases.Pay.分销码_切换为保险版会员类型并成功付款(Pay.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
......@@ -849,19 +1128,45 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
</pre></pre></td>
</tr>
</tbody>
</table>
</div>
</div>
</li>
<li class='exception displayed active'>
<div class='exception-heading'>
<span class='exception-name'>java.lang.AssertionError</span>
<span class='exception-count right'><span class='label red lighten-1 white-text'>3</span></span>
</div>
<div class='exception-content hide'>
<div class='exception-tests'>
<table class='bordered table-results'>
<thead>
<tr>
<th>Timestamp</th>
<th>TestName</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tr>
<td>Apr 3, 2020 03:05:07 PM</td>
<td class='linked' test-id='3'>客集集-测试结果.默认付费_切换为保险版会员类型并成功付款</td>
<td><pre><pre>java.lang.AssertionError: 会员类型切换:切换失败 expected [OK] but found [用户切换失败,请稍后再试]
<td>Apr 24, 2020 05:59:34 PM</td>
<td class='linked' test-id='3'>客集集-测试结果.默认付费_待支付</td>
<td><pre><pre>java.lang.AssertionError: 拉起支付:拉起微信支付失败 expected [wxcb8c36279dd7dff2] but found [null]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.默认付费_切换为保险版会员类型并成功付款(Pay.java:120)
at com.kjj.qa.cases.Pay.默认付费_待支付(Pay.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
......@@ -883,19 +1188,24 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
</pre></pre></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:07 PM</td>
<td class='linked' test-id='4'>客集集-测试结果.分销码_付费页</td>
<td><pre><pre>java.lang.AssertionError: 获取付费价格:价格不是486 expected [486] but found [586]
<td>Apr 24, 2020 05:59:34 PM</td>
<td class='linked' test-id='4'>客集集-测试结果.默认付费_取消支付</td>
<td><pre><pre>java.lang.AssertionError: 取消支付:取消支付失败 expected [OK] but found [未登录]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.分销码_付费页(Pay.java:157)
at com.kjj.qa.cases.Pay.默认付费_取消支付(Pay.java:99)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
......@@ -917,19 +1227,24 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
</pre></pre></td>
</tr>
<tr>
<td>Apr 3, 2020 03:05:09 PM</td>
<td class='linked' test-id='5'>客集集-测试结果.分销码_切换为保险版会员类型并成功付款</td>
<td><pre><pre>java.lang.AssertionError: 会员类型切换:切换失败 expected [OK] but found [用户切换失败,请稍后再试]
<td>Apr 24, 2020 05:59:35 PM</td>
<td class='linked' test-id='6'>客集集-测试结果.分销码_付费页</td>
<td><pre><pre>java.lang.AssertionError: 绑定分销状态:绑定失败 expected [OK] but found [未登录]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.分销码_切换为保险版会员类型并成功付款(Pay.java:231)
at com.kjj.qa.cases.Pay.分销码_付费页(Pay.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
......@@ -951,8 +1266,13 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
</pre></pre></td>
</tr>
</tbody>
......@@ -991,19 +1311,19 @@
<div class='col s2'>
<div class='card-panel r'>
Start
<div class='panel-lead'>Apr 3, 2020 03:05:03 PM</div>
<div class='panel-lead'>Apr 24, 2020 05:59:31 PM</div>
</div>
</div>
<div class='col s2'>
<div class='card-panel r'>
End
<div class='panel-lead'>Apr 3, 2020 03:05:09 PM</div>
<div class='panel-lead'>Apr 24, 2020 05:59:37 PM</div>
</div>
</div>
<div class='col s2'>
<div class='card-panel r'>
Time Taken
<div class='panel-lead'>6,875ms</div>
<div class='panel-lead'>5,626ms</div>
</div>
</div>
<div class='col s4'>
......@@ -1019,14 +1339,14 @@
</tr>
<tr>
<td>客集集-测试结果</td>
<td>4</td>
<td>5</td>
<td>0</td>
<td>9</td>
<td>0</td>
</tr>
<tr>
<td>支付</td>
<td>4</td>
<td>5</td>
<td>0</td>
<td>9</td>
<td>0</td>
</tr>
</table>
......@@ -1042,22 +1362,22 @@
<script>
var statusGroup = {
passParent: 4,
failParent: 4,
passParent: 0,
failParent: 8,
fatalParent: 0,
errorParent: 0,
warningParent: 0,
skipParent: 0,
exceptionsParent: 4,
exceptionsParent: 8,
passChild: 4,
failChild: 4,
passChild: 0,
failChild: 8,
fatalChild: 0,
errorChild: 0,
warningChild: 0,
skipChild: 0,
infoChild: 0,
exceptionsChild: 4,
exceptionsChild: 8,
passGrandChild: 0,
failGrandChild: 0,
......
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