-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.html
89 lines (67 loc) · 18.1 KB
/
example.html
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
<html xml:lang='en' lang='en'><head><title>Test_2018-07-23_110050</title><meta http-equiv='Content-Type' content='text/html; charset=utf-8'/><script type='text/javascript'>function detail(_id){var _detail = document.getElementById(_id+'_RESPONSE_DETAIL');if(_detail==null){alert('This is no data!');}else{alert('编号:' + _id +'\n'+_detail.innerHTML.replace(/NEW_LINE/g,'\n'));}}</script><script>function postClose(_id){var _close = document.getElementById(_id+'_RESPONSE_DETAIL');if(_close==null){alert('NO data!');}else{_close.className = 'postDataForm formHidden';}}function postOpen(_id){var _open = document.getElementById(_id+'_RESPONSE_DETAIL');if(_open==null){alert('NO data!');}else{_open.className = 'postDataForm';}}</script><style type='text/css'>#jreport_body {width:1200px;margin:0 auto;}#jreport_header {border-bottom: 1px solid #c3c3c3;font-size:14px;margin-top: 10px;}#jreport_header em{font-style: normal;font-weight: normal;}#jreport_content p{font-size: 35px;border-bottom: 5px solid #c3c3c3;}/*#jreport_content em{font-style: normal;font-weight: normal;}*/#test_info {width: 49%; float: left;height: 180px;margin-left: 10px;}#test_execute_info {margin-top: 10px;font-size: 14px;}.countList {width: 100%;}.countList span{font-weight: 700;}.countListSubDiv {width: 120px;float: left; color: #3c3a3a;}#test_info_g {width: 49%; float: right;margin-top:10px;height:170px;}.report_version {float: right;}.h_graph ul{margin:0 50px 0 50px;padding:1px 0 0 0;border:1px solid #ddd;border-top:0;border-right:0;font-size:11px;font-family:Tahoma, Geneva, sans-serif;list-style:none}.h_graph li{position:relative;margin:10px 0;vertical-align:top;white-space:nowrap}.h_graph .g_term{position:absolute;top:0;left:-50px;width:40px;font-weight:bold;color:#767676;line-height:20px;text-align:right}.h_graph .g_bar{display:inline-block;position:relative;height:20px;border:1px solid #ccc;border-left:0;background:#e9e9e9}.h_graph .g_bar span{position:absolute;top:0;right:-50px;width:40px;color:#767676;line-height:20px}#result_table_list {width:100%;border:1px solid #e9e9e9;}#result_table_list tr{text-align:left;}.retPass {background:#00ff14;}.retFail {background:red;}#test_result {width:100%;min-height:50%;margin-top:10px;}#jreport_footer {margin-top:50px;margin-bottom:15px;}.retDetailCheck a{color: #ffff;}</style><style type='text/css'>.postDataForm {position: absolute; top: 115px; left: 30%;width: 700px;height: 300px;padding:20px;border: 1px solid #3c3c3c;background-color: white;white-space: pre-line;word-wrap: break-word;z-index:1002;}.formHidden {display:none;}</style></head><body><div id='jreport_body'><div id='jreport_header'><em>JReport</em><em class='report_version'>1.0.5</em></div><div id='jreport_content'><p>Project:用户接口测试</p><div style='height: 180px;border-bottom: 1px solid #c3c3c3;'><div id='test_info'><div>Build:Build1001_009</div><div>exec Time:2018-07-23 11:00:46 - 2018-07-23 11:00:50</div><div id='test_execute_info'><div class='countList'><div class='countListSubDiv'><em>Parameter:</em></div><span>13</span></div><div class='countList'><div class='countListSubDiv'><em>TC Count:</em></div><span>12</span></div><div class='countList'><div class='countListSubDiv'><em>Passed:</em></div><span style='color: #00ff14;'>9</span></div><div class='countList'><div class='countListSubDiv'><em>Failed:</em></div><span style='color: red;'>1</span></div><div class='countList'><div class='countListSubDiv'><em>Errors:</em></div><span style='color: red;'>1</span></div><div class='countList'><div class='countListSubDiv'><em>NA:</em></div><span style='color: #c3c3c3;'>1</span></div></div></div><div class='h_graph' id='test_info_g'><ul><li><span class='g_term' style='color: #00ff14;'>Passed%</span><span class='g_bar' style='width:81.82%'><span style='color: #00ff14;'>81.82%</span></span></li><li><span class='g_term' style='color: red;'>Failed%</span><span class='g_bar' style='width:9.09%'><span style='color: red;'>9.09%</span></span></li><li><span class='g_term' style='color: red;'>Error%</span><span class='g_bar' style='width:9.09%'><span style='color: red;'>9.09%</span></span></li><li><span class='g_term' style='color: #c3c3c3;'>NA%</span><span class='g_bar' style='width:8.33%'><span style='color: #c3c3c3;'>8.33%</span></span></li></ul></div></div><div id='test_result'><div id='result_table_list'><div style='width:100%;background:#e9e9e9;line-height:25px;height:25px;'><div style='width:10%;float:left;'>Tc No.</div><div style='width:23%;float:left;'>Tc Title</div><div style='width:15%;float:left;'>Expect Response</div><div style='width:18%;float:left;'>Exec Time</div><div style='width:25%;float:left;'>Really Response</div><div style=' width:7%;float:left;'>Tc Result</div></div><div class='retPass retDetailCheck' id='case_TC_672_0001' style='width:100%;line-height:25px;height:25px;'><span style='width:10%;float:left;'>TC_672_0001</span><span style='width:23%;float:left;'>登录名为空</span><span style='width:15%;float:left;'>用户帐号已被占用</span><span style='width:18%;float:left;'>2018-07-23 11:00:46.129</span><span title='{"msg":"用户帐号已被占用"}' style='width:25%;float:left;overflow: hidden;white-sapce:nowrap;'>{"msg":"用户帐号已被占用"}</span><span style='width:7%;float:left;'><a href='javascript:void()' onclick=postOpen('TC_672_0001')>Pass</a></span><div id='TC_672_0001_RESPONSE_DETAIL' class='postDataForm formHidden'>TcNo: TC_672_0001
POST http://localhost:18087/com.portal.web/mvc/userAdd.do
POST data:
loginid=&username=%E5%A5%BD%E5%A5%BD%E5%A5%BD&orgid=11100000&telno=13916431701&cardNum=341022136558856546&status=1&sex=1&jobNumber=2044151&entryDate=2018-07-12&portalstr=999999&rolestr=101&bankJobNumber=205511&testParam=123221
Cookie Data:
JSESSIONID=0C13C6E9913617DCA9E2B9C1D4816078
<div id='postDataClose' style='text-align:center;'><a onclick=postClose('TC_672_0001') href='javascript:void()' style='color: red;'>关 闭</a></div></div></div><div class='retFail retDetailCheck' id='case_TC_672_0003' style='width:100%;line-height:25px;height:25px;'><span style='width:10%;float:left;'>TC_672_0003</span><span style='width:23%;float:left;'>机构ID为空</span><span style='width:15%;float:left;'>用户帐号已被占用</span><span style='width:18%;float:left;'>2018-07-23 11:00:46.738</span><span title='{"msg":"工号已被占用"}' style='width:25%;float:left;overflow: hidden;white-sapce:nowrap;'>{"msg":"工号已被占用"}</span><span style='width:7%;float:left;'><a href='javascript:void()' onclick=postOpen('TC_672_0003')>Fail</a></span><div id='TC_672_0003_RESPONSE_DETAIL' class='postDataForm formHidden'>TcNo: TC_672_0003
POST http://localhost:18087/com.portal.web/mvc/userAdd.do
POST data:
loginid=testLogin013&username=%E5%A5%BD%E5%A5%BD%E5%A5%BD&orgid=&telno=13916431703&cardNum=341022136558856546&status=1&sex=1&jobNumber=2044153&entryDate=2018-07-14&portalstr=999999&rolestr=101&bankJobNumber=205513&testParam=123221
Cookie Data:
JSESSIONID=0C13C6E9913617DCA9E2B9C1D4816078
<div id='postDataClose' style='text-align:center;'><a onclick=postClose('TC_672_0003') href='javascript:void()' style='color: red;'>关 闭</a></div></div></div><div class='retPass retDetailCheck' id='case_TC_672_0004' style='width:100%;line-height:25px;height:25px;'><span style='width:10%;float:left;'>TC_672_0004</span><span style='width:23%;float:left;'>电话号码为空</span><span style='width:15%;float:left;'>用户帐号已被占用</span><span style='width:18%;float:left;'>2018-07-23 11:00:47.093</span><span title='{"msg":"用户帐号已被占用"}' style='width:25%;float:left;overflow: hidden;white-sapce:nowrap;'>{"msg":"用户帐号已被占用"}</span><span style='width:7%;float:left;'><a href='javascript:void()' onclick=postOpen('TC_672_0004')>Pass</a></span><div id='TC_672_0004_RESPONSE_DETAIL' class='postDataForm formHidden'>TcNo: TC_672_0004
POST http://localhost:18087/com.portal.web/mvc/userAdd.do
POST data:
loginid=testLogin003&username=%E5%A5%BD%E5%A5%BD%E5%A5%BD&orgid=11100000&telno=&cardNum=341022136558856546&status=1&sex=1&jobNumber=2044154&entryDate=2018-07-15&portalstr=999999&rolestr=101&bankJobNumber=205514&testParam=123221
Cookie Data:
JSESSIONID=0C13C6E9913617DCA9E2B9C1D4816078
<div id='postDataClose' style='text-align:center;'><a onclick=postClose('TC_672_0004') href='javascript:void()' style='color: red;'>关 闭</a></div></div></div><div class='retPass retDetailCheck' id='case_TC_672_0005' style='width:100%;line-height:25px;height:25px;'><span style='width:10%;float:left;'>TC_672_0005</span><span style='width:23%;float:left;'>身份证号码为空</span><span style='width:15%;float:left;'>用户帐号已被占用</span><span style='width:18%;float:left;'>2018-07-23 11:00:47.523</span><span title='{"msg":"用户帐号已被占用"}' style='width:25%;float:left;overflow: hidden;white-sapce:nowrap;'>{"msg":"用户帐号已被占用"}</span><span style='width:7%;float:left;'><a href='javascript:void()' onclick=postOpen('TC_672_0005')>Pass</a></span><div id='TC_672_0005_RESPONSE_DETAIL' class='postDataForm formHidden'>TcNo: TC_672_0005
POST http://localhost:18087/com.portal.web/mvc/userAdd.do
POST data:
loginid=testLogin004&username=%E5%A5%BD%E5%A5%BD%E5%A5%BD&orgid=11100000&telno=13916431705&cardNum=&status=1&sex=1&jobNumber=2044155&entryDate=2018-07-16&portalstr=999999&rolestr=101&bankJobNumber=205515&testParam=123221
Cookie Data:
JSESSIONID=0C13C6E9913617DCA9E2B9C1D4816078
<div id='postDataClose' style='text-align:center;'><a onclick=postClose('TC_672_0005') href='javascript:void()' style='color: red;'>关 闭</a></div></div></div><div class='retPass retDetailCheck' id='case_TC_672_0006' style='width:100%;line-height:25px;height:25px;'><span style='width:10%;float:left;'>TC_672_0006</span><span style='width:23%;float:left;'>用户状态为空</span><span style='width:15%;float:left;'>用户帐号已被占用</span><span style='width:18%;float:left;'>2018-07-23 11:00:47.844</span><span title='{"msg":"用户帐号已被占用"}' style='width:25%;float:left;overflow: hidden;white-sapce:nowrap;'>{"msg":"用户帐号已被占用"}</span><span style='width:7%;float:left;'><a href='javascript:void()' onclick=postOpen('TC_672_0006')>Pass</a></span><div id='TC_672_0006_RESPONSE_DETAIL' class='postDataForm formHidden'>TcNo: TC_672_0006
POST http://localhost:18087/com.portal.web/mvc/userAdd.do
POST data:
loginid=testLogin005&username=%E5%A5%BD%E5%A5%BD%E5%A5%BD&orgid=11100000&telno=13916431706&cardNum=341022136558856546&status=&sex=1&jobNumber=2044156&entryDate=2018-07-17&portalstr=999999&rolestr=101&bankJobNumber=205516&testParam=123221
Cookie Data:
JSESSIONID=0C13C6E9913617DCA9E2B9C1D4816078
<div id='postDataClose' style='text-align:center;'><a onclick=postClose('TC_672_0006') href='javascript:void()' style='color: red;'>关 闭</a></div></div></div><div class='retPass retDetailCheck' id='case_TC_672_0007' style='width:100%;line-height:25px;height:25px;'><span style='width:10%;float:left;'>TC_672_0007</span><span style='width:23%;float:left;'>用户性别为空</span><span style='width:15%;float:left;'>用户帐号已被占用</span><span style='width:18%;float:left;'>2018-07-23 11:00:48.280</span><span title='{"msg":"用户帐号已被占用"}' style='width:25%;float:left;overflow: hidden;white-sapce:nowrap;'>{"msg":"用户帐号已被占用"}</span><span style='width:7%;float:left;'><a href='javascript:void()' onclick=postOpen('TC_672_0007')>Pass</a></span><div id='TC_672_0007_RESPONSE_DETAIL' class='postDataForm formHidden'>TcNo: TC_672_0007
POST http://localhost:18087/com.portal.web/mvc/userAdd.do
POST data:
loginid=testLogin006&username=%E5%A5%BD%E5%A5%BD%E5%A5%BD&orgid=11100000&telno=13916431707&cardNum=341022136558856546&status=1&sex=&jobNumber=2044157&entryDate=2018-07-18&portalstr=999999&rolestr=101&bankJobNumber=205517&testParam=123221
Cookie Data:
JSESSIONID=0C13C6E9913617DCA9E2B9C1D4816078
<div id='postDataClose' style='text-align:center;'><a onclick=postClose('TC_672_0007') href='javascript:void()' style='color: red;'>关 闭</a></div></div></div><div class='retPass retDetailCheck' id='case_TC_672_0008' style='width:100%;line-height:25px;height:25px;'><span style='width:10%;float:left;'>TC_672_0008</span><span style='width:23%;float:left;'>用户工号为空</span><span style='width:15%;float:left;'>用户帐号已被占用</span><span style='width:18%;float:left;'>2018-07-23 11:00:48.624</span><span title='{"msg":"用户帐号已被占用"}' style='width:25%;float:left;overflow: hidden;white-sapce:nowrap;'>{"msg":"用户帐号已被占用"}</span><span style='width:7%;float:left;'><a href='javascript:void()' onclick=postOpen('TC_672_0008')>Pass</a></span><div id='TC_672_0008_RESPONSE_DETAIL' class='postDataForm formHidden'>TcNo: TC_672_0008
POST http://localhost:18087/com.portal.web/mvc/userAdd.do
POST data:
loginid=testLogin007&username=%E5%A5%BD%E5%A5%BD%E5%A5%BD&orgid=11100000&telno=13916431708&cardNum=341022136558856546&status=1&sex=1&jobNumber=&entryDate=2018-07-19&portalstr=999999&rolestr=101&bankJobNumber=205518&testParam=123221
Cookie Data:
JSESSIONID=0C13C6E9913617DCA9E2B9C1D4816078
<div id='postDataClose' style='text-align:center;'><a onclick=postClose('TC_672_0008') href='javascript:void()' style='color: red;'>关 闭</a></div></div></div><div class='retPass retDetailCheck' id='case_TC_672_0009' style='width:100%;line-height:25px;height:25px;'><span style='width:10%;float:left;'>TC_672_0009</span><span style='width:23%;float:left;'>用户行方工号为空</span><span style='width:15%;float:left;'>用户帐号已被占用</span><span style='width:18%;float:left;'>2018-07-23 11:00:48.961</span><span title='{"msg":"用户帐号已被占用"}' style='width:25%;float:left;overflow: hidden;white-sapce:nowrap;'>{"msg":"用户帐号已被占用"}</span><span style='width:7%;float:left;'><a href='javascript:void()' onclick=postOpen('TC_672_0009')>Pass</a></span><div id='TC_672_0009_RESPONSE_DETAIL' class='postDataForm formHidden'>TcNo: TC_672_0009
POST http://localhost:18087/com.portal.web/mvc/userAdd.do
POST data:
loginid=testLogin008&username=%E5%A5%BD%E5%A5%BD%E5%A5%BD&orgid=11100000&telno=13916431709&cardNum=341022136558856546&status=1&sex=1&jobNumber=2044159&entryDate=2018-07-20&portalstr=999999&rolestr=101&bankJobNumber=&testParam=123221
Cookie Data:
JSESSIONID=0C13C6E9913617DCA9E2B9C1D4816078
<div id='postDataClose' style='text-align:center;'><a onclick=postClose('TC_672_0009') href='javascript:void()' style='color: red;'>关 闭</a></div></div></div><div class='retFail retDetailCheck' id='case_TC_672_0010' style='width:100%;line-height:25px;height:25px;'><span style='width:10%;float:left;'>TC_672_0010</span><span style='width:23%;float:left;'>入职时间为空</span><span style='width:15%;float:left;'>用户帐号已被占用</span><span style='width:18%;float:left;'>2018-07-23 11:00:49.324</span><span title='{"msg":"系统内部异常,请联系管理员!"}' style='width:25%;float:left;overflow: hidden;white-sapce:nowrap;'>{"msg":"系统内部异常,请联系管理员!"}</span><span style='width:7%;float:left;'><a href='javascript:void()' onclick=postOpen('TC_672_0010')>Fail</a></span><div id='TC_672_0010_RESPONSE_DETAIL' class='postDataForm formHidden'>TcNo: TC_672_0010
POST http://localhost:18087/com.portal.web/mvc/userAdd.do
POST data:
loginid=testLogin009&username=%E5%A5%BD%E5%A5%BD%E5%A5%BD&orgid=11100000&telno=13916431710&cardNum=341022136558856546&status=1&sex=1&jobNumber=2044160&entryDate=&portalstr=999999&rolestr=101&bankJobNumber=205520&testParam=123221
Cookie Data:
JSESSIONID=0C13C6E9913617DCA9E2B9C1D4816078
<div id='postDataClose' style='text-align:center;'><a onclick=postClose('TC_672_0010') href='javascript:void()' style='color: red;'>关 闭</a></div></div></div><div class='retPass retDetailCheck' id='case_TC_672_0011' style='width:100%;line-height:25px;height:25px;'><span style='width:10%;float:left;'>TC_672_0011</span><span style='width:23%;float:left;'>条线为空</span><span style='width:15%;float:left;'>用户帐号已被占用</span><span style='width:18%;float:left;'>2018-07-23 11:00:49.682</span><span title='{"msg":"用户帐号已被占用"}' style='width:25%;float:left;overflow: hidden;white-sapce:nowrap;'>{"msg":"用户帐号已被占用"}</span><span style='width:7%;float:left;'><a href='javascript:void()' onclick=postOpen('TC_672_0011')>Pass</a></span><div id='TC_672_0011_RESPONSE_DETAIL' class='postDataForm formHidden'>TcNo: TC_672_0011
POST http://localhost:18087/com.portal.web/mvc/userAdd.do
POST data:
loginid=testLogin010&username=%E5%A5%BD%E5%A5%BD%E5%A5%BD&orgid=11100000&telno=13916431711&cardNum=341022136558856546&status=1&sex=1&jobNumber=2044161&entryDate=2018-07-22&portalstr=&rolestr=101&bankJobNumber=205521&testParam=123221
Cookie Data:
JSESSIONID=0C13C6E9913617DCA9E2B9C1D4816078
<div id='postDataClose' style='text-align:center;'><a onclick=postClose('TC_672_0011') href='javascript:void()' style='color: red;'>关 闭</a></div></div></div><div class='retPass retDetailCheck' id='case_TC_672_0012' style='width:100%;line-height:25px;height:25px;'><span style='width:10%;float:left;'>TC_672_0012</span><span style='width:23%;float:left;'>角色为空</span><span style='width:15%;float:left;'>用户帐号已被占用</span><span style='width:18%;float:left;'>2018-07-23 11:00:50.039</span><span title='{"msg":"用户帐号已被占用"}' style='width:25%;float:left;overflow: hidden;white-sapce:nowrap;'>{"msg":"用户帐号已被占用"}</span><span style='width:7%;float:left;'><a href='javascript:void()' onclick=postOpen('TC_672_0012')>Pass</a></span><div id='TC_672_0012_RESPONSE_DETAIL' class='postDataForm formHidden'>TcNo: TC_672_0012
POST http://localhost:18087/com.portal.web/mvc/userAdd.do
POST data:
loginid=testLogin011&username=%E5%A5%BD%E5%A5%BD%E5%A5%BD&orgid=11100000&telno=13916431712&cardNum=341022136558856546&status=1&sex=1&jobNumber=2044162&entryDate=2018-07-23&portalstr=999999&rolestr=&bankJobNumber=205522&testParam=123221
Cookie Data:
JSESSIONID=0C13C6E9913617DCA9E2B9C1D4816078
<div id='postDataClose' style='text-align:center;'><a onclick=postClose('TC_672_0012') href='javascript:void()' style='color: red;'>关 闭</a></div></div></div></div></div></div><div id='jreport_footer'><em>Nio@JAF (Help from weihua.hu@hotmail.com)</em><a href='https://github.com/automans' target='_black'><em class='report_version'>automans@Github</em></a></div></div></body></html>