Commit 4471ce82 by zhaihuitao

update

parent 61f0b753
......@@ -20,8 +20,7 @@
</component>
<component name="ChangeListManager">
<list default="true" id="d0064643-2990-4ed3-bfb0-875849b30f4e" name="Default" comment="update">
<change beforePath="$PROJECT_DIR$/testcase/game/game_event.py" beforeDir="false" afterPath="$PROJECT_DIR$/testcase/game/game_event.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcase/run_all_cases.py" beforeDir="false" afterPath="$PROJECT_DIR$/testcase/run_all_cases.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/report/result.html" beforeDir="false" afterPath="$PROJECT_DIR$/report/result.html" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -100,29 +99,6 @@
</list>
</option>
</component>
<component name="FindInProjectRecents">
<findStrings>
<find>ry</find>
<find>event</find>
<find>background</find>
<find>adshow</find>
<find>p</find>
<find>prod</find>
<find>prod_</find>
<find>prod_cli</find>
<find>prod_click</find>
<find>prod_click_</find>
<find>prod_click_u</find>
<find>prod_click_url</find>
<find>stringIO</find>
<find>report</find>
<find>os</find>
</findStrings>
<replaceStrings>
<replace />
<replace>click_url</replace>
</replaceStrings>
</component>
<component name="Git.Settings">
<option name="UPDATE_TYPE" value="MERGE" />
<option name="ROOT_SYNC" value="DONT_SYNC" />
......@@ -444,20 +420,6 @@
<updated>1596505503233</updated>
<workItem from="1596786333197" duration="228000" />
</task>
<task id="LOCAL-00038" summary="update">
<created>1598596354765</created>
<option name="number" value="00038" />
<option name="presentableId" value="LOCAL-00038" />
<option name="project" value="LOCAL" />
<updated>1598596354765</updated>
</task>
<task id="LOCAL-00039" summary="update">
<created>1598860679221</created>
<option name="number" value="00039" />
<option name="presentableId" value="LOCAL-00039" />
<option name="project" value="LOCAL" />
<updated>1598860679221</updated>
</task>
<task id="LOCAL-00040" summary="update">
<created>1598860695945</created>
<option name="number" value="00040" />
......@@ -787,7 +749,21 @@
<option name="project" value="LOCAL" />
<updated>1608120173227</updated>
</task>
<option name="localTasksCounter" value="87" />
<task id="LOCAL-00087" summary="update">
<created>1610704245742</created>
<option name="number" value="00087" />
<option name="presentableId" value="LOCAL-00087" />
<option name="project" value="LOCAL" />
<updated>1610704245742</updated>
</task>
<task id="LOCAL-00088" summary="update">
<created>1610704456541</created>
<option name="number" value="00088" />
<option name="presentableId" value="LOCAL-00088" />
<option name="project" value="LOCAL" />
<updated>1610704456541</updated>
</task>
<option name="localTasksCounter" value="89" />
<servers />
</component>
<component name="TodoView">
......@@ -855,10 +831,10 @@
</state>
<state x="149" y="25" width="982" height="728" key="SettingsEditor/0.0.1280.800@0.0.1280.800" timestamp="1608117997488" />
<state x="149" y="25" width="982" height="716" key="SettingsEditor/0.25.1280.716@0.25.1280.716" timestamp="1606734406260" />
<state x="240" y="106" key="Vcs.Push.Dialog.v2" timestamp="1608120175150">
<state x="240" y="106" key="Vcs.Push.Dialog.v2" timestamp="1610704458454">
<screen x="0" y="0" width="1280" height="800" />
</state>
<state x="240" y="106" key="Vcs.Push.Dialog.v2/0.0.1280.800@0.0.1280.800" timestamp="1608120175150" />
<state x="240" y="106" key="Vcs.Push.Dialog.v2/0.0.1280.800@0.0.1280.800" timestamp="1610704458454" />
<state x="240" y="120" key="Vcs.Push.Dialog.v2/0.25.1280.716@0.25.1280.716" timestamp="1606734542701" />
</component>
</project>
\ No newline at end of file
......@@ -22,12 +22,12 @@ print(url)
# click_url = 'http://10.3.20.42:8083/tkio/JjuUb2a'
click_url = 'http://10.3.20.42:8083/tkio/ye6zEja'
click_url = 'http://uri6.com/tkio/fMnmYba'
# prod_event_url = 'http://log.trackingio.com'
prod_event_url = 'http://log.reyun.com'
# prod_event_url = 'http://10.3.20.42:8080'
# test_event_url = 'http://10.3.20.42:8080'
prod_appkey = "426fb8e0d9879ebe739cc2a48585bf14"
prod_appkey = "895c5256a7f47bd2cca88a29da9e978a"
# prod_appkey = "57ed2dd31596bb4682471e82c0c73c1a"
event_interface = dict(install='/receive/tkio/install', loggedin='/receive/tkio/loggedin',
pageduration='/receive/tkio/pageduration', payment='/receive/tkio/payment',
......
......@@ -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> 2021-01-15 17:51:01</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:00:01.119482</p>
<p class='attribute'><strong>测试结果 : </strong> 共 7,错误 7,通过率= 0.00%</p>
<p class='attribute'><strong>开始时间 : </strong> 2021-01-15 17:54:33</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:00:32.249275</p>
<p class='attribute'><strong>测试结果 : </strong> 共 7,通过 6,错误 1,通过率= 85.71%</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)'>概要{ 0.00% }</a>
<a class="btn btn-primary" href='javascript:showCase(0)'>概要{ 85.71% }</a>
<a class="btn btn-danger" href='javascript:showCase(1)'>失败{ 0 }</a>
<a class="btn btn-success" href='javascript:showCase(2)'>通过{ 0 }</a>
<a class="btn btn-success" href='javascript:showCase(2)'>通过{ 6 }</a>
<a class="btn btn-info" href='javascript:showCase(3)'>所有{ 7 }</a>
</p>
<table id='result_table' class="table table-condensed table-bordered table-hover">
......@@ -157,16 +157,16 @@ function html_escape(s) {
</tr>
<tr class='errorClass warning'>
<td>unittest.loader._FailedTest</td>
<td class="text-center">7</td>
<td>testcase.android_click.test_click.clickTestCase</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center">7</td>
<td class="text-center"><a href="javascript:showClassDetail('c1',7)" class="detail" id='c1'>详细</a></td>
<td class="text-center">1</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>
<td class='errorCase'><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>
......@@ -177,18 +177,65 @@ function html_escape(s) {
<div id='div_ft1_1' class="collapse in">
<pre>
ft1_1: ImportError: Failed to import test module: testcase.android_click.test_click
ft1_1: Traceback (most recent call last):
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/urllib3/connection.py", line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/urllib3/util/connection.py", line 83, in create_connection
raise err
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/urllib3/connectionpool.py", line 357, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/System/Volumes/Data/anaconda3/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/System/Volumes/Data/anaconda3/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/System/Volumes/Data/anaconda3/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/System/Volumes/Data/anaconda3/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/System/Volumes/Data/anaconda3/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/urllib3/connection.py", line 166, in connect
conn = self._new_conn()
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/urllib3/connection.py", line 146, in _new_conn
(self.host, self.timeout))
urllib3.exceptions.ConnectTimeoutError: (&lt;urllib3.connection.HTTPConnection object at 0x7fb6ca884908&gt;, 'Connection to 10.3.20.42 timed out. (connect timeout=30)')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/System/Volumes/Data/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/System/Volumes/Data/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 11, in &lt;module&gt;
from config.prod.params import params_click
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/prod/params.py", line 12, in &lt;module&gt;
from testcase.run_all_cases import IMEI
ImportError: cannot import name 'IMEI'
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/requests/adapters.py", line 440, in send
timeout=timeout
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/urllib3/util/retry.py", line 388, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.3.20.42', port=8083): Max retries exceeded with url: /tkio/ye6zEja?imei=925765017772&amp;ip=9.134.136.147&amp;vid=test_vid (Caused by ConnectTimeoutError(&lt;urllib3.connection.HTTPConnection object at 0x7fb6ca884908&gt;, 'Connection to 10.3.20.42 timed out. (connect timeout=30)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/testcase/android_click/test_click.py", line 22, in testclick
p = requests.get(url=click_url, params=params_click, timeout=30, verify=False)
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/requests/api.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/requests/adapters.py", line 496, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='10.3.20.42', port=8083): Max retries exceeded with url: /tkio/ye6zEja?imei=925765017772&amp;ip=9.134.136.147&amp;vid=test_vid (Caused by ConnectTimeoutError(&lt;urllib3.connection.HTTPConnection object at 0x7fb6ca884908&gt;, 'Connection to 10.3.20.42 timed out. (connect timeout=30)'))
</pre>
......@@ -196,30 +243,29 @@ ImportError: cannot import name 'IMEI'
</td>
</tr>
<tr id='ft1_2' class='none'>
<td class='errorCase'><div class='testcase'>test_install</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('c2',1)" class="detail" id='c2'>详细</a></td>
</tr>
<tr id='pt2_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testinstall</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_install
Traceback (most recent call last):
File "/System/Volumes/Data/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/System/Volumes/Data/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 12, in &lt;module&gt;
from config.prod.params import params_install
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/prod/params.py", line 12, in &lt;module&gt;
from testcase.run_all_cases import IMEI
ImportError: cannot import name 'IMEI'
pt2_1:
install:{"status":106}
</pre>
......@@ -227,30 +273,28 @@ ImportError: cannot import name 'IMEI'
</td>
</tr>
<tr id='ft1_3' class='none'>
<td class='errorCase'><div class='testcase'>test_login</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('c3',1)" class="detail" id='c3'>详细</a></td>
</tr>
<tr id='pt3_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testlogin</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_login
Traceback (most recent call last):
File "/System/Volumes/Data/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/System/Volumes/Data/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 14, in &lt;module&gt;
from config.prod.params import params_login
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/prod/params.py", line 12, in &lt;module&gt;
from testcase.run_all_cases import IMEI
ImportError: cannot import name 'IMEI'
pt3_1: login{"status":106}
</pre>
......@@ -258,30 +302,28 @@ ImportError: cannot import name 'IMEI'
</td>
</tr>
<tr id='ft1_4' class='none'>
<td class='errorCase'><div class='testcase'>test_payment</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('c4',1)" class="detail" id='c4'>详细</a></td>
</tr>
<tr id='pt4_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testpayment</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_payment
Traceback (most recent call last):
File "/System/Volumes/Data/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/System/Volumes/Data/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 13, in &lt;module&gt;
from config.prod.params import params_pay
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/prod/params.py", line 12, in &lt;module&gt;
from testcase.run_all_cases import IMEI
ImportError: cannot import name 'IMEI'
pt4_1: payment{"status":106}
</pre>
......@@ -289,30 +331,28 @@ ImportError: cannot import name 'IMEI'
</td>
</tr>
<tr id='ft1_5' class='none'>
<td class='errorCase'><div class='testcase'>test_payorder</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('c5',1)" class="detail" id='c5'>详细</a></td>
</tr>
<tr id='pt5_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testpayorder</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_payorder
Traceback (most recent call last):
File "/System/Volumes/Data/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/System/Volumes/Data/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 13, in &lt;module&gt;
from config.prod.params import params_payorder
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/prod/params.py", line 12, in &lt;module&gt;
from testcase.run_all_cases import IMEI
ImportError: cannot import name 'IMEI'
pt5_1: payorder{"status":106}
</pre>
......@@ -320,30 +360,28 @@ ImportError: cannot import name 'IMEI'
</td>
</tr>
<tr id='ft1_6' class='none'>
<td class='errorCase'><div class='testcase'>test_register</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('c6',1)" class="detail" id='c6'>详细</a></td>
</tr>
<tr id='pt6_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testregister</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_register
Traceback (most recent call last):
File "/System/Volumes/Data/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/System/Volumes/Data/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 14, in &lt;module&gt;
from config.prod.params import params_register
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/prod/params.py", line 12, in &lt;module&gt;
from testcase.run_all_cases import IMEI
ImportError: cannot import name 'IMEI'
pt6_1: register{"status":106}
</pre>
......@@ -351,30 +389,28 @@ ImportError: cannot import name 'IMEI'
</td>
</tr>
<tr id='ft1_7' class='none'>
<td class='errorCase'><div class='testcase'>test_startup</div></td>
<tr class='passClass warning'>
<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('c7',1)" class="detail" id='c7'>详细</a></td>
</tr>
<tr id='pt7_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>teststartup</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_startup
Traceback (most recent call last):
File "/System/Volumes/Data/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/System/Volumes/Data/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 13, in &lt;module&gt;
from config.prod.params import params_startup
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/prod/params.py", line 12, in &lt;module&gt;
from testcase.run_all_cases import IMEI
ImportError: cannot import name 'IMEI'
pt7_1: startup{"status":106,"caid":"00_658BF93B71D8CCD446667DF1FC8F5112_A621A8F4404C9B0D3CF26AA86457456A","type":1}
</pre>
......@@ -385,10 +421,10 @@ ImportError: cannot import name 'IMEI'
<tr id='total_row' class="text-center active">
<td>总计</td>
<td>7</td>
<td>6</td>
<td>0</td>
<td>0</td>
<td>7</td>
<td>通过率:0.00%</td>
<td>1</td>
<td>通过率:85.71%</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