Default test.html
6.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<html>
<head>
<title>TestNG: Default test</title>
<link href="../testng.css" rel="stylesheet" type="text/css" />
<link href="../my-testng.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.log { display: none;}
.stack-trace { display: none;}
</style>
<script type="text/javascript">
<!--
function flip(e) {
current = e.style.display;
if (current == 'block') {
e.style.display = 'none';
return 0;
}
else {
e.style.display = 'block';
return 1;
}
}
function toggleBox(szDivId, elem, msg1, msg2)
{
var res = -1; if (document.getElementById) {
res = flip(document.getElementById(szDivId));
}
else if (document.all) {
// this is the way old msie versions work
res = flip(document.all[szDivId]);
}
if(elem) {
if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;
}
}
function toggleAllBoxes() {
if (document.getElementsByTagName) {
d = document.getElementsByTagName('div');
for (i = 0; i < d.length; i++) {
if (d[i].className == 'log') {
flip(d[i]);
}
}
}
}
// -->
</script>
</head>
<body>
<h2 align='center'>Default test</h2><table border='1' align="center">
<tr>
<td>Tests passed/Failed/Skipped:</td><td>1/0/0</td>
</tr><tr>
<td>Started on:</td><td>Sat Sep 04 17:17:25 CST 2021</td>
</tr>
<tr><td>Total time:</td><td>2 seconds (2277 ms)</td>
</tr><tr>
<td>Included groups:</td><td></td>
</tr><tr>
<td>Excluded groups:</td><td></td>
</tr>
</table><p/>
<small><i>(Hover the method name to see the test class name)</i></small><p/>
<table width='100%' border='1' class='invocation-passed'>
<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>
<tr><td><b>Test method</b></td>
<td width="30%"><b>Exception</b></td>
<td width="10%"><b>Time (seconds)</b></td>
<td><b>Instance</b></td>
</tr>
<tr>
<td title='com.pipi.invoker.CosPlayerTest.testProgress()'><b>testProgress</b><br>Test class: com.pipi.invoker.CosPlayerTest<br>Test method: /api/v1/lottery-activity/carnival-progress 房间-游戏图标-糖果制造机-嘉年华<br/>
<a href="#Output-417557780" onClick='toggleBox("Output-417557780", this, "Show output", "Hide output");'>Show output</a>
<a href="#Output-417557780" onClick="toggleAllBoxes();">Show all outputs</a>
<div class='log' id="Output-417557780">
======2021-09-04 17:17:26:用例【com.pipi.invoker.CosPlayerTest.testProgress】开始======<br/>
===================================<br/>
###Http Request Url### : <br/>
https://pre-test-api-app.apeiwan.com/api/v1/lottery-activity/carnival-progress<br/>
###Http Request Method### : POST<br/>
###Http Request Headers### : <br/>
{"token":"APP-90b4fe93c2f64a3fb4f0892a8f7f374a#5523051","Content-Type":"application/x-www-form-urlencoded"}<br/>
###Http Request queryString before URLEncoder### : <br/>
{"lotteryActivityId":"188"}<br/>
###Http Request queryString after URLEncoder### :<br/>
lotteryActivityId=188<br/>
===================================<br/>
###Http Response Status line### : <br/>
HTTP/1.1 200 OK<br/>
###Http Response Headers### : <br/>
{"Transfer-Encoding":"chunked","Server":"nginx/1.14.0","Connection":"keep-alive","Vary":"Access-Control-Request-Headers","Date":"Sat, 04 Sep 2021 09:17:27 GMT","Content-Type":"application/json"}<br/>
###Http Response Content### :<br/>
{"msg":"查询成功","data":{"lotteryActivityId":188,"progress":1.00,"countDown":0},"status":200}<br/>
===================================<br/>
======2021-09-04 17:17:27:用例【com.pipi.invoker.CosPlayerTest.testProgress】结束======<br/>
======本次用例运行消耗时间 202毫秒======<br/>
===================================<br/>
###Http Request Url### : <br/>
http://10.1.10.21:9090/pipi-test-center/report/testStatistic.json<br/>
###Http Request Method### : PUT<br/>
###Http Request Headers### : <br/>
{"Content-Type":"application/json"}<br/>
###Http Request Content### : <br/>
{"buildId":0,"caseDescription":"/api/v1/lottery-activity/carnival-progress 房间-游戏图标-糖果制造机-嘉年华","caseLog":"======2021-09-04 17:17:26:用例【com.pipi.invoker.CosPlayerTest.testProgress】开始======\r\n===================================\r\n###Http Request Url### : \r\nhttps://pre-test-api-app.apeiwan.com/api/v1/lottery-activity/carnival-progress\r\n###Http Request Method### : POST\r\n###Http Request Headers### : \r\n{\"token\":\"APP-90b4fe93c2f64a3fb4f0892a8f7f374a#5523051\",\"Content-Type\":\"application/x-www-form-urlencoded\"}\r\n###Http Request queryString before URLEncoder### : \r\n{\"lotteryActivityId\":\"188\"}\r\n###Http Request queryString after URLEncoder### :\r\nlotteryActivityId=188\r\n===================================\r\n###Http Response Status line### : \r\nHTTP/1.1 200 OK\r\n###Http Response Headers### : \r\n{\"Transfer-Encoding\":\"chunked\",\"Server\":\"nginx/1.14.0\",\"Connection\":\"keep-alive\",\"Vary\":\"Access-Control-Request-Headers\",\"Date\":\"Sat, 04 Sep 2021 09:17:27 GMT\",\"Content-Type\":\"application/json\"}\r\n###Http Response Content### :\r\n{\"msg\":\"查询成功\",\"data\":{\"lotteryActivityId\":188,\"progress\":1.00,\"countDown\":0},\"status\":200}\r\n===================================\r\n======2021-09-04 17:17:27:用例【com.pipi.invoker.CosPlayerTest.testProgress】结束======\r\n======本次用例运行消耗时间 202毫秒======\r","caseName":"testProgress","className":"com.pipi.invoker.CosPlayerTest","durationTime":"202毫秒","endTime":"2021-09-04 17:17:27","id":0,"serviceId":1,"startTime":"2021-09-04 17:17:26","status":1}<br/>
===================================<br/>
###Http Response Status line### : <br/>
HTTP/1.1 200<br/>
###Http Response Headers### : <br/>
{"Transfer-Encoding":"chunked","Keep-Alive":"timeout=20","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"GET,POST,PUT,DELETE,OPTIONS","Access-Control-Allow-Credentials":"true","Connection":"keep-alive","Access-Control-Allow-Headers":"Content-Type,X-Token","Date":"Sat, 04 Sep 2021 09:17:27 GMT","Content-Type":"application/json;charset=UTF-8"}<br/>
###Http Response Content### :<br/>
{"code":200,"data":true}<br/>
===================================<br/>
</div>
</td>
<td></td>
<td>0</td>
<td>com.pipi.invoker.CosPlayerTest@67c27493</td></tr>
</table><p>
</body>
</html>