Commit 1ed68c07 by donghu

test

1 parent 034c347f
Showing 63 changed files with 727 additions and 104 deletions
......@@ -4,5 +4,6 @@ encoding//src/main/resources=UTF-8
encoding//src/main/resources/log4j.properties=UTF-8
encoding//src/main/resources/pre/config/server.properties=UTF-8
encoding//src/main/resources/t3/config/server.properties=UTF-8
encoding//src/main/resources/t6/config/server.properties=UTF-8
encoding//src/test/java=UTF-8
encoding/<project>=UTF-8
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
[2021-07-30 17:52:18.447] [main] [ERROR] - [com.fangdd.qa.framework.utils.http.HttpUtil:339] - HttpUtil execute error:
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1587)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at com.fangdd.qa.framework.utils.http.HttpUtil.execute(HttpUtil.java:255)
at com.fangdd.qa.framework.tools.HttpToolKit.invokePutJson(HttpToolKit.java:340)
at com.fangdd.qa.testng.TestngSuiteListener.reportTestSuiteStatistic(TestngSuiteListener.java:90)
at com.fangdd.qa.testng.TestngSuiteListener.onFinish(TestngSuiteListener.java:77)
at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:232)
at org.testng.SuiteRunner.run(SuiteRunner.java:292)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
[2021-08-03 11:30:02.751] [main] [ERROR] - [com.fangdd.qa.framework.utils.http.HttpUtil:339] - HttpUtil execute error:
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1587)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at com.fangdd.qa.framework.utils.http.HttpUtil.execute(HttpUtil.java:255)
at com.fangdd.qa.framework.tools.HttpToolKit.invokePutJson(HttpToolKit.java:340)
at com.fangdd.qa.testng.TestngSuiteListener.reportTestSuiteStatistic(TestngSuiteListener.java:90)
at com.fangdd.qa.testng.TestngSuiteListener.onFinish(TestngSuiteListener.java:77)
at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:232)
at org.testng.SuiteRunner.run(SuiteRunner.java:292)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
[2021-08-03 13:34:30.663] [main] [ERROR] - [com.fangdd.qa.framework.utils.http.HttpUtil:339] - HttpUtil execute error:
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1587)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at com.fangdd.qa.framework.utils.http.HttpUtil.execute(HttpUtil.java:255)
at com.fangdd.qa.framework.tools.HttpToolKit.invokePutJson(HttpToolKit.java:340)
at com.fangdd.qa.testng.TestngSuiteListener.reportTestSuiteStatistic(TestngSuiteListener.java:90)
at com.fangdd.qa.testng.TestngSuiteListener.onFinish(TestngSuiteListener.java:77)
at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:232)
at org.testng.SuiteRunner.run(SuiteRunner.java:292)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -36,9 +36,9 @@
<profiles>
<profile>
<!-- t3测试环境 -->
<id>t3</id>
<id>t6</id>
<properties>
<profiles.active>t3</profiles.active>
<profiles.active>t6</profiles.active>
</properties>
<!-- 默认选择此环境 -->
<activation>
......@@ -332,7 +332,7 @@
<directory>src/main/resources</directory>
<!-- 资源根目录排除各环境的配置,使用单独的资源目录来指定 -->
<excludes>
<exclude>t3/*</exclude>
<exclude>t6/*</exclude>
<exclude>pre/*</exclude>
</excludes>
......
......@@ -25,10 +25,16 @@ public class BasicData {
public final static String userMobile = "13823774134";
public final static String playMobile = "13823774131";
//派单厅
public final static String roomNo = "TEST833760";
//13823774131用户对应公会ID
public final static String guildCode = "18306720";
//T3环境对应派单厅
//public final static String roomNo = "TEST833760";
//T6环境对应厅
public final static String roomNo = "TEST274746";
//13823774131用户对应公会ID t3环境
//public final static String guildCode = "18306720";
//13823774131用户对应公会ID t6环境
public final static String guildCode = "18376254";
}
......@@ -82,4 +82,24 @@ public interface CosPlayPlayerService {
*/
public JSONObject userListCheck(String mobile);
public JSONObject getUserBalance();
public JSONObject getUserSimple(String mobile);
public JSONObject getUserSimple2(String mobile);
public JSONObject getHome();
public JSONObject userGet();
public JSONObject getMine();
public JSONObject managerList();
public JSONObject roomRecord();
public JSONObject recordExport();
public JSONObject delete();
}
......@@ -774,7 +774,105 @@ public class CosPlyaPlayerServiceImpl implements CosPlayPlayerService {
JSONObject jsonObj = HttpToolKit.invokePost(upSizeUrl, headers, sendParams).getJSONObject();
return jsonObj;
}
@Override
public JSONObject getUserBalance() {
String getUserBalanceUrl = "https://"+env+"-api-app.apeiwan.com/api/v1/user/balance/get";
Map<String, Object> sendParams = new HashMap();
headers.put("token", userMobileToken);
JSONObject jsonObj = HttpToolKit.invokePost(getUserBalanceUrl, headers, sendParams).getJSONObject();
return jsonObj;
}
@Override
public JSONObject getUserSimple(String mobile) {
String getUserSimpleUrl = "https://"+env+"-api-app.apeiwan.com/api/v1/user/simple/get";
Map<String, Object> sendParams = new HashMap();
JSONObject userJsonObj = this.userList(mobile);
String userId = userJsonObj.getString("id");
sendParams.put("userId", userId);
sendParams.put("roomNo", BasicData.roomNo);
headers.put("token", userMobileToken);
JSONObject jsonObj = HttpToolKit.invokePost(getUserSimpleUrl, headers, sendParams).getJSONObject();
return jsonObj;
}
@Override
public JSONObject getUserSimple2(String mobile) {
String getUserSimpleUrl = "https://"+env+"-api-app.apeiwan.com/api/v2/user/simple/get";
Map<String, Object> sendParams = new HashMap();
JSONObject userJsonObj = this.userList(mobile);
String userId = userJsonObj.getString("id");
sendParams.put("userId", userId);
sendParams.put("roomNo", BasicData.roomNo);
headers.put("token", userMobileToken);
JSONObject jsonObj = HttpToolKit.invokePost(getUserSimpleUrl, headers, sendParams).getJSONObject();
return jsonObj;
}
@Override
public JSONObject getHome() {
String getHomeUrl = "https://"+env+"-api-app.apeiwan.com/api/v3/user/get-home";
Map<String, Object> sendParams = new HashMap();
headers.put("token", userMobileToken);
JSONObject jsonObj = HttpToolKit.invokePost(getHomeUrl, headers, sendParams).getJSONObject();
return jsonObj;
}
@Override
public JSONObject userGet() {
String userGetUrl = "https://"+env+"-api-app.apeiwan.com/api/api/v2/user/get";
Map<String, Object> sendParams = new HashMap();
headers.put("token", userMobileToken);
JSONObject jsonObj = HttpToolKit.invokePost(userGetUrl, headers, sendParams).getJSONObject();
return jsonObj;
}
@Override
public JSONObject getMine() {
String userGetUrl = "https://"+env+"-api-app.apeiwan.com/api/v3/user/get-mine";
Map<String, Object> sendParams = new HashMap();
headers.put("token", userMobileToken);
JSONObject jsonObj = HttpToolKit.invokePost(userGetUrl, headers, sendParams).getJSONObject();
return jsonObj;
}
@Override
public JSONObject managerList() {
String managerListUrl = "https://"+env+"-api-admin.apeiwan.com/api/v1/rask/manager/list";
Map<String, Object> sendParams = new HashMap();
headers.put("token", adminToken);
sendParams.put("pageNum", "1");
sendParams.put("pageSize", "10");
JSONObject jsonObj = HttpToolKit.invokePost(managerListUrl, headers, sendParams).getJSONObject();
return jsonObj;
}
@Override
public JSONObject roomRecord() {
String managerListUrl = "https://"+env+"-api-admin.apeiwan.com/api/v1/rask/manager/room/record";
Map<String, Object> sendParams = new HashMap();
headers.put("token", adminToken);
sendParams.put("pageNum", "1");
sendParams.put("pageSize", "10");
JSONObject jsonObj = HttpToolKit.invokePost(managerListUrl, headers, sendParams).getJSONObject();
return jsonObj;
}
@Override
public JSONObject recordExport() {
String managerListUrl = "https://"+env+"-api-admin.apeiwan.com/api/v1/rask/manager/room/operate/record/export";
Map<String, Object> sendParams = new HashMap();
headers.put("token", adminToken);
JSONObject jsonObj = HttpToolKit.invokePost(managerListUrl, headers, sendParams).getJSONObject();
return jsonObj;
}
@Override
public JSONObject delete() {
// TODO Auto-generated method stub
return null;
}
public static void main(String args[]){
CosPlyaPlayerServiceImpl cosPlyaPlayerServiceImpl = new CosPlyaPlayerServiceImpl();
......@@ -824,4 +922,9 @@ public class CosPlyaPlayerServiceImpl implements CosPlayPlayerService {
// cosPlyaPlayerServiceImpl.userList(adminToken,mobile, env);
}
}
No preview for this file type
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd">
<!-- 配置spring扫描的包 -->
<context:component-scan base-package="com.pipi" />
<!-- 配置资源文件 -->
<context:property-placeholder location="classpath:config/server.properties" />
</beans>
\ No newline at end of file
# dbConnection configuration
Driver=net.sf.log4jdbc.DriverSpy
#Driver=com.mysql.jdbc.Driver
ConnectionURL=jdbc:log4jdbc:mysql://172.28.3.21:3306/mljr-footstone?useUnicode=true&amp;characterEncoding=utf-8
Username=admin
Password=nKHDfZVRRFlNEwEVNKoywQ==
mljr-footstone_url=jdbc:log4jdbc:mysql://172.28.3.21:3306/mljr-footstone?useUnicode=true&amp;characterEncoding=utf-8
mljr-footstone_Username=admin
mljr-footstone_Password=nKHDfZVRRFlNEwEVNKoywQ==
#测试工具类基础配置
#请求、应答字符集编码
charset=UTF-8
#连接、应答超时,单位:豪秒
timeout=5000
#true:跟随重定向 false:不跟随重定向
isFollowRedirects=false
#定义重跑次数,默认值是0,即失败不重跑
retrycount=0
#定义环境配置
environment=t6
adminUserName=admin
adminPassWord=ZnVsdTk5NjM1
#定义case执行成功后间隔时间,单位:毫秒
onTestSuccessInterval=500
#定义case执行失败后间隔时间,单位:毫秒
onTestFailureInterval=5000
#定义case跳过执行后间隔时间,单位:毫秒
onTestSkippedInterval=5000
# 基础钉钉服务接口
#ddtalk.host=http://ddcorp.fangdd.cn
#ddtalk.appId=a41ecd63332746ac
#ddtalk.secretKey=a3f5bdb1c04c4e1071e7d5b85382fcc8
#true:上报自动化测试构建结果 false:不上报自动化测试构建结果
isReport=true
#自动化测试项目id
serviceId=1
#上报自动化测试构建结果服务地址
report_http_addr=http://10.1.10.21:9090/pipi-test-center
#测试环境
QuickDealService_ip=t6
QuickDealService_port=30100
......@@ -110,7 +110,8 @@ public class CosPlayerTest extends AbstractTest {
//根据手机号获取用户ID
JSONObject json = cosPlyaPlayerServiceImpl.userList(BasicData.playMobile);
String userId = json.getString("id");
JSONObject rsp = cosPlyaPlayerServiceImpl.send(BasicData.roomNo, "331", "1", userId);
//?需要补充获取礼物ID的逻辑
JSONObject rsp = cosPlyaPlayerServiceImpl.send(BasicData.roomNo, "571", "1", userId);
//需要补充校验交易流水情况
Assert.assertEquals(rsp.getIntValue("status"), BasicData.status);
}
......@@ -125,8 +126,8 @@ public class CosPlayerTest extends AbstractTest {
public void testLotteryActivity() {
CosPlayPlayerService cosPlyaPlayerServiceImpl = new CosPlyaPlayerServiceImpl();
//lotteryActivity(String mobile,String roomNo, String activityId, String times, String env);
//activityId需要动态获取
JSONObject rsp = cosPlyaPlayerServiceImpl.lotteryActivity(BasicData.userMobile, BasicData.roomNo, "64", "1");
//?需要补充动态获取不同环境对应的activityId
JSONObject rsp = cosPlyaPlayerServiceImpl.lotteryActivity(BasicData.userMobile, BasicData.roomNo, "155", "1");
Assert.assertEquals(rsp.getIntValue("status"), BasicData.status);
}
......@@ -201,6 +202,19 @@ public class CosPlayerTest extends AbstractTest {
/**
* 获取用户皮皮币/钻石余额
* @param env
* @param mobile
* @return
*/
@Test(enabled = true, alwaysRun = true,description = "获取用户皮皮币/钻石余额")
public void testGetUserBalance() {
CosPlayPlayerService cosPlyaPlayerServiceImpl = new CosPlyaPlayerServiceImpl();
JSONObject rsp = cosPlyaPlayerServiceImpl.getUserBalance();
Assert.assertEquals(rsp.getIntValue("status"), BasicData.status);
}
/**
* 用户信息
* @param env
* @param mobile
......@@ -212,6 +226,90 @@ public class CosPlayerTest extends AbstractTest {
JSONObject rsp = cosPlyaPlayerServiceImpl.userListCheck(BasicData.userMobile);
Assert.assertEquals(rsp.getIntValue("status"), BasicData.status);
}
/**
* 用户信息
* @param env
* @param mobile
* @return
*/
@Test(enabled = true, alwaysRun = true,description = "获取用户信息v1")
public void testGetUserSimple() {
CosPlayPlayerService cosPlyaPlayerServiceImpl = new CosPlyaPlayerServiceImpl();
//{"roomNo":"TEST617338","userId":"2203773"}
JSONObject rsp = cosPlyaPlayerServiceImpl.getUserSimple(BasicData.userMobile);
Assert.assertEquals(rsp.getIntValue("status"), BasicData.status);
}
/**
* 用户信息
* @param env
* @param mobile
* @return
*/
@Test(enabled = true, alwaysRun = true,description = "获取用户信息v2")
public void testGetUserSimple2() {
CosPlayPlayerService cosPlyaPlayerServiceImpl = new CosPlyaPlayerServiceImpl();
//{"roomNo":"TEST617338","userId":"2203773"}
JSONObject rsp = cosPlyaPlayerServiceImpl.getUserSimple2(BasicData.userMobile);
Assert.assertEquals(rsp.getIntValue("status"), BasicData.status);
}
/**
* 获取用户信息(用户是否是巡管员)
* @param env
* @param mobile
* @return
*/
@Test(enabled = true, alwaysRun = true,description = " /api/v3/user/get-home获取用户信息(用户是否是巡管员) ")
public void testGethome() {
CosPlayPlayerService cosPlyaPlayerServiceImpl = new CosPlyaPlayerServiceImpl();
JSONObject rsp = cosPlyaPlayerServiceImpl.getHome();
//managerPermit 为true
Assert.assertEquals(rsp.getIntValue("status"), BasicData.status);
}
@Test(enabled = false, alwaysRun = true,description = "/api/v2/user/get 获取用户信息")
public void testUserGet() {
CosPlayPlayerService cosPlyaPlayerServiceImpl = new CosPlyaPlayerServiceImpl();
JSONObject rsp = cosPlyaPlayerServiceImpl.userGet();
Assert.assertEquals(rsp.getIntValue("status"), BasicData.status);
}
@Test(enabled = true, alwaysRun = true,description = "/api/v3/user/get-mine 获取用户信(人气等级)")
public void testGetMine() {
CosPlayPlayerService cosPlyaPlayerServiceImpl = new CosPlyaPlayerServiceImpl();
JSONObject rsp = cosPlyaPlayerServiceImpl.getMine();
Assert.assertEquals(rsp.getIntValue("status"), BasicData.status);
}
@Test(enabled = true, alwaysRun = true,description = "查询超管列表 /api/v1/rask/manager/list")
public void testManagerList() {
CosPlayPlayerService cosPlyaPlayerServiceImpl = new CosPlyaPlayerServiceImpl();
JSONObject rsp = cosPlyaPlayerServiceImpl.managerList();
Assert.assertEquals(rsp.getIntValue("status"), BasicData.status);
}
@Test(enabled = true, alwaysRun = true,description = "查询超管巡查记录 /api/v1/rask/manager/room/record")
public void testRoomRecord() {
CosPlayPlayerService cosPlyaPlayerServiceImpl = new CosPlyaPlayerServiceImpl();
JSONObject rsp = cosPlyaPlayerServiceImpl.roomRecord();
Assert.assertEquals(rsp.getIntValue("status"), BasicData.status);
}
@Test(enabled = false, alwaysRun = true,description = "查询超管巡查记录导出")
public void testRecordExport() {
CosPlayPlayerService cosPlyaPlayerServiceImpl = new CosPlyaPlayerServiceImpl();
JSONObject rsp = cosPlyaPlayerServiceImpl.recordExport();
//Assert.assertEquals(rsp.getIntValue("status"), BasicData.status);
}
@Test(enabled = false, alwaysRun = true,description = "/v1/rask/manager/status/delete")
public void testDelete() {
CosPlayPlayerService cosPlyaPlayerServiceImpl = new CosPlyaPlayerServiceImpl();
JSONObject rsp = cosPlyaPlayerServiceImpl.delete();
Assert.assertEquals(rsp.getIntValue("status"), BasicData.status);
}
@AfterClass(alwaysRun = true)
public void afterClassTest() {
......
......@@ -24,14 +24,14 @@
onclick="javscript:clearAllSelections();">pipi-test</a></b><div style="margin: 3px 0 3px 0;"><a href="pipi-test_groups.html" target="content"
onclick="javscript:clearAllSelections();">1
Groups
</a></div><span style="color: red;">6</span>
</a></div><span style="color: red;">4</span>
/
<span style="color: green;">7</span>
<span style="color: green;">17</span>
/
<span style="color: yellow;">0</span>
/
<span>13</span></td>
<td style="font-weight: bold;">54%</td>
<span>21</span></td>
<td style="font-weight: bold;">81%</td>
</tr>
</table>
<div xmlns="" class="testCaseLink"
......
......@@ -20,22 +20,22 @@
<svg id="graphzone" preserveAspectRatio="xMidYMid meet" x="0" y="0">
<rect style="fill:red;stroke-width:1;stroke:black;" x="10" y="86" width="20"
height="20"/>
<text class="legendtext" x="40" y="105">Failed (46%)
<text class="legendtext" x="40" y="105">Failed (19%)
</text>
<rect style="fill:green;stroke-width:1;stroke:black;" x="10" y="125" width="20"
height="20"/>
<text class="legendtext" x="40" y="143">Passed (54%)
<text class="legendtext" x="40" y="143">Passed (81%)
</text>
<rect style="fill:yellow;stroke-width:1;stroke:black;" x="10" y="163" width="20"
height="20"/>
<text class="legendtext" x="40" y="182">Skipped (0%)
</text>
<g style="stroke:black;stroke-width:1" transform="translate(450,150)">
<g style="fill:red" transform="rotate(-0) translate(2, -16)">
<path d="M 0 0 h 130 A 130,130 0,0,0 -126.22241749565075,-31.111112509096204 z"/>
<g style="fill:red" transform="rotate(-0) translate(13, -9)">
<path d="M 0 0 h 130 A 130,130 0,0,0 47.49436329839009,-121.01357549829083 z"/>
</g>
<g style="fill:green" transform="rotate(-166.15384615384617)">
<path d="M 0 0 h 130 A 130,130 0,1,0 -126.22245816335408,31.11094751370216 z"/>
<g style="fill:green" transform="rotate(-68.57142857142857)">
<path d="M 0 0 h 130 A 130,130 0,1,0 47.49420511187392,121.01363758184963 z"/>
</g>
</g>
</svg>
......
......@@ -26,11 +26,11 @@
</td>
<td xmlns="" style="background-color: #FFBBBB; padding: 3px 3px 3px 0;"
align="center">
<div style="width: 50px;">6</div>
<div style="width: 50px;">4</div>
</td>
<td xmlns="" style="background-color: lightgreen; padding: 3px 3px 3px 0;"
align="center">
<div style="width: 50px;">7</div>
<div style="width: 50px;">17</div>
</td>
<td xmlns="" style="background-color: #FFFFBB; padding: 3px 3px 3px 0;"
align="center">
......@@ -38,26 +38,26 @@
</td>
<td xmlns="" align="center"
style="background-color: #eaf0f7; padding: 3px 3px 3px 0;">
<div style="width: 50px;">13</div>
<div style="width: 50px;">21</div>
</td>
<td xmlns="" align="center"
style="font-weight: bold; background-color: #eaf0f7; padding: 3px 3px 3px 0;">
<div style="width: 50px;">54%</div>
<div style="width: 50px;">81%</div>
</td>
<td xmlns="" style="background-color: #eaf0f7; padding: 3px 3px 3px 0;"
align="center"
nowrap="true">40s
nowrap="true">26s
</td>
</tr>
<tr style="background-color: #f5f5f5; font-size: 12px;">
<td>pipi-test</td>
<td align="center">6</td>
<td align="center">7</td>
<td align="center">4</td>
<td align="center">17</td>
<td align="center">0</td>
<td align="center">13</td>
<td align="center" style="font-weight: bold;">54%</td>
<td align="center" nowrap="true">40s
<td align="center">21</td>
<td align="center" style="font-weight: bold;">81%</td>
<td align="center" nowrap="true">26s
</td>
</tr>
......
This diff could not be displayed because it is too large.
{"environment":"t3","failed":0,"passed":13,"skipped":0,"suiteDuration":"21秒634毫秒","suiteEnds":"2021-07-26 14:33:05","suiteStarts":"2021-07-26 14:32:43","total":13}
\ No newline at end of file
{"environment":"t6","failed":1,"passed":0,"skipped":0,"suiteDuration":"11秒019毫秒","suiteEnds":"2021-08-23 17:41:10","suiteStarts":"2021-08-23 17:40:59","total":1}
\ No newline at end of file
......@@ -8,7 +8,7 @@ isFollowRedirects=false
#定义重跑次数,默认值是0,即失败不重跑
retrycount=0
#定义环境配置
environment=t3
environment=t6
adminUserName=admin
......@@ -31,5 +31,5 @@ serviceId=1
report_http_addr=http://10.1.10.21:9090/pipi-test-center
#测试环境
QuickDealService_ip=t3
QuickDealService_ip=t6
QuickDealService_port=30100
-------------------------------------------------------------------------------
Test set: TestSuite
-------------------------------------------------------------------------------
Tests run: 13, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 78.796 sec <<< FAILURE! - in TestSuite
testAuditGuild(com.pipi.invoker.CosPlayerTest) Time elapsed: 16.466 sec <<< FAILURE!
com.fangdd.qa.framework.exception.BusinessException: 请求URL:https://t3-guild-api.apeiwan.com/api/v1/guild-center/guild/search,异常信息:t3-guild-api.apeiwan.com
Tests run: 21, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 64.742 sec <<< FAILURE! - in TestSuite
testAuditGuild(com.pipi.invoker.CosPlayerTest) Time elapsed: 10.529 sec <<< FAILURE!
java.lang.NullPointerException
at com.pipi.invoker.CosPlayerTest.testAuditGuild(CosPlayerTest.java:143)
Caused by: java.net.UnknownHostException: t3-guild-api.apeiwan.com
at com.pipi.invoker.CosPlayerTest.testAuditGuild(CosPlayerTest.java:143)
testGuildSearch(com.pipi.invoker.CosPlayerTest) Time elapsed: 5.294 sec <<< FAILURE!
com.fangdd.qa.framework.exception.BusinessException: 请求URL:https://t3-guild-api.apeiwan.com/api/v1/guild-center/guild/search,异常信息:t3-guild-api.apeiwan.com
at com.pipi.invoker.CosPlayerTest.testGuildSearch(CosPlayerTest.java:156)
Caused by: java.net.UnknownHostException: t3-guild-api.apeiwan.com
at com.pipi.invoker.CosPlayerTest.testGuildSearch(CosPlayerTest.java:156)
testUpList(com.pipi.invoker.CosPlayerTest) Time elapsed: 16.151 sec <<< FAILURE!
com.fangdd.qa.framework.exception.BusinessException: 请求URL:https://t3-guild-api.apeiwan.com/api/v1/room/mic/up/list,异常信息:t3-guild-api.apeiwan.com
at com.pipi.invoker.CosPlayerTest.testUpList(CosPlayerTest.java:184)
Caused by: java.net.UnknownHostException: t3-guild-api.apeiwan.com
at com.pipi.invoker.CosPlayerTest.testUpList(CosPlayerTest.java:184)
testDelete(com.pipi.invoker.CosPlayerTest) Time elapsed: 5.668 sec <<< FAILURE!
java.lang.NullPointerException
at com.pipi.invoker.CosPlayerTest.testDelete(CosPlayerTest.java:310)
testUpSize(com.pipi.invoker.CosPlayerTest) Time elapsed: 5.778 sec <<< FAILURE!
com.fangdd.qa.framework.exception.BusinessException: 请求URL:https://t3-guild-api.apeiwan.com/api/v1/room/mic/up/size,异常信息:t3-guild-api.apeiwan.com
at com.pipi.invoker.CosPlayerTest.testUpSize(CosPlayerTest.java:198)
Caused by: java.net.UnknownHostException: t3-guild-api.apeiwan.com
at com.pipi.invoker.CosPlayerTest.testUpSize(CosPlayerTest.java:198)
testLotteryActivity(com.pipi.invoker.CosPlayerTest) Time elapsed: 16.303 sec <<< FAILURE!
com.fangdd.qa.framework.exception.BusinessException: 请求URL:https://t3-api-app.apeiwan.com/api/v3/virtual-product/lottery-activity,异常信息:t3-api-app.apeiwan.com
at com.pipi.invoker.CosPlayerTest.testLotteryActivity(CosPlayerTest.java:129)
Caused by: java.net.UnknownHostException: t3-api-app.apeiwan.com
at com.pipi.invoker.CosPlayerTest.testLotteryActivity(CosPlayerTest.java:129)
testLotteryActivity(com.pipi.invoker.CosPlayerTest) Time elapsed: 5.545 sec <<< FAILURE!
java.lang.AssertionError: expected [200] but found [500]
at com.pipi.invoker.CosPlayerTest.testLotteryActivity(CosPlayerTest.java:130)
testRemove(com.pipi.invoker.CosPlayerTest) Time elapsed: 5.849 sec <<< FAILURE!
testRemove(com.pipi.invoker.CosPlayerTest) Time elapsed: 7.237 sec <<< FAILURE!
java.lang.AssertionError: expected [200] but found [500]
at com.pipi.invoker.CosPlayerTest.testRemove(CosPlayerTest.java:171)
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -4,6 +4,6 @@
</head><body>
<h2><p align='center'>Test results</p></h2>
<table border='1' width='100%' class='main-page'><tr><th>Suite</th><th>Passed</th><th>Failed</th><th>Skipped</th><th>testng.xml</th></tr>
<tr align='center' class='invocation-failed'><td><em>Total</em></td><td><em>7</em></td><td><em>6</em></td><td><em>0</em></td><td>&nbsp;</td></tr>
<tr align='center' class='invocation-failed'><td><em>Total</em></td><td><em>17</em></td><td><em>4</em></td><td><em>0</em></td><td>&nbsp;</td></tr>
<tr align='center' class='invocation-failed'><td><a href='pipi-test/index.html'>pipi-test</a></td>
<td>7</td><td>6</td><td>0</td><td><a href='pipi-test/testng.xml.html'>Link</a></td></tr></table></body></html>
<td>17</td><td>4</td><td>0</td><td><a href='pipi-test/testng.xml.html'>Link</a></td></tr></table></body></html>
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitXMLReporter -->
<testsuite hostname="DESKTOP-U3UHQH3" ignored="0" name="Default test" tests="13" failures="0" timestamp="26 七月 2021 06:33:05 GMT" time="21.619" errors="0">
<testcase name="testActivityList" time="0.437" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testAuditGuild" time="2.147" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testGiftList" time="0.506" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testGuildSearch" time="0.284" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testMoneyDetailsSave" time="1.416" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testRoomList" time="0.61" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testSend" time="2.549" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testUpList" time="0.299" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testUpSize" time="0.202" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testUserList" time="0.393" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testVirtualMoneyModify" time="0.527" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testLotteryActivity" time="1.086" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testRemove" time="0.64" classname="com.pipi.invoker.CosPlayerTest"/>
<testsuite hostname="DESKTOP-U3UHQH3" ignored="22" name="Default test" tests="1" failures="1" timestamp="23 八月 2021 09:41:10 GMT" time="10.999" errors="0">
<testcase name="testSend" time="3.461" classname="com.pipi.invoker.CosPlayerTest">
<failure type="java.lang.AssertionError" message="expected [200] but found [500]">
<![CDATA[java.lang.AssertionError: expected [200] but found [500]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:513)
at org.testng.Assert.assertEqualsImpl(Assert.java:135)
at org.testng.Assert.assertEquals(Assert.java:116)
at org.testng.Assert.assertEquals(Assert.java:389)
at org.testng.Assert.assertEquals(Assert.java:399)
at com.pipi.invoker.CosPlayerTest.testSend(CosPlayerTest.java:116)
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:104)
at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:205)
at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:171)
at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:217)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:641)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
]]>
</failure>
</testcase> <!-- testSend -->
<testcase name="testUpSize" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testUpSize -->
<testcase name="testDelete" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testDelete -->
<testcase name="testUpList" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testUpList -->
<testcase name="testRoomList" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testRoomList -->
<testcase name="testRecordExport" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testRecordExport -->
<testcase name="testUserList" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testUserList -->
<testcase name="testGetUserBalance" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testGetUserBalance -->
<testcase name="testRoomRecord" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testRoomRecord -->
<testcase name="testActivityList" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testActivityList -->
<testcase name="testMoneyDetailsSave" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testMoneyDetailsSave -->
<testcase name="testVirtualMoneyModify" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testVirtualMoneyModify -->
<testcase name="testGiftList" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testGiftList -->
<testcase name="testManagerList" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testManagerList -->
<testcase name="testGetUserSimple" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testGetUserSimple -->
<testcase name="testLotteryActivity" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testLotteryActivity -->
<testcase name="testRemove" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testRemove -->
<testcase name="testGethome" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testGethome -->
<testcase name="testUserGet" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testUserGet -->
<testcase name="testAuditGuild" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testAuditGuild -->
<testcase name="testGetUserSimple2" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testGetUserSimple2 -->
<testcase name="testGuildSearch" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testGuildSearch -->
<testcase name="testGetMine" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<ignored/>
</testcase> <!-- testGetMine -->
</testsuite> <!-- Default test -->
......@@ -14,8 +14,8 @@
<include name="beforeClass"/>
<include name="beforeClassTest"/>
<include name="springTestContextBeforeTestMethod"/>
<include name="testAuditGuild"/>
<include name="springTestContextAfterTestMethod"/>
<include name="testSend"/>
</methods>
</class> <!-- com.pipi.invoker.CosPlayerTest -->
</classes>
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitReportReporter -->
<testsuite name="com.pipi.invoker.CosPlayerTest" tests="13" time="11.103" ignored="0" failures="0" timestamp="26 七月 2021 06:33:05 GMT" skipped="0" hostname="DESKTOP-U3UHQH3" errors="0">
<testcase name="testAuditGuild" time="2.147" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testRoomList" time="0.611" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testUserList" time="0.394" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testVirtualMoneyModify" time="0.528" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testActivityList" time="0.438" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testLotteryActivity" time="1.087" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testGiftList" time="0.506" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testGuildSearch" time="0.284" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testSend" time="2.549" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testUpList" time="0.299" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testMoneyDetailsSave" time="1.417" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testUpSize" time="0.203" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testRemove" time="0.640" classname="com.pipi.invoker.CosPlayerTest"/>
<testsuite name="com.pipi.invoker.CosPlayerTest" tests="1" time="3.463" ignored="22" failures="1" timestamp="23 八月 2021 09:41:11 GMT" skipped="0" hostname="DESKTOP-U3UHQH3" errors="0">
<testcase name="testSend" time="3.463" classname="com.pipi.invoker.CosPlayerTest">
<failure type="java.lang.AssertionError" message="expected [200] but found [500]">
<![CDATA[java.lang.AssertionError: expected [200] but found [500]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:513)
at org.testng.Assert.assertEqualsImpl(Assert.java:135)
at org.testng.Assert.assertEquals(Assert.java:116)
at org.testng.Assert.assertEquals(Assert.java:389)
at org.testng.Assert.assertEquals(Assert.java:399)
at com.pipi.invoker.CosPlayerTest.testSend(CosPlayerTest.java:116)
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:104)
at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:205)
at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:171)
at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:217)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:641)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
]]>
</failure>
</testcase> <!-- testSend -->
<testcase name="testUpSize" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testUpSize -->
<testcase name="testDelete" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testDelete -->
<testcase name="testUpList" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testUpList -->
<testcase name="testRoomList" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testRoomList -->
<testcase name="testRecordExport" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testRecordExport -->
<testcase name="testUserList" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testUserList -->
<testcase name="testGetUserBalance" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testGetUserBalance -->
<testcase name="testRoomRecord" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testRoomRecord -->
<testcase name="testActivityList" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testActivityList -->
<testcase name="testMoneyDetailsSave" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testMoneyDetailsSave -->
<testcase name="testVirtualMoneyModify" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testVirtualMoneyModify -->
<testcase name="testGiftList" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testGiftList -->
<testcase name="testManagerList" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testManagerList -->
<testcase name="testGetUserSimple" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testGetUserSimple -->
<testcase name="testLotteryActivity" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testLotteryActivity -->
<testcase name="testRemove" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testRemove -->
<testcase name="testGethome" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testGethome -->
<testcase name="testUserGet" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testUserGet -->
<testcase name="testAuditGuild" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testAuditGuild -->
<testcase name="testGetUserSimple2" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testGetUserSimple2 -->
<testcase name="testGuildSearch" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testGuildSearch -->
<testcase name="testGetMine" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testGetMine -->
</testsuite> <!-- com.pipi.invoker.CosPlayerTest -->
......@@ -26,12 +26,27 @@
</tr>
<tr>
<td>&nbsp;</td>
<td>testUserGet</td>
<td>pipi-test </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>testGethome</td>
<td>pipi-test </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>testGetMine</td>
<td>pipi-test </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>testGuildSearch</td>
<td>pipi-test </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>testGiftList</td>
<td>testGetUserSimple2</td>
<td>pipi-test </td>
</tr>
<tr>
......@@ -51,11 +66,36 @@
</tr>
<tr>
<td>&nbsp;</td>
<td>testGiftList</td>
<td>pipi-test </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>testDelete</td>
<td>pipi-test </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>testGetUserBalance</td>
<td>pipi-test </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>testUserList</td>
<td>pipi-test </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>testRecordExport</td>
<td>pipi-test </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>testRoomRecord</td>
<td>pipi-test </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>testActivityList</td>
<td>pipi-test </td>
</tr>
......@@ -66,6 +106,16 @@
</tr>
<tr>
<td>&nbsp;</td>
<td>testGetUserSimple</td>
<td>pipi-test </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>testManagerList</td>
<td>pipi-test </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>testSend</td>
<td>pipi-test </td>
</tr>
......
<h2>Groups used for this test run</h2><table border="1">
<tr> <td align="center"><b>Group name</b></td><td align="center"><b>Methods</b></td></tr><tr><td>pipi-test</td><td>CosPlayerTest.testUpSize()[pri:0, instance:com.pipi.invoker.CosPlayerTest@c8c12ac]<br/>CosPlayerTest.testRoomList()[pri:0, instance:com.pipi.invoker.CosPlayerTest@c8c12ac]<br/>CosPlayerTest.testUpList()[pri:0, instance:com.pipi.invoker.CosPlayerTest@c8c12ac]<br/>CosPlayerTest.testUserList()[pri:0, instance:com.pipi.invoker.CosPlayerTest@c8c12ac]<br/>CosPlayerTest.testActivityList()[pri:0, instance:com.pipi.invoker.CosPlayerTest@c8c12ac]<br/>CosPlayerTest.testMoneyDetailsSave()[pri:0, instance:com.pipi.invoker.CosPlayerTest@c8c12ac]<br/>CosPlayerTest.testVirtualMoneyModify()[pri:0, instance:com.pipi.invoker.CosPlayerTest@c8c12ac]<br/>CosPlayerTest.testGiftList()[pri:0, instance:com.pipi.invoker.CosPlayerTest@c8c12ac]<br/>CosPlayerTest.testSend()[pri:0, instance:com.pipi.invoker.CosPlayerTest@c8c12ac]<br/>CosPlayerTest.testLotteryActivity()[pri:0, instance:com.pipi.invoker.CosPlayerTest@c8c12ac]<br/>CosPlayerTest.testRemove()[pri:0, instance:com.pipi.invoker.CosPlayerTest@c8c12ac]<br/>CosPlayerTest.testAuditGuild()[pri:0, instance:com.pipi.invoker.CosPlayerTest@c8c12ac]<br/>CosPlayerTest.testGuildSearch()[pri:0, instance:com.pipi.invoker.CosPlayerTest@c8c12ac]<br/></td></tr>
<tr> <td align="center"><b>Group name</b></td><td align="center"><b>Methods</b></td></tr><tr><td>pipi-test</td><td>CosPlayerTest.testSend()[pri:0, instance:com.pipi.invoker.CosPlayerTest@1b7cc17c]<br/></td></tr>
</table>
<h2>Methods that were not run</h2><table>
<tr><td>com.pipi.invoker.CosPlayerTest.testUpSize<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>获取聊天室内上麦试音队列、点单队列等</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testDelete<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>/v1/rask/manager/status/delete</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testUpList<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>获取上麦、试音申请列表数据</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testRoomList<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>查询房间</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testRecordExport<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>查询超管巡查记录导出</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testUserList<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>用户信息</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testGetUserBalance<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>获取用户皮皮币/钻石余额</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testRoomRecord<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>查询超管巡查记录 /api/v1/rask/manager/room/record</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testActivityList<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>幸运夺宝箱列表</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testMoneyDetailsSave<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>充皮皮币</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testVirtualMoneyModify<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>充钻石</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testGiftList<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>礼物列表</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testManagerList<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>查询超管列表 /api/v1/rask/manager/list</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testGetUserSimple<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>获取用户信息v1</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testLotteryActivity<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>开宝箱</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testRemove<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>将成员从公会移除</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testGethome<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i> /api/v3/user/get-home获取用户信息(用户是否是巡管员) </i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testUserGet<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>/api/v2/user/get 获取用户信息</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testAuditGuild<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>申请加入公会及审核</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testGetUserSimple2<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>获取用户信息v2</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testGuildSearch<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>搜索公会</i></td></tr>
<tr><td>com.pipi.invoker.CosPlayerTest.testGetMine<br/>&nbsp;&nbsp;&nbsp;&nbsp;<i>/api/v3/user/get-mine 获取用户信(人气等级)</i></td></tr>
</table>
\ No newline at end of file
This diff could not be displayed because it is too large.
<html><head><title>testng.xml for Default suite</title></head><body><tt>&lt;?xml&nbsp;version="1.0"&nbsp;encoding="UTF-8"?&gt;<br/>&lt;!DOCTYPE&nbsp;suite&nbsp;SYSTEM&nbsp;"http://testng.org/testng-1.0.dtd"&gt;<br/>&lt;suite&nbsp;guice-stage="DEVELOPMENT"&nbsp;name="Default&nbsp;suite"&gt;<br/>&nbsp;&nbsp;&lt;test&nbsp;verbose="2"&nbsp;name="Default&nbsp;test"&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.pipi.invoker.CosPlayerTest"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt;<br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;Default&nbsp;test&nbsp;--&gt;<br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;Default&nbsp;suite&nbsp;--&gt;<br/></tt></body></html>
\ No newline at end of file
<html><head><title>testng.xml for Default suite</title></head><body><tt>&lt;?xml&nbsp;version="1.0"&nbsp;encoding="UTF-8"?&gt;<br/>&lt;!DOCTYPE&nbsp;suite&nbsp;SYSTEM&nbsp;"http://testng.org/testng-1.0.dtd"&gt;<br/>&lt;suite&nbsp;guice-stage="DEVELOPMENT"&nbsp;name="Default&nbsp;suite"&gt;<br/>&nbsp;&nbsp;&lt;test&nbsp;verbose="2"&nbsp;name="Default&nbsp;test"&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.pipi.invoker.CosPlayerTest"&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;methods&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;include&nbsp;name="testSend"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/methods&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/class&gt;&nbsp;&lt;!--&nbsp;com.pipi.invoker.CosPlayerTest&nbsp;--&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt;<br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;Default&nbsp;test&nbsp;--&gt;<br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;Default&nbsp;suite&nbsp;--&gt;<br/></tt></body></html>
\ No newline at end of file
......
......@@ -10,19 +10,19 @@
<tr valign='top'>
<td>1 test</td>
<td><a target='mainFrame' href='classes.html'>1 class</a></td>
<td>13 methods:<br/>
<td>1 method:<br/>
&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>
&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>
&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>
&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (22)</a></td>
</tr>
<tr>
<td><a target='mainFrame' href='groups.html'>1 group</a></td>
<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>
<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>
</tr></table>
<table width='100%' class='test-passed'>
<table width='100%' class='test-failed'>
<tr><td>
<table style='width: 100%'><tr><td valign='top'>Default test (13/0/0)</td><td valign='top' align='right'>
<table style='width: 100%'><tr><td valign='top'>Default test (0/1/0)</td><td valign='top' align='right'>
<a href='Default test.html' target='mainFrame'>Results</a>
</td></tr></table>
</td></tr><p/>
......
......@@ -4,6 +4,6 @@
</head><body>
<h2><p align='center'>Test results</p></h2>
<table border='1' width='100%' class='main-page'><tr><th>Suite</th><th>Passed</th><th>Failed</th><th>Skipped</th><th>testng.xml</th></tr>
<tr align='center' class='invocation-passed'><td><em>Total</em></td><td><em>13</em></td><td><em>0</em></td><td><em>0</em></td><td>&nbsp;</td></tr>
<tr align='center' class='invocation-passed'><td><a href='Default suite/index.html'>Default suite</a></td>
<td>13</td><td>0</td><td>0</td><td><a href='Default suite/testng.xml.html'>Link</a></td></tr></table></body></html>
<tr align='center' class='invocation-failed'><td><em>Total</em></td><td><em>0</em></td><td><em>1</em></td><td><em>0</em></td><td>&nbsp;</td></tr>
<tr align='center' class='invocation-failed'><td><a href='Default suite/index.html'>Default suite</a></td>
<td>0</td><td>1</td><td>0</td><td><a href='Default suite/testng.xml.html'>Link</a></td></tr></table></body></html>
......@@ -14,8 +14,8 @@
<include name="beforeClass"/>
<include name="beforeClassTest"/>
<include name="springTestContextBeforeTestMethod"/>
<include name="testAuditGuild"/>
<include name="springTestContextAfterTestMethod"/>
<include name="testSend"/>
</methods>
</class> <!-- com.pipi.invoker.CosPlayerTest -->
</classes>
......
This diff could not be displayed because it is too large.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!