Commit 9f58a956 by zhaihuitao

update

parent 9777510a
......@@ -123,9 +123,9 @@ function html_escape(s) {
<div class='heading'>
<h1 style="font-family: Microsoft YaHei">&lt;TKIO接口监控报告&gt;</h1>
<p class='attribute'><strong>测试人员 : </strong> 翟会涛</p>
<p class='attribute'><strong>开始时间 : </strong> 2020-11-18 15:52:04</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:00:03.464657</p>
<p class='attribute'><strong>测试结果 : </strong> 共 14,通过 1,错误 13,通过率= 7.14%</p>
<p class='attribute'><strong>开始时间 : </strong> 2020-11-18 16:54:17</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:00:02.647841</p>
<p class='attribute'><strong>测试结果 : </strong> 共 14,通过 14,通过率= 100.00%</p>
<p class='description'>TKIO接口自动化测试用例</p>
</div>
......@@ -133,9 +133,9 @@ function html_escape(s) {
<p id='show_detail_line'>
<a class="btn btn-primary" href='javascript:showCase(0)'>概要{ 7.14% }</a>
<a class="btn btn-primary" href='javascript:showCase(0)'>概要{ 100.00% }</a>
<a class="btn btn-danger" href='javascript:showCase(1)'>失败{ 0 }</a>
<a class="btn btn-success" href='javascript:showCase(2)'>通过{ 1 }</a>
<a class="btn btn-success" href='javascript:showCase(2)'>通过{ 14 }</a>
<a class="btn btn-info" href='javascript:showCase(3)'>所有{ 14 }</a>
</p>
<table id='result_table' class="table table-condensed table-bordered table-hover">
......@@ -156,39 +156,30 @@ function html_escape(s) {
<td>详细</td>
</tr>
<tr class='errorClass warning'>
<td>unittest.loader._FailedTest</td>
<td class="text-center">13</td>
<tr class='passClass warning'>
<td>testcase.android_click.test_click.clickTestCase</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center">13</td>
<td class="text-center"><a href="javascript:showClassDetail('c1',13)" class="detail" id='c1'>详细</a></td>
<td class="text-center"><a href="javascript:showClassDetail('c1',1)" class="detail" id='c1'>详细</a></td>
</tr>
<tr id='ft1_1' class='none'>
<td class='errorCase'><div class='testcase'>test_click</div></td>
<tr id='pt1_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testclick</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<button id='btn_ft1_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft1_1'>错误</button>
<div id='div_ft1_1' class="collapse"> -->
<button id='btn_pt1_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt1_1'>通过</button>
<div id='div_pt1_1' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<button id='btn_ft1_1' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft1_1'>错误</button>
<div id='div_ft1_1' class="collapse in">
<button id='btn_pt1_1' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_pt1_1'>通过</button>
<div id='div_pt1_1' class="collapse in">
<pre>
ft1_1: ImportError: Failed to import test module: testcase.android_click.test_click
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/anaconda3/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/testcase/android_click/test_click.py", line 10, in &lt;module&gt;
from config.envcfg import click_url
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/envcfg.py", line 15, in &lt;module&gt;
print(server.get_job_info('tkio_interface_test'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: ordinal not in range(128)
pt1_1: /anaconda3/lib/python3.6/site-packages/urllib3/connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
200
</pre>
......@@ -196,30 +187,28 @@ UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: o
</td>
</tr>
<tr id='ft1_2' class='none'>
<td class='errorCase'><div class='testcase'>test_adclick</div></td>
<tr class='passClass warning'>
<td>testcase.android_events.test_adclick.adclickTestCase</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center"><a href="javascript:showClassDetail('c2',1)" class="detail" id='c2'>详细</a></td>
</tr>
<tr id='pt2_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testadclick</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<button id='btn_ft1_2' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft1_2'>错误</button>
<div id='div_ft1_2' class="collapse"> -->
<button id='btn_pt2_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt2_1'>通过</button>
<div id='div_pt2_1' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<button id='btn_ft1_2' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft1_2'>错误</button>
<div id='div_ft1_2' class="collapse in">
<button id='btn_pt2_1' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_pt2_1'>通过</button>
<div id='div_pt2_1' class="collapse in">
<pre>
ft1_2: ImportError: Failed to import test module: testcase.android_events.test_adclick
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/anaconda3/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/testcase/android_events/test_adclick.py", line 12, in &lt;module&gt;
from config.envcfg import prod_event_url, headers, event_interface
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/envcfg.py", line 15, in &lt;module&gt;
print(server.get_job_info('tkio_interface_test'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: ordinal not in range(128)
pt2_1: click:{"status":0}
</pre>
......@@ -227,30 +216,29 @@ UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: o
</td>
</tr>
<tr id='ft1_3' class='none'>
<td class='errorCase'><div class='testcase'>test_adshow</div></td>
<tr class='passClass warning'>
<td>testcase.android_events.test_adshow.adshowTestCase</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center"><a href="javascript:showClassDetail('c3',1)" class="detail" id='c3'>详细</a></td>
</tr>
<tr id='pt3_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testadshow</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<button id='btn_ft1_3' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft1_3'>错误</button>
<div id='div_ft1_3' class="collapse"> -->
<button id='btn_pt3_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt3_1'>通过</button>
<div id='div_pt3_1' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<button id='btn_ft1_3' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft1_3'>错误</button>
<div id='div_ft1_3' class="collapse in">
<button id='btn_pt3_1' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_pt3_1'>通过</button>
<div id='div_pt3_1' class="collapse in">
<pre>
ft1_3: ImportError: Failed to import test module: testcase.android_events.test_adshow
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/anaconda3/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/testcase/android_events/test_adshow.py", line 12, in &lt;module&gt;
from config.envcfg import prod_event_url, headers, event_interface
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/envcfg.py", line 15, in &lt;module&gt;
print(server.get_job_info('tkio_interface_test'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: ordinal not in range(128)
pt3_1:
adshow:{"status":0}
</pre>
......@@ -258,30 +246,28 @@ UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: o
</td>
</tr>
<tr id='ft1_4' class='none'>
<td class='errorCase'><div class='testcase'>test_appduration</div></td>
<tr class='passClass warning'>
<td>testcase.android_events.test_appduration.appdurationTestCase</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center"><a href="javascript:showClassDetail('c4',1)" class="detail" id='c4'>详细</a></td>
</tr>
<tr id='pt4_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testappduration</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<button id='btn_ft1_4' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft1_4'>错误</button>
<div id='div_ft1_4' class="collapse"> -->
<button id='btn_pt4_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt4_1'>通过</button>
<div id='div_pt4_1' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<button id='btn_ft1_4' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft1_4'>错误</button>
<div id='div_ft1_4' class="collapse in">
<button id='btn_pt4_1' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_pt4_1'>通过</button>
<div id='div_pt4_1' class="collapse in">
<pre>
ft1_4: ImportError: Failed to import test module: testcase.android_events.test_appduration
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/anaconda3/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/testcase/android_events/test_appduration.py", line 12, in &lt;module&gt;
from config.envcfg import prod_event_url, headers, event_interface
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/envcfg.py", line 15, in &lt;module&gt;
print(server.get_job_info('tkio_interface_test'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: ordinal not in range(128)
pt4_1: appduration:{"status":0}
</pre>
......@@ -289,30 +275,28 @@ UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: o
</td>
</tr>
<tr id='ft1_5' class='none'>
<td class='errorCase'><div class='testcase'>test_batchUpload</div></td>
<tr class='passClass warning'>
<td>testcase.android_events.test_batchUpload.batchUploadTestCase</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center"><a href="javascript:showClassDetail('c5',1)" class="detail" id='c5'>详细</a></td>
</tr>
<tr id='pt5_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testbatchUpload</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<button id='btn_ft1_5' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft1_5'>错误</button>
<div id='div_ft1_5' class="collapse"> -->
<button id='btn_pt5_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt5_1'>通过</button>
<div id='div_pt5_1' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<button id='btn_ft1_5' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft1_5'>错误</button>
<div id='div_ft1_5' class="collapse in">
<button id='btn_pt5_1' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_pt5_1'>通过</button>
<div id='div_pt5_1' class="collapse in">
<pre>
ft1_5: ImportError: Failed to import test module: testcase.android_events.test_batchUpload
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/anaconda3/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/testcase/android_events/test_batchUpload.py", line 13, in &lt;module&gt;
from config.envcfg import prod_event_url, headers
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/envcfg.py", line 15, in &lt;module&gt;
print(server.get_job_info('tkio_interface_test'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: ordinal not in range(128)
pt5_1: batch
</pre>
......@@ -320,30 +304,28 @@ UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: o
</td>
</tr>
<tr id='ft1_6' class='none'>
<td class='errorCase'><div class='testcase'>test_custom</div></td>
<tr class='passClass warning'>
<td>testcase.android_events.test_custom.customTestCase</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center"><a href="javascript:showClassDetail('c6',1)" class="detail" id='c6'>详细</a></td>
</tr>
<tr id='pt6_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testcustom</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<button id='btn_ft1_6' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft1_6'>错误</button>
<div id='div_ft1_6' class="collapse"> -->
<button id='btn_pt6_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt6_1'>通过</button>
<div id='div_pt6_1' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<button id='btn_ft1_6' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft1_6'>错误</button>
<div id='div_ft1_6' class="collapse in">
<button id='btn_pt6_1' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_pt6_1'>通过</button>
<div id='div_pt6_1' class="collapse in">
<pre>
ft1_6: ImportError: Failed to import test module: testcase.android_events.test_custom
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/anaconda3/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/testcase/android_events/test_custom.py", line 11, in &lt;module&gt;
from config.envcfg import prod_event_url, headers, event_interface
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/envcfg.py", line 15, in &lt;module&gt;
print(server.get_job_info('tkio_interface_test'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: ordinal not in range(128)
pt6_1: custom{"status":0}
</pre>
......@@ -351,30 +333,28 @@ UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: o
</td>
</tr>
<tr id='ft1_7' class='none'>
<td class='errorCase'><div class='testcase'>test_install</div></td>
<tr class='passClass warning'>
<td>testcase.android_events.test_gettime.gettimeTestCase</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center"><a href="javascript:showClassDetail('c7',1)" class="detail" id='c7'>详细</a></td>
</tr>
<tr id='pt7_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testgettime</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<button id='btn_ft1_7' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft1_7'>错误</button>
<div id='div_ft1_7' class="collapse"> -->
<button id='btn_pt7_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt7_1'>通过</button>
<div id='div_pt7_1' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<button id='btn_ft1_7' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft1_7'>错误</button>
<div id='div_ft1_7' class="collapse in">
<button id='btn_pt7_1' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_pt7_1'>通过</button>
<div id='div_pt7_1' class="collapse in">
<pre>
ft1_7: ImportError: Failed to import test module: testcase.android_events.test_install
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/anaconda3/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/testcase/android_events/test_install.py", line 11, in &lt;module&gt;
from config.envcfg import prod_event_url, event_interface, headers
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/envcfg.py", line 15, in &lt;module&gt;
print(server.get_job_info('tkio_interface_test'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: ordinal not in range(128)
pt7_1: {"ts":1605689659488,"status":0}
</pre>
......@@ -382,30 +362,29 @@ UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: o
</td>
</tr>
<tr id='ft1_8' class='none'>
<td class='errorCase'><div class='testcase'>test_login</div></td>
<tr class='passClass warning'>
<td>testcase.android_events.test_install.installTestCase</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center"><a href="javascript:showClassDetail('c8',1)" class="detail" id='c8'>详细</a></td>
</tr>
<tr id='pt8_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testinstall</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<button id='btn_ft1_8' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft1_8'>错误</button>
<div id='div_ft1_8' class="collapse"> -->
<button id='btn_pt8_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt8_1'>通过</button>
<div id='div_pt8_1' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<button id='btn_ft1_8' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft1_8'>错误</button>
<div id='div_ft1_8' class="collapse in">
<button id='btn_pt8_1' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_pt8_1'>通过</button>
<div id='div_pt8_1' class="collapse in">
<pre>
ft1_8: ImportError: Failed to import test module: testcase.android_events.test_login
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/anaconda3/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/testcase/android_events/test_login.py", line 13, in &lt;module&gt;
from config.envcfg import prod_event_url, headers, event_interface
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/envcfg.py", line 15, in &lt;module&gt;
print(server.get_job_info('tkio_interface_test'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: ordinal not in range(128)
pt8_1:
install:{"status":0}
</pre>
......@@ -413,30 +392,28 @@ UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: o
</td>
</tr>
<tr id='ft1_9' class='none'>
<td class='errorCase'><div class='testcase'>test_pageduration</div></td>
<tr class='passClass warning'>
<td>testcase.android_events.test_login.loninTestCase</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center"><a href="javascript:showClassDetail('c9',1)" class="detail" id='c9'>详细</a></td>
</tr>
<tr id='pt9_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testlogin</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<button id='btn_ft1_9' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft1_9'>错误</button>
<div id='div_ft1_9' class="collapse"> -->
<button id='btn_pt9_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt9_1'>通过</button>
<div id='div_pt9_1' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<button id='btn_ft1_9' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft1_9'>错误</button>
<div id='div_ft1_9' class="collapse in">
<button id='btn_pt9_1' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_pt9_1'>通过</button>
<div id='div_pt9_1' class="collapse in">
<pre>
ft1_9: ImportError: Failed to import test module: testcase.android_events.test_pageduration
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/anaconda3/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/testcase/android_events/test_pageduration.py", line 13, in &lt;module&gt;
from config.envcfg import prod_event_url, headers, event_interface
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/envcfg.py", line 15, in &lt;module&gt;
print(server.get_job_info('tkio_interface_test'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: ordinal not in range(128)
pt9_1: login{"status":0}
</pre>
......@@ -444,30 +421,28 @@ UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: o
</td>
</tr>
<tr id='ft1_10' class='none'>
<td class='errorCase'><div class='testcase'>test_payment</div></td>
<tr class='passClass warning'>
<td>testcase.android_events.test_pageduration.pagedurationTestCase</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center"><a href="javascript:showClassDetail('c10',1)" class="detail" id='c10'>详细</a></td>
</tr>
<tr id='pt10_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testpageduration</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<button id='btn_ft1_10' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft1_10'>错误</button>
<div id='div_ft1_10' class="collapse"> -->
<button id='btn_pt10_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt10_1'>通过</button>
<div id='div_pt10_1' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<button id='btn_ft1_10' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft1_10'>错误</button>
<div id='div_ft1_10' class="collapse in">
<button id='btn_pt10_1' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_pt10_1'>通过</button>
<div id='div_pt10_1' class="collapse in">
<pre>
ft1_10: ImportError: Failed to import test module: testcase.android_events.test_payment
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/anaconda3/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/testcase/android_events/test_payment.py", line 12, in &lt;module&gt;
from config.envcfg import prod_event_url, headers, event_interface
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/envcfg.py", line 15, in &lt;module&gt;
print(server.get_job_info('tkio_interface_test'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: ordinal not in range(128)
pt10_1: pageduration:{"status":0}
</pre>
......@@ -475,30 +450,28 @@ UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: o
</td>
</tr>
<tr id='ft1_11' class='none'>
<td class='errorCase'><div class='testcase'>test_payorder</div></td>
<tr class='passClass warning'>
<td>testcase.android_events.test_payment.payTestCase</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center"><a href="javascript:showClassDetail('c11',1)" class="detail" id='c11'>详细</a></td>
</tr>
<tr id='pt11_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testpayment</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<button id='btn_ft1_11' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft1_11'>错误</button>
<div id='div_ft1_11' class="collapse"> -->
<button id='btn_pt11_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt11_1'>通过</button>
<div id='div_pt11_1' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<button id='btn_ft1_11' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft1_11'>错误</button>
<div id='div_ft1_11' class="collapse in">
<button id='btn_pt11_1' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_pt11_1'>通过</button>
<div id='div_pt11_1' class="collapse in">
<pre>
ft1_11: ImportError: Failed to import test module: testcase.android_events.test_payorder
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/anaconda3/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/testcase/android_events/test_payorder.py", line 12, in &lt;module&gt;
from config.envcfg import prod_event_url, headers, event_interface
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/envcfg.py", line 15, in &lt;module&gt;
print(server.get_job_info('tkio_interface_test'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: ordinal not in range(128)
pt11_1: payment{"status":0}
</pre>
......@@ -506,30 +479,28 @@ UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: o
</td>
</tr>
<tr id='ft1_12' class='none'>
<td class='errorCase'><div class='testcase'>test_register</div></td>
<tr class='passClass warning'>
<td>testcase.android_events.test_payorder.payorderTestCase</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center"><a href="javascript:showClassDetail('c12',1)" class="detail" id='c12'>详细</a></td>
</tr>
<tr id='pt12_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testpayorder</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<button id='btn_ft1_12' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft1_12'>错误</button>
<div id='div_ft1_12' class="collapse"> -->
<button id='btn_pt12_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt12_1'>通过</button>
<div id='div_pt12_1' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<button id='btn_ft1_12' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft1_12'>错误</button>
<div id='div_ft1_12' class="collapse in">
<button id='btn_pt12_1' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_pt12_1'>通过</button>
<div id='div_pt12_1' class="collapse in">
<pre>
ft1_12: ImportError: Failed to import test module: testcase.android_events.test_register
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/anaconda3/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/testcase/android_events/test_register.py", line 13, in &lt;module&gt;
from config.envcfg import prod_event_url, headers, event_interface
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/envcfg.py", line 15, in &lt;module&gt;
print(server.get_job_info('tkio_interface_test'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: ordinal not in range(128)
pt12_1: payorder{"status":0}
</pre>
......@@ -537,30 +508,28 @@ UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: o
</td>
</tr>
<tr id='ft1_13' class='none'>
<td class='errorCase'><div class='testcase'>test_startup</div></td>
<tr class='passClass warning'>
<td>testcase.android_events.test_register.registerTestCase</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center"><a href="javascript:showClassDetail('c13',1)" class="detail" id='c13'>详细</a></td>
</tr>
<tr id='pt13_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testregister</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<button id='btn_ft1_13' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft1_13'>错误</button>
<div id='div_ft1_13' class="collapse"> -->
<button id='btn_pt13_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt13_1'>通过</button>
<div id='div_pt13_1' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<button id='btn_ft1_13' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft1_13'>错误</button>
<div id='div_ft1_13' class="collapse in">
<button id='btn_pt13_1' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_pt13_1'>通过</button>
<div id='div_pt13_1' class="collapse in">
<pre>
ft1_13: ImportError: Failed to import test module: testcase.android_events.test_startup
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/anaconda3/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/testcase/android_events/test_startup.py", line 12, in &lt;module&gt;
from config.envcfg import prod_event_url, headers, event_interface
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/envcfg.py", line 15, in &lt;module&gt;
print(server.get_job_info('tkio_interface_test'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: ordinal not in range(128)
pt13_1: register{"status":0}
</pre>
......@@ -569,27 +538,27 @@ UnicodeEncodeError: 'ascii' codec can't encode characters in position 164-168: o
</tr>
<tr class='passClass warning'>
<td>testcase.android_events.test_gettime.gettimeTestCase</td>
<td>testcase.android_events.test_startup.startupTestCase</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center"><a href="javascript:showClassDetail('c2',1)" class="detail" id='c2'>详细</a></td>
<td class="text-center"><a href="javascript:showClassDetail('c14',1)" class="detail" id='c14'>详细</a></td>
</tr>
<tr id='pt2_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testgettime</div></td>
<tr id='pt14_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>teststartup</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<button id='btn_pt2_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt2_1'>通过</button>
<div id='div_pt2_1' class="collapse"> -->
<button id='btn_pt14_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt14_1'>通过</button>
<div id='div_pt14_1' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<button id='btn_pt2_1' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_pt2_1'>通过</button>
<div id='div_pt2_1' class="collapse in">
<button id='btn_pt14_1' type="button" class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_pt14_1'>通过</button>
<div id='div_pt14_1' class="collapse in">
<pre>
pt2_1: {"ts":1605685928117,"status":0}
pt14_1: startup{"status":0,"caid":"00_658BF93B71D8CCD446667DF1FC8F5112_A621A8F4404C9B0D3CF26AA86457456A","type":1}
</pre>
......@@ -600,10 +569,10 @@ pt2_1: {"ts":1605685928117,"status":0}
<tr id='total_row' class="text-center active">
<td>总计</td>
<td>14</td>
<td>1</td>
<td>14</td>
<td>0</td>
<td>0</td>
<td>13</td>
<td>通过率:7.14%</td>
<td>通过率:100.00%</td>
</tr>
</table>
......
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