Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
interfaceTest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Schedules
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
zhaihuitao
interfaceTest
Commits
61f0b753
Commit
61f0b753
authored
4 years ago
by
zhaihuitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
59025f02
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
160 additions
and
139 deletions
+160
-139
workspace.xml
.idea/workspace.xml
+1
-1
params.py
config/prod/params.py
+21
-22
result.html
report/result.html
+138
-116
No files found.
.idea/workspace.xml
View file @
61f0b753
...
@@ -415,9 +415,9 @@
...
@@ -415,9 +415,9 @@
<method
v=
"2"
/>
<method
v=
"2"
/>
</configuration>
</configuration>
<list>
<list>
<item
itemvalue=
"Python.game_event"
/>
<item
itemvalue=
"Python.params"
/>
<item
itemvalue=
"Python.params"
/>
<item
itemvalue=
"Python.run_all_cases"
/>
<item
itemvalue=
"Python.run_all_cases"
/>
<item
itemvalue=
"Python.game_event"
/>
<item
itemvalue=
"Python tests.Nosetests for testcase.android_events._adclick.adclickTestCase.testadclick"
/>
<item
itemvalue=
"Python tests.Nosetests for testcase.android_events._adclick.adclickTestCase.testadclick"
/>
<item
itemvalue=
"Python tests.Nosetests for testcase.android_events._adshow.adshowTestCase.testadshow"
/>
<item
itemvalue=
"Python tests.Nosetests for testcase.android_events._adshow.adshowTestCase.testadshow"
/>
</list>
</list>
...
...
This diff is collapsed.
Click to expand it.
config/prod/params.py
View file @
61f0b753
...
@@ -9,12 +9,11 @@
...
@@ -9,12 +9,11 @@
import
time
import
time
from
config.envcfg
import
prod
,
prod_appkey
from
config.envcfg
import
prod
,
prod_appkey
from
common
import
randomUtil
from
common
import
randomUtil
from
testcase.run_all_cases
import
IMEI
params_click
=
{
params_click
=
{
# 'androidid': "43214532142142",
# 'androidid': "43214532142142",
'imei'
:
IMEI
,
'imei'
:
randomUtil
.
r
.
randimei
()
,
# "idfa": 'DBC43622-E38B-440C-B7A7-FB6641D0D9AB',
# "idfa": 'DBC43622-E38B-440C-B7A7-FB6641D0D9AB',
'ip'
:
randomUtil
.
r
.
randip
(),
'ip'
:
randomUtil
.
r
.
randip
(),
'vid'
:
"test_vid"
'vid'
:
"test_vid"
...
@@ -66,8 +65,8 @@ params_install = {
...
@@ -66,8 +65,8 @@ params_install = {
"_model"
:
"test1"
,
"_model"
:
"test1"
,
"_pkgname"
:
"com.yanjing.yami"
,
"_pkgname"
:
"com.yanjing.yami"
,
"_campaignid"
:
'default'
,
"_campaignid"
:
'default'
,
"_deviceid"
:
IMEI
,
"_deviceid"
:
randomUtil
.
r
.
randimei
()
,
"_imei"
:
IMEI
,
"_imei"
:
randomUtil
.
r
.
randimei
()
,
# "_idfa": 'DBC13622-E34B-440C-B7A7-FB6641D0D9AB',
# "_idfa": 'DBC13622-E34B-440C-B7A7-FB6641D0D9AB',
# "_androidid": "43214532142142",
# "_androidid": "43214532142142",
# "_imei2":"324323AAAA",
# "_imei2":"324323AAAA",
...
@@ -99,13 +98,13 @@ params_startup = {
...
@@ -99,13 +98,13 @@ params_startup = {
'appid'
:
prod_appkey
,
'appid'
:
prod_appkey
,
'context'
:
{
'context'
:
{
# '_deviceid': "CFFEF74E-B6BF-BD16-E7F8-DFDBFF5FB6E1",
# '_deviceid': "CFFEF74E-B6BF-BD16-E7F8-DFDBFF5FB6E1",
'_imei'
:
IMEI
,
'_imei'
:
randomUtil
.
r
.
randimei
()
,
# '_androidid': "43214532142142",
# '_androidid': "43214532142142",
'_ip'
:
randomUtil
.
r
.
randip
(),
'_ip'
:
randomUtil
.
r
.
randip
(),
'_timestamp'
:
int
(
round
(
time
.
time
()
*
1000
)),
'_timestamp'
:
int
(
round
(
time
.
time
()
*
1000
)),
"_lib_version"
:
"1.5.0"
,
"_lib_version"
:
"1.5.0"
,
"_campaignid"
:
'default'
,
"_campaignid"
:
'default'
,
"_deviceid"
:
IMEI
,
"_deviceid"
:
randomUtil
.
r
.
randimei
()
,
# "_imei": i,
# "_imei": i,
# "_idfa": 'CFFEF74E-B6BF-BD16-E7F8-DFDBFF5FB6E1',
# "_idfa": 'CFFEF74E-B6BF-BD16-E7F8-DFDBFF5FB6E1',
# "_androidid": "424653325643",
# "_androidid": "424653325643",
...
@@ -142,8 +141,8 @@ params_login = {
...
@@ -142,8 +141,8 @@ params_login = {
# 'what': 'loggedin',
# 'what': 'loggedin',
'appid'
:
prod_appkey
,
'appid'
:
prod_appkey
,
'context'
:
{
'context'
:
{
'_deviceid'
:
IMEI
,
'_deviceid'
:
randomUtil
.
r
.
randimei
()
,
'_imei'
:
IMEI
,
'_imei'
:
randomUtil
.
r
.
randimei
()
,
'_androidid'
:
randomUtil
.
r
.
randimei
(),
'_androidid'
:
randomUtil
.
r
.
randimei
(),
'_ip'
:
randomUtil
.
r
.
randip
(),
'_ip'
:
randomUtil
.
r
.
randip
(),
'_ryos'
:
"Android"
,
'_ryos'
:
"Android"
,
...
@@ -162,8 +161,8 @@ params_formate = {
...
@@ -162,8 +161,8 @@ params_formate = {
"appid"
:
prod_appkey
,
"appid"
:
prod_appkey
,
"context"
:
{
"context"
:
{
"_campaignid"
:
'default'
,
"_campaignid"
:
'default'
,
"_deviceid"
:
IMEI
,
"_deviceid"
:
randomUtil
.
r
.
randimei
()
,
"_imei"
:
IMEI
,
"_imei"
:
randomUtil
.
r
.
randimei
()
,
# "_imei2":i,
# "_imei2":i,
# "_oaid":i,
# "_oaid":i,
# "_meid":i,
# "_meid":i,
...
@@ -188,8 +187,8 @@ params_register = {
...
@@ -188,8 +187,8 @@ params_register = {
'what'
:
'register'
,
'what'
:
'register'
,
'appid'
:
prod_appkey
,
'appid'
:
prod_appkey
,
'context'
:
{
'context'
:
{
'_deviceid'
:
IMEI
,
'_deviceid'
:
randomUtil
.
r
.
randimei
()
,
'_imei'
:
IMEI
,
'_imei'
:
randomUtil
.
r
.
randimei
()
,
# '_androidid':i,
# '_androidid':i,
'_ip'
:
randomUtil
.
r
.
randip
(),
'_ip'
:
randomUtil
.
r
.
randip
(),
'_timestamp'
:
int
(
round
(
time
.
time
()
*
1000
)),
'_timestamp'
:
int
(
round
(
time
.
time
()
*
1000
)),
...
@@ -208,8 +207,8 @@ params_pay = {
...
@@ -208,8 +207,8 @@ params_pay = {
'what'
:
'payment'
,
'what'
:
'payment'
,
'appid'
:
prod_appkey
,
'appid'
:
prod_appkey
,
'context'
:
{
'context'
:
{
'_deviceid'
:
IMEI
,
'_deviceid'
:
randomUtil
.
r
.
randimei
()
,
'_imei'
:
IMEI
,
'_imei'
:
randomUtil
.
r
.
randimei
()
,
# '_androidid': randomUtil.r.randimei(),
# '_androidid': randomUtil.r.randimei(),
'_ip'
:
randomUtil
.
r
.
randip
(),
'_ip'
:
randomUtil
.
r
.
randip
(),
'_timestamp'
:
int
(
round
(
time
.
time
()
*
1000
)),
'_timestamp'
:
int
(
round
(
time
.
time
()
*
1000
)),
...
@@ -233,8 +232,8 @@ params_payorder = {
...
@@ -233,8 +232,8 @@ params_payorder = {
'what'
:
"order"
,
'what'
:
"order"
,
'appid'
:
prod_appkey
,
'appid'
:
prod_appkey
,
'context'
:
{
'context'
:
{
'_deviceid'
:
IMEI
,
'_deviceid'
:
randomUtil
.
r
.
randimei
()
,
'_imei'
:
IMEI
,
'_imei'
:
randomUtil
.
r
.
randimei
()
,
# '_androidid': randomUtil.r.randimei(),
# '_androidid': randomUtil.r.randimei(),
'_ip'
:
randomUtil
.
r
.
randip
(),
'_ip'
:
randomUtil
.
r
.
randip
(),
'_timestamp'
:
int
(
round
(
time
.
time
()
*
1000
)),
'_timestamp'
:
int
(
round
(
time
.
time
()
*
1000
)),
...
@@ -255,8 +254,8 @@ params_custom = {
...
@@ -255,8 +254,8 @@ params_custom = {
'what'
:
"event"
,
'what'
:
"event"
,
'appid'
:
prod_appkey
,
'appid'
:
prod_appkey
,
'context'
:
{
'context'
:
{
'_deviceid'
:
IMEI
,
'_deviceid'
:
randomUtil
.
r
.
randimei
()
,
'_imei'
:
IMEI
,
'_imei'
:
randomUtil
.
r
.
randimei
()
,
# '_androidid': randomUtil.r.randimei(),
# '_androidid': randomUtil.r.randimei(),
'_ip'
:
randomUtil
.
r
.
randip
(),
'_ip'
:
randomUtil
.
r
.
randip
(),
'_ryos'
:
"android"
,
'_ryos'
:
"android"
,
...
@@ -276,9 +275,9 @@ params_adshow = {
...
@@ -276,9 +275,9 @@ params_adshow = {
'_adId'
:
"8205"
,
'_adId'
:
"8205"
,
"_campaignid"
:
'default'
,
"_campaignid"
:
'default'
,
# "_deviceid": randomUtil.r.randimei(),
# "_deviceid": randomUtil.r.randimei(),
"_deviceid"
:
IMEI
,
"_deviceid"
:
randomUtil
.
r
.
randimei
()
,
# "_imei": randomUtil.r.randimei(),
# "_imei": randomUtil.r.randimei(),
"_imei"
:
IMEI
,
"_imei"
:
randomUtil
.
r
.
randimei
()
,
# "_idfa": '75463565745634546',
# "_idfa": '75463565745634546',
# "_androidid": "424653325643",
# "_androidid": "424653325643",
# "_imei2":"324323AAAA",
# "_imei2":"324323AAAA",
...
@@ -308,9 +307,9 @@ params_adclick = {
...
@@ -308,9 +307,9 @@ params_adclick = {
'_adId'
:
"8205"
,
'_adId'
:
"8205"
,
"_campaignid"
:
'default'
,
"_campaignid"
:
'default'
,
# "_deviceid": randomUtil.r.randimei(),
# "_deviceid": randomUtil.r.randimei(),
"_deviceid"
:
IMEI
,
"_deviceid"
:
randomUtil
.
r
.
randimei
()
,
# "_imei": randomUtil.r.randimei(),
# "_imei": randomUtil.r.randimei(),
"_imei"
:
IMEI
,
"_imei"
:
randomUtil
.
r
.
randimei
()
,
# "_idfa": '75463565745634546',
# "_idfa": '75463565745634546',
# "_androidid": "424653325643",
# "_androidid": "424653325643",
# "_imei2":"324323AAAA",
# "_imei2":"324323AAAA",
...
...
This diff is collapsed.
Click to expand it.
report/result.html
View file @
61f0b753
...
@@ -123,9 +123,9 @@ function html_escape(s) {
...
@@ -123,9 +123,9 @@ function html_escape(s) {
<div
class=
'heading'
>
<div
class=
'heading'
>
<h1
style=
"font-family: Microsoft YaHei"
>
<
TKIO接口监控报告
>
</h1>
<h1
style=
"font-family: Microsoft YaHei"
>
<
TKIO接口监控报告
>
</h1>
<p
class=
'attribute'
><strong>
测试人员 :
</strong>
翟会涛
</p>
<p
class=
'attribute'
><strong>
测试人员 :
</strong>
翟会涛
</p>
<p
class=
'attribute'
><strong>
开始时间 :
</strong>
202
0-12-16 17:49:27
</p>
<p
class=
'attribute'
><strong>
开始时间 :
</strong>
202
1-01-15 17:51:01
</p>
<p
class=
'attribute'
><strong>
合计耗时 :
</strong>
0:00:0
2.508449
</p>
<p
class=
'attribute'
><strong>
合计耗时 :
</strong>
0:00:0
1.119482
</p>
<p
class=
'attribute'
><strong>
测试结果 :
</strong>
共 7,
通过 7,通过率= 10
0.00%
</p>
<p
class=
'attribute'
><strong>
测试结果 :
</strong>
共 7,
错误 7,通过率=
0.00%
</p>
<p
class=
'description'
>
TKIO接口自动化测试用例
</p>
<p
class=
'description'
>
TKIO接口自动化测试用例
</p>
</div>
</div>
...
@@ -133,9 +133,9 @@ function html_escape(s) {
...
@@ -133,9 +133,9 @@ function html_escape(s) {
<p
id=
'show_detail_line'
>
<p
id=
'show_detail_line'
>
<a
class=
"btn btn-primary"
href=
'javascript:showCase(0)'
>
概要{
10
0.00% }
</a>
<a
class=
"btn btn-primary"
href=
'javascript:showCase(0)'
>
概要{ 0.00% }
</a>
<a
class=
"btn btn-danger"
href=
'javascript:showCase(1)'
>
失败{ 0 }
</a>
<a
class=
"btn btn-danger"
href=
'javascript:showCase(1)'
>
失败{ 0 }
</a>
<a
class=
"btn btn-success"
href=
'javascript:showCase(2)'
>
通过{
7
}
</a>
<a
class=
"btn btn-success"
href=
'javascript:showCase(2)'
>
通过{
0
}
</a>
<a
class=
"btn btn-info"
href=
'javascript:showCase(3)'
>
所有{ 7 }
</a>
<a
class=
"btn btn-info"
href=
'javascript:showCase(3)'
>
所有{ 7 }
</a>
</p>
</p>
<table
id=
'result_table'
class=
"table table-condensed table-bordered table-hover"
>
<table
id=
'result_table'
class=
"table table-condensed table-bordered table-hover"
>
...
@@ -156,28 +156,39 @@ function html_escape(s) {
...
@@ -156,28 +156,39 @@ function html_escape(s) {
<td>
详细
</td>
<td>
详细
</td>
</tr>
</tr>
<tr
class=
'passClass warning'
>
<tr
class=
'errorClass warning'
>
<td>
android_click.test_click.clickTestCase
</td>
<td>
unittest.loader._FailedTest
</td>
<td
class=
"text-center"
>
1
</td>
<td
class=
"text-center"
>
7
</td>
<td
class=
"text-center"
>
1
</td>
<td
class=
"text-center"
>
0
</td>
<td
class=
"text-center"
>
0
</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"
>
7
</td>
<td
class=
"text-center"
><a
href=
"javascript:showClassDetail('c1',7)"
class=
"detail"
id=
'c1'
>
详细
</a></td>
</tr>
</tr>
<tr
id=
'
pt1_1'
class=
'hiddenRow
'
>
<tr
id=
'
ft1_1'
class=
'none
'
>
<td
class=
'
passCase'
><div
class=
'testcase'
>
test
click
</div></td>
<td
class=
'
errorCase'
><div
class=
'testcase'
>
test_
click
</div></td>
<td
colspan=
'5'
align=
'center'
>
<td
colspan=
'5'
align=
'center'
>
<!--默认收起错误信息 -Findyou
<!--默认收起错误信息 -Findyou
<button id='btn_
pt1_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt1_1'>通过
</button>
<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_
p
t1_1' class="collapse"> -->
<div id='div_
f
t1_1' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<!-- 默认展开错误信息 -Findyou -->
<button
id=
'btn_
pt1_1'
type=
"button"
class=
"btn btn-danger btn-xs"
data-toggle=
"collapse"
data-target=
'#div_pt1_1'
>
通过
</button>
<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_
p
t1_1'
class=
"collapse in"
>
<div
id=
'div_
f
t1_1'
class=
"collapse in"
>
<pre>
<pre>
pt1_1: 400
ft1_1: ImportError: Failed to import test module: testcase.android_click.test_click
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
<
module
>
from config.prod.params import params_click
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/prod/params.py", line 12, in
<
module
>
from testcase.run_all_cases import IMEI
ImportError: cannot import name 'IMEI'
</pre>
</pre>
...
@@ -185,29 +196,30 @@ pt1_1: 400
...
@@ -185,29 +196,30 @@ pt1_1: 400
</td>
</td>
</tr>
</tr>
<tr
class=
'passClass warning'
>
<tr
id=
'ft1_2'
class=
'none'
>
<td>
android_events.test_install.installTestCase
</td>
<td
class=
'errorCase'
><div
class=
'testcase'
>
test_install
</div></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'
>
<td
colspan=
'5'
align=
'center'
>
<!--默认收起错误信息 -Findyou
<!--默认收起错误信息 -Findyou
<button id='btn_
pt2_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt2_1'>通过
</button>
<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_
pt2_1
' class="collapse"> -->
<div id='div_
ft1_2
' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<!-- 默认展开错误信息 -Findyou -->
<button
id=
'btn_
pt2_1'
type=
"button"
class=
"btn btn-danger btn-xs"
data-toggle=
"collapse"
data-target=
'#div_pt2_1'
>
通过
</button>
<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_
pt2_1
'
class=
"collapse in"
>
<div
id=
'div_
ft1_2
'
class=
"collapse in"
>
<pre>
<pre>
pt2_1:
ft1_2: ImportError: Failed to import test module: testcase.android_events.test_install
install:{"status":106}
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
<
module
>
from config.prod.params import params_install
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/prod/params.py", line 12, in
<
module
>
from testcase.run_all_cases import IMEI
ImportError: cannot import name 'IMEI'
</pre>
</pre>
...
@@ -215,28 +227,30 @@ install:{"status":106}
...
@@ -215,28 +227,30 @@ install:{"status":106}
</td>
</td>
</tr>
</tr>
<tr
class=
'passClass warning'
>
<tr
id=
'ft1_3'
class=
'none'
>
<td>
android_events.test_login.loninTestCase
</td>
<td
class=
'errorCase'
><div
class=
'testcase'
>
test_login
</div></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'
>
<td
colspan=
'5'
align=
'center'
>
<!--默认收起错误信息 -Findyou
<!--默认收起错误信息 -Findyou
<button id='btn_
pt3_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt3_1'>通过
</button>
<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_
pt3_1
' class="collapse"> -->
<div id='div_
ft1_3
' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<!-- 默认展开错误信息 -Findyou -->
<button
id=
'btn_
pt3_1'
type=
"button"
class=
"btn btn-danger btn-xs"
data-toggle=
"collapse"
data-target=
'#div_pt3_1'
>
通过
</button>
<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_
pt3_1
'
class=
"collapse in"
>
<div
id=
'div_
ft1_3
'
class=
"collapse in"
>
<pre>
<pre>
pt3_1: login{"status":106}
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
<
module
>
from config.prod.params import params_login
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/prod/params.py", line 12, in
<
module
>
from testcase.run_all_cases import IMEI
ImportError: cannot import name 'IMEI'
</pre>
</pre>
...
@@ -244,28 +258,30 @@ pt3_1: login{"status":106}
...
@@ -244,28 +258,30 @@ pt3_1: login{"status":106}
</td>
</td>
</tr>
</tr>
<tr
class=
'passClass warning'
>
<tr
id=
'ft1_4'
class=
'none'
>
<td>
android_events.test_payment.payTestCase
</td>
<td
class=
'errorCase'
><div
class=
'testcase'
>
test_payment
</div></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'
>
<td
colspan=
'5'
align=
'center'
>
<!--默认收起错误信息 -Findyou
<!--默认收起错误信息 -Findyou
<button id='btn_
pt4_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt4_1'>通过
</button>
<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_
pt4_1
' class="collapse"> -->
<div id='div_
ft1_4
' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<!-- 默认展开错误信息 -Findyou -->
<button
id=
'btn_
pt4_1'
type=
"button"
class=
"btn btn-danger btn-xs"
data-toggle=
"collapse"
data-target=
'#div_pt4_1'
>
通过
</button>
<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_
pt4_1
'
class=
"collapse in"
>
<div
id=
'div_
ft1_4
'
class=
"collapse in"
>
<pre>
<pre>
pt4_1: payment{"status":106}
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
<
module
>
from config.prod.params import params_pay
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/prod/params.py", line 12, in
<
module
>
from testcase.run_all_cases import IMEI
ImportError: cannot import name 'IMEI'
</pre>
</pre>
...
@@ -273,28 +289,30 @@ pt4_1: payment{"status":106}
...
@@ -273,28 +289,30 @@ pt4_1: payment{"status":106}
</td>
</td>
</tr>
</tr>
<tr
class=
'passClass warning'
>
<tr
id=
'ft1_5'
class=
'none'
>
<td>
android_events.test_payorder.payorderTestCase
</td>
<td
class=
'errorCase'
><div
class=
'testcase'
>
test_payorder
</div></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'
>
<td
colspan=
'5'
align=
'center'
>
<!--默认收起错误信息 -Findyou
<!--默认收起错误信息 -Findyou
<button id='btn_
pt5_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt5_1'>通过
</button>
<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_
pt5_1
' class="collapse"> -->
<div id='div_
ft1_5
' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<!-- 默认展开错误信息 -Findyou -->
<button
id=
'btn_
pt5_1'
type=
"button"
class=
"btn btn-danger btn-xs"
data-toggle=
"collapse"
data-target=
'#div_pt5_1'
>
通过
</button>
<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_
pt5_1
'
class=
"collapse in"
>
<div
id=
'div_
ft1_5
'
class=
"collapse in"
>
<pre>
<pre>
pt5_1: payorder{"status":106}
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
<
module
>
from config.prod.params import params_payorder
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/prod/params.py", line 12, in
<
module
>
from testcase.run_all_cases import IMEI
ImportError: cannot import name 'IMEI'
</pre>
</pre>
...
@@ -302,28 +320,30 @@ pt5_1: payorder{"status":106}
...
@@ -302,28 +320,30 @@ pt5_1: payorder{"status":106}
</td>
</td>
</tr>
</tr>
<tr
class=
'passClass warning'
>
<tr
id=
'ft1_6'
class=
'none'
>
<td>
android_events.test_register.registerTestCase
</td>
<td
class=
'errorCase'
><div
class=
'testcase'
>
test_register
</div></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'
>
<td
colspan=
'5'
align=
'center'
>
<!--默认收起错误信息 -Findyou
<!--默认收起错误信息 -Findyou
<button id='btn_
pt6_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt6_1'>通过
</button>
<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_
pt6_1
' class="collapse"> -->
<div id='div_
ft1_6
' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<!-- 默认展开错误信息 -Findyou -->
<button
id=
'btn_
pt6_1'
type=
"button"
class=
"btn btn-danger btn-xs"
data-toggle=
"collapse"
data-target=
'#div_pt6_1'
>
通过
</button>
<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_
pt6_1
'
class=
"collapse in"
>
<div
id=
'div_
ft1_6
'
class=
"collapse in"
>
<pre>
<pre>
pt6_1: register{"status":106}
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
<
module
>
from config.prod.params import params_register
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/prod/params.py", line 12, in
<
module
>
from testcase.run_all_cases import IMEI
ImportError: cannot import name 'IMEI'
</pre>
</pre>
...
@@ -331,28 +351,30 @@ pt6_1: register{"status":106}
...
@@ -331,28 +351,30 @@ pt6_1: register{"status":106}
</td>
</td>
</tr>
</tr>
<tr
class=
'passClass warning'
>
<tr
id=
'ft1_7'
class=
'none'
>
<td>
android_events.test_startup.startupTestCase
</td>
<td
class=
'errorCase'
><div
class=
'testcase'
>
test_startup
</div></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'
>
<td
colspan=
'5'
align=
'center'
>
<!--默认收起错误信息 -Findyou
<!--默认收起错误信息 -Findyou
<button id='btn_
pt7_1' type="button" class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_pt7_1'>通过
</button>
<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_
pt7_1
' class="collapse"> -->
<div id='div_
ft1_7
' class="collapse"> -->
<!-- 默认展开错误信息 -Findyou -->
<!-- 默认展开错误信息 -Findyou -->
<button
id=
'btn_
pt7_1'
type=
"button"
class=
"btn btn-danger btn-xs"
data-toggle=
"collapse"
data-target=
'#div_pt7_1'
>
通过
</button>
<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_
pt7_1
'
class=
"collapse in"
>
<div
id=
'div_
ft1_7
'
class=
"collapse in"
>
<pre>
<pre>
pt7_1: startup{"status":106,"caid":"00_658BF93B71D8CCD446667DF1FC8F5112_A621A8F4404C9B0D3CF26AA86457456A","type":1}
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
<
module
>
from config.prod.params import params_startup
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/prod/params.py", line 12, in
<
module
>
from testcase.run_all_cases import IMEI
ImportError: cannot import name 'IMEI'
</pre>
</pre>
...
@@ -363,10 +385,10 @@ pt7_1: startup{"status":106,"caid":"00_658BF93B71D8CCD446667DF1FC8F5112_A621A8F4
...
@@ -363,10 +385,10 @@ pt7_1: startup{"status":106,"caid":"00_658BF93B71D8CCD446667DF1FC8F5112_A621A8F4
<tr
id=
'total_row'
class=
"text-center active"
>
<tr
id=
'total_row'
class=
"text-center active"
>
<td>
总计
</td>
<td>
总计
</td>
<td>
7
</td>
<td>
7
</td>
<td>
7
</td>
<td>
0
</td>
<td>
0
</td>
<td>
0
</td>
<td>
0
</td>
<td>
通过率:100.00%
</td>
<td>
7
</td>
<td>
通过率:0.00%
</td>
</tr>
</tr>
</table>
</table>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment