Commit 9777510a by zhaihuitao

update

parent 0546cf68
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="d0064643-2990-4ed3-bfb0-875849b30f4e" name="Default" comment="update">
<list default="true" id="d0064643-2990-4ed3-bfb0-875849b30f4e" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/config/envcfg.py" afterPath="$PROJECT_DIR$/config/envcfg.py" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/report/result.html" afterPath="$PROJECT_DIR$/report/result.html" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/testcase/run_all_cases.py" afterPath="$PROJECT_DIR$/testcase/run_all_cases.py" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" />
......@@ -14,7 +14,7 @@
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="CoverageDataManager">
<SUITE FILE_PATH="coverage/interfaceTest$run_all_cases.coverage" NAME="run_all_cases Coverage Results" MODIFIED="1604903930231" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase" />
<SUITE FILE_PATH="coverage/interfaceTest$run_all_cases.coverage" NAME="run_all_cases Coverage Results" MODIFIED="1605150016071" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase" />
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_for_test_click_clickTestCase_testclick.coverage" NAME="Nosetests for test_click.clickTestCase.testclick Coverage Results" MODIFIED="1603353013821" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_click" />
<SUITE FILE_PATH="coverage/interfaceTest$params.coverage" NAME="params Coverage Results" MODIFIED="1604905924523" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/config/prod" />
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_in_test_batchUpload_py.coverage" NAME="Nosetests in test_batchUpload.py Coverage Results" MODIFIED="1601196142097" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_events" />
......@@ -46,8 +46,8 @@
<SUITE FILE_PATH="coverage/trackingIO$params.coverage" NAME="params Coverage Results" MODIFIED="1597666659921" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/config/prod" />
<SUITE FILE_PATH="coverage/trackingIO$mysqlTest.coverage" NAME="mysqlTest Coverage Results" MODIFIED="1596697811466" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/common/test" />
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_for_test_register_registerTestCase.coverage" NAME="Nosetests for test_register.registerTestCase Coverage Results" MODIFIED="1600759873043" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_events" />
<SUITE FILE_PATH="coverage/interfaceTest$envcfg.coverage" NAME="envcfg Coverage Results" MODIFIED="1600312069094" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/config" />
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_for_test_click_clickTestCase.coverage" NAME="Nosetests for test_click.clickTestCase Coverage Results" MODIFIED="1604905944196" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_click" />
<SUITE FILE_PATH="coverage/interfaceTest$envcfg.coverage" NAME="envcfg Coverage Results" MODIFIED="1605168558687" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/config" />
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_for_test_install_installTestCase.coverage" NAME="Nosetests for test_install.installTestCase Coverage Results" MODIFIED="1601195522373" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_events" />
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_in_test_register_py.coverage" NAME="Nosetests in test_register.py Coverage Results" MODIFIED="1602832221362" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_events" />
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_for_test_click_clickTestCase_click.coverage" NAME="Nosetests for test_click.clickTestCase.click Coverage Results" MODIFIED="1599534820758" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_click" />
......@@ -80,12 +80,14 @@
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="envcfg.py" pinned="false" current-in-tab="false">
<file leaf-file-name="envcfg.py" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/config/envcfg.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-834">
<caret line="4" column="22" lean-forward="true" selection-start-line="4" selection-start-column="22" selection-end-line="4" selection-end-column="22" />
<folding />
<state relative-caret-position="170">
<caret line="14" column="52" lean-forward="false" selection-start-line="14" selection-start-column="52" selection-end-line="14" selection-end-column="52" />
<folding>
<element signature="e#96#134#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
......@@ -93,8 +95,8 @@
<file leaf-file-name="test_click.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_click/test_click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="105">
<caret line="7" column="0" lean-forward="true" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
<state relative-caret-position="9">
<caret line="7" column="0" lean-forward="false" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
<folding />
</state>
</provider>
......@@ -104,13 +106,16 @@
<entry file="file://$PROJECT_DIR$/report/result.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="165">
<caret line="11" column="38" lean-forward="true" selection-start-line="11" selection-start-column="38" selection-end-line="11" selection-end-column="38" />
<caret line="11" column="38" lean-forward="false" selection-start-line="11" selection-start-column="38" selection-end-line="11" selection-end-column="38" />
<folding>
<element signature="e#211#215#0" expanded="true" />
<element signature="e#225#229#0" expanded="true" />
<element signature="n#style#0;n#h1#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="e#3653#3657#0" expanded="true" />
<element signature="e#3667#3671#0" expanded="true" />
<marker date="1605685928138" expanded="true" signature="25135:25146" ph="..." />
<marker date="1605685928138" expanded="false" signature="25351:25366" ph="..." />
<marker date="1605685928138" expanded="true" signature="25386:25398" ph="..." />
</folding>
</state>
</provider>
......@@ -148,11 +153,11 @@
</provider>
</entry>
</file>
<file leaf-file-name="run_all_cases.py" pinned="false" current-in-tab="true">
<file leaf-file-name="run_all_cases.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/run_all_cases.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="285">
<caret line="44" column="39" lean-forward="false" selection-start-line="44" selection-start-column="39" selection-end-line="44" selection-end-column="39" />
<state relative-caret-position="225">
<caret line="15" column="0" lean-forward="false" selection-start-line="15" selection-start-column="0" selection-end-line="15" selection-end-column="0" />
<folding>
<element signature="e#105#120#0" expanded="true" />
</folding>
......@@ -170,16 +175,6 @@
</provider>
</entry>
</file>
<file leaf-file-name="tokenTest.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_events/tokenTest.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="300">
<caret line="21" column="13" lean-forward="false" selection-start-line="21" selection-start-column="12" selection-end-line="21" selection-end-column="13" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="test_adclick.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_adclick.py">
<provider selected="true" editor-type-id="text-editor">
......@@ -267,11 +262,11 @@
<option value="$PROJECT_DIR$/testcase/android_events/test_payorder.py" />
<option value="$PROJECT_DIR$/testcase/android_events/test_register.py" />
<option value="$PROJECT_DIR$/testcase/android_events/test_startup.py" />
<option value="$PROJECT_DIR$/config/envcfg.py" />
<option value="$PROJECT_DIR$/config/prod/params.py" />
<option value="$PROJECT_DIR$/testcase/android_click/test_click.py" />
<option value="$PROJECT_DIR$/report/result.html" />
<option value="$PROJECT_DIR$/testcase/run_all_cases.py" />
<option value="$PROJECT_DIR$/config/envcfg.py" />
</list>
</option>
</component>
......@@ -485,24 +480,7 @@
</list>
</option>
</component>
<component name="RunManager" selected="Python tests.Nosetests in test_click.py">
<configuration default="false" name="Nosetests in test_gettime.py" type="tests" factoryName="Nosetests" temporary="true" nameIsGenerated="true">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs />
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/testcase/android_events" />
<option name="IS_MODULE_SDK" value="false" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<module name="trackingIO" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" runner="coverage.py" />
<option name="_new_regexPattern" value="&quot;&quot;" />
<option name="_new_additionalArguments" value="&quot;&quot;" />
<option name="_new_target" value="&quot;$PROJECT_DIR$/testcase/android_events/test_gettime.py&quot;" />
<option name="_new_targetType" value="&quot;PATH&quot;" />
<method />
</configuration>
<component name="RunManager" selected="Python.envcfg">
<configuration default="false" name="run_all_cases" type="PythonConfigurationType" factoryName="Python" temporary="true">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
......@@ -575,6 +553,25 @@
<option name="_new_targetType" value="&quot;PYTHON&quot;" />
<method />
</configuration>
<configuration default="false" name="envcfg" type="PythonConfigurationType" factoryName="Python" temporary="true">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/config" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<module name="trackingIO" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/config/envcfg.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<method />
</configuration>
<configuration default="true" type="DjangoTestsConfigurationType" factoryName="Django tests">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
......@@ -725,19 +722,19 @@
<method />
</configuration>
<list size="5">
<item index="0" class="java.lang.String" itemvalue="Python tests.Nosetests in test_gettime.py" />
<item index="1" class="java.lang.String" itemvalue="Python.run_all_cases" />
<item index="2" class="java.lang.String" itemvalue="Python tests.Nosetests in test_click.py" />
<item index="3" class="java.lang.String" itemvalue="Python.params" />
<item index="4" class="java.lang.String" itemvalue="Python tests.Nosetests for test_click.clickTestCase" />
<item index="0" class="java.lang.String" itemvalue="Python.run_all_cases" />
<item index="1" class="java.lang.String" itemvalue="Python tests.Nosetests in test_click.py" />
<item index="2" class="java.lang.String" itemvalue="Python.params" />
<item index="3" class="java.lang.String" itemvalue="Python tests.Nosetests for test_click.clickTestCase" />
<item index="4" class="java.lang.String" itemvalue="Python.envcfg" />
</list>
<recent_temporary>
<list size="5">
<item index="0" class="java.lang.String" itemvalue="Python tests.Nosetests in test_click.py" />
<item index="1" class="java.lang.String" itemvalue="Python tests.Nosetests for test_click.clickTestCase" />
<item index="2" class="java.lang.String" itemvalue="Python.params" />
<item index="3" class="java.lang.String" itemvalue="Python.run_all_cases" />
<item index="4" class="java.lang.String" itemvalue="Python tests.Nosetests in test_gettime.py" />
<item index="0" class="java.lang.String" itemvalue="Python.envcfg" />
<item index="1" class="java.lang.String" itemvalue="Python.run_all_cases" />
<item index="2" class="java.lang.String" itemvalue="Python tests.Nosetests in test_click.py" />
<item index="3" class="java.lang.String" itemvalue="Python tests.Nosetests for test_click.clickTestCase" />
<item index="4" class="java.lang.String" itemvalue="Python.params" />
</list>
</recent_temporary>
</component>
......@@ -756,20 +753,6 @@
<updated>1596505503233</updated>
<workItem from="1596786333197" duration="228000" />
</task>
<task id="LOCAL-00027" summary="add install enevt">
<created>1597658753991</created>
<option name="number" value="00027" />
<option name="presentableId" value="LOCAL-00027" />
<option name="project" value="LOCAL" />
<updated>1597658753991</updated>
</task>
<task id="LOCAL-00028" summary="add install enevt">
<created>1597665968383</created>
<option name="number" value="00028" />
<option name="presentableId" value="LOCAL-00028" />
<option name="project" value="LOCAL" />
<updated>1597665968383</updated>
</task>
<task id="LOCAL-00029" summary="add install enevt">
<created>1597666685471</created>
<option name="number" value="00029" />
......@@ -1099,7 +1082,21 @@
<option name="project" value="LOCAL" />
<updated>1604906142054</updated>
</task>
<option name="localTasksCounter" value="76" />
<task id="LOCAL-00076" summary="update">
<created>1605149972993</created>
<option name="number" value="00076" />
<option name="presentableId" value="LOCAL-00076" />
<option name="project" value="LOCAL" />
<updated>1605149972994</updated>
</task>
<task id="LOCAL-00077" summary="update">
<created>1605513921451</created>
<option name="number" value="00077" />
<option name="presentableId" value="LOCAL-00077" />
<option name="project" value="LOCAL" />
<updated>1605513921452</updated>
</task>
<option name="localTasksCounter" value="78" />
<servers />
</component>
<component name="TestHistory">
......@@ -1379,14 +1376,6 @@
</state>
</provider>
</entry>
<entry file="file:///anaconda3/lib/python3.6/os.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$USER_HOME$/Library/Caches/PyCharm2017.1/python_stubs/1978755681/sys.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
......@@ -1540,32 +1529,19 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_click/test_click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="105">
<caret line="7" column="0" lean-forward="true" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/config/envcfg.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-834">
<caret line="4" column="22" lean-forward="true" selection-start-line="4" selection-start-column="22" selection-end-line="4" selection-end-column="22" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/report/result.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="165">
<caret line="11" column="38" lean-forward="true" selection-start-line="11" selection-start-column="38" selection-end-line="11" selection-end-column="38" />
<caret line="11" column="38" lean-forward="false" selection-start-line="11" selection-start-column="38" selection-end-line="11" selection-end-column="38" />
<folding>
<element signature="e#211#215#0" expanded="true" />
<element signature="e#225#229#0" expanded="true" />
<element signature="n#style#0;n#h1#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="e#3653#3657#0" expanded="true" />
<element signature="e#3667#3671#0" expanded="true" />
<marker date="1605685928138" expanded="true" signature="25135:25146" ph="..." />
<marker date="1605685928138" expanded="false" signature="25351:25366" ph="..." />
<marker date="1605685928138" expanded="true" signature="25386:25398" ph="..." />
</folding>
</state>
</provider>
......@@ -1588,15 +1564,41 @@
</state>
</provider>
</entry>
<entry file="file:///anaconda3/lib/python3.6/os.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-2">
<caret line="755" column="0" lean-forward="false" selection-start-line="755" selection-start-column="0" selection-end-line="755" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/run_all_cases.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="285">
<caret line="44" column="39" lean-forward="false" selection-start-line="44" selection-start-column="39" selection-end-line="44" selection-end-column="39" />
<state relative-caret-position="225">
<caret line="15" column="0" lean-forward="false" selection-start-line="15" selection-start-column="0" selection-end-line="15" selection-end-column="0" />
<folding>
<element signature="e#105#120#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_click/test_click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="9">
<caret line="7" column="0" lean-forward="false" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/config/envcfg.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="170">
<caret line="14" column="52" lean-forward="false" selection-start-line="14" selection-start-column="52" selection-end-line="14" selection-end-column="52" />
<folding>
<element signature="e#96#134#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
......@@ -10,9 +10,9 @@ from common.iniUtil import read_config
import jenkins
server = jenkins.Jenkins('http://127.0.0.1:8080', username='admin', password='reyun.com')
# server.build_job('tkio_interface_test')
print(server.get_job_info('tkio_interface_test'))
'''server = jenkins.Jenkins('http://127.0.0.1:8080', username='admin', password='reyun.com')
server.build_job('tkio_interface_test')
print(server.get_job_info('tkio_interface_test'))'''
# 生产环境:
path = "/Users/zhaihuitao/PycharmProjects/TKIO/interfaceTest/config/setting/config.ini"
......
......@@ -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-12 16:08:50</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:00:02.512215</p>
<p class='attribute'><strong>测试结果 : </strong> 共 14,通过 14,通过率= 100.00%</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='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)'>概要{ 100.00% }</a>
<a class="btn btn-primary" href='javascript:showCase(0)'>概要{ 7.14% }</a>
<a class="btn btn-danger" href='javascript:showCase(1)'>失败{ 0 }</a>
<a class="btn btn-success" href='javascript:showCase(2)'>通过{ 14 }</a>
<a class="btn btn-success" href='javascript:showCase(2)'>通过{ 1 }</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,28 +156,39 @@ function html_escape(s) {
<td>详细</td>
</tr>
<tr class='passClass warning'>
<td>testcase.android_click.test_click.clickTestCase</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<tr class='errorClass warning'>
<td>unittest.loader._FailedTest</td>
<td class="text-center">13</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center"><a href="javascript:showClassDetail('c1',1)" class="detail" id='c1'>详细</a></td>
<td class="text-center">13</td>
<td class="text-center"><a href="javascript:showClassDetail('c1',13)" class="detail" id='c1'>详细</a></td>
</tr>
<tr id='pt1_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testclick</div></td>
<tr id='ft1_1' class='none'>
<td class='errorCase'><div class='testcase'>test_click</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<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"> -->
<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"> -->
<!-- 默认展开错误信息 -Findyou -->
<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">
<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">
<pre>
pt1_1: 200
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)
</pre>
......@@ -185,28 +196,30 @@ pt1_1: 200
</td>
</tr>
<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>
<tr id='ft1_2' class='none'>
<td class='errorCase'><div class='testcase'>test_adclick</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_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"> -->
<!-- 默认展开错误信息 -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_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">
<pre>
pt2_1: click:{"status":0}
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)
</pre>
......@@ -214,29 +227,30 @@ pt2_1: click:{"status":0}
</td>
</tr>
<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>
<tr id='ft1_3' class='none'>
<td class='errorCase'><div class='testcase'>test_adshow</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<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"> -->
<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"> -->
<!-- 默认展开错误信息 -Findyou -->
<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">
<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">
<pre>
pt3_1:
adshow:{"status":0}
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)
</pre>
......@@ -244,28 +258,30 @@ adshow:{"status":0}
</td>
</tr>
<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>
<tr id='ft1_4' class='none'>
<td class='errorCase'><div class='testcase'>test_appduration</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<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"> -->
<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"> -->
<!-- 默认展开错误信息 -Findyou -->
<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">
<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">
<pre>
pt4_1: appduration:{"status":0}
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)
</pre>
......@@ -273,28 +289,30 @@ pt4_1: appduration:{"status":0}
</td>
</tr>
<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>
<tr id='ft1_5' class='none'>
<td class='errorCase'><div class='testcase'>test_batchUpload</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<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"> -->
<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"> -->
<!-- 默认展开错误信息 -Findyou -->
<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">
<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">
<pre>
pt5_1: batch
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)
</pre>
......@@ -302,28 +320,30 @@ pt5_1: batch
</td>
</tr>
<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>
<tr id='ft1_6' class='none'>
<td class='errorCase'><div class='testcase'>test_custom</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<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"> -->
<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"> -->
<!-- 默认展开错误信息 -Findyou -->
<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">
<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">
<pre>
pt6_1: custom{"status":0}
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)
</pre>
......@@ -331,28 +351,30 @@ pt6_1: custom{"status":0}
</td>
</tr>
<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>
<tr id='ft1_7' class='none'>
<td class='errorCase'><div class='testcase'>test_install</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<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"> -->
<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"> -->
<!-- 默认展开错误信息 -Findyou -->
<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">
<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">
<pre>
pt7_1: {"ts":1605168531619,"status":0}
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)
</pre>
......@@ -360,29 +382,30 @@ pt7_1: {"ts":1605168531619,"status":0}
</td>
</tr>
<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>
<tr id='ft1_8' class='none'>
<td class='errorCase'><div class='testcase'>test_login</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<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"> -->
<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"> -->
<!-- 默认展开错误信息 -Findyou -->
<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">
<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">
<pre>
pt8_1:
install:{"status":0}
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)
</pre>
......@@ -390,28 +413,30 @@ install:{"status":0}
</td>
</tr>
<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>
<tr id='ft1_9' class='none'>
<td class='errorCase'><div class='testcase'>test_pageduration</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<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"> -->
<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"> -->
<!-- 默认展开错误信息 -Findyou -->
<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">
<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">
<pre>
pt9_1: login{"status":0}
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)
</pre>
......@@ -419,28 +444,30 @@ pt9_1: login{"status":0}
</td>
</tr>
<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>
<tr id='ft1_10' class='none'>
<td class='errorCase'><div class='testcase'>test_payment</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<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"> -->
<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"> -->
<!-- 默认展开错误信息 -Findyou -->
<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">
<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">
<pre>
pt10_1: pageduration:{"status":0}
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)
</pre>
......@@ -448,28 +475,30 @@ pt10_1: pageduration:{"status":0}
</td>
</tr>
<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>
<tr id='ft1_11' class='none'>
<td class='errorCase'><div class='testcase'>test_payorder</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<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"> -->
<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"> -->
<!-- 默认展开错误信息 -Findyou -->
<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">
<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">
<pre>
pt11_1: payment{"status":0}
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)
</pre>
......@@ -477,28 +506,30 @@ pt11_1: payment{"status":0}
</td>
</tr>
<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>
<tr id='ft1_12' class='none'>
<td class='errorCase'><div class='testcase'>test_register</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<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"> -->
<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"> -->
<!-- 默认展开错误信息 -Findyou -->
<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">
<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">
<pre>
pt12_1: payorder{"status":0}
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)
</pre>
......@@ -506,28 +537,30 @@ pt12_1: payorder{"status":0}
</td>
</tr>
<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>
<tr id='ft1_13' class='none'>
<td class='errorCase'><div class='testcase'>test_startup</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<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"> -->
<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"> -->
<!-- 默认展开错误信息 -Findyou -->
<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">
<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">
<pre>
pt13_1: register{"status":0}
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)
</pre>
......@@ -536,27 +569,27 @@ pt13_1: register{"status":0}
</tr>
<tr class='passClass warning'>
<td>testcase.android_events.test_startup.startupTestCase</td>
<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('c14',1)" class="detail" id='c14'>详细</a></td>
<td class="text-center"><a href="javascript:showClassDetail('c2',1)" class="detail" id='c2'>详细</a></td>
</tr>
<tr id='pt14_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>teststartup</div></td>
<tr id='pt2_1' class='hiddenRow'>
<td class='passCase'><div class='testcase'>testgettime</div></td>
<td colspan='5' align='center'>
<!--默认收起错误信息 -Findyou
<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"> -->
<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_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">
<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>
pt14_1: startup{"status":0,"caid":"00_658BF93B71D8CCD446667DF1FC8F5112_A621A8F4404C9B0D3CF26AA86457456A","type":1}
pt2_1: {"ts":1605685928117,"status":0}
</pre>
......@@ -567,10 +600,10 @@ pt14_1: startup{"status":0,"caid":"00_658BF93B71D8CCD446667DF1FC8F5112_A621A8F44
<tr id='total_row' class="text-center active">
<td>总计</td>
<td>14</td>
<td>14</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>通过率:100.00%</td>
<td>13</td>
<td>通过率:7.14%</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