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
2052fd65
Commit
2052fd65
authored
Nov 09, 2020
by
zhaihuitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
b022a77a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
16 deletions
+16
-16
workspace.xml
.idea/workspace.xml
+0
-0
result.html
report/result.html
+14
-14
test_click.py
testcase/android_click/test_click.py
+2
-2
No files found.
.idea/workspace.xml
View file @
2052fd65
This diff is collapsed.
Click to expand it.
report/result.html
View file @
2052fd65
...
...
@@ -123,8 +123,8 @@ function html_escape(s) {
<div
class=
'heading'
>
<h1
style=
"font-family: Microsoft YaHei"
>
<
TKIO接口监控报告
>
</h1>
<p
class=
'attribute'
><strong>
测试人员 :
</strong>
翟会涛
</p>
<p
class=
'attribute'
><strong>
开始时间 :
</strong>
2020-11-09 14:3
2:35
</p>
<p
class=
'attribute'
><strong>
合计耗时 :
</strong>
0:00:0
2.898860
</p>
<p
class=
'attribute'
><strong>
开始时间 :
</strong>
2020-11-09 14:3
5:37
</p>
<p
class=
'attribute'
><strong>
合计耗时 :
</strong>
0:00:0
6.206539
</p>
<p
class=
'attribute'
><strong>
测试结果 :
</strong>
共 14,通过 14,通过率= 100.00%
</p>
<p
class=
'description'
>
TKIO接口自动化测试用例
</p>
...
...
@@ -238,7 +238,7 @@ pt2_1: click:{"status":0}
<pre>
pt3_1:
adshow
:
{"status":0}
adshow
:
{"status":0}
</pre>
...
...
@@ -267,7 +267,7 @@ adshow:{"status":0}
<div
id=
'div_pt4_1'
class=
"collapse in"
>
<pre>
pt4_1: appduration
:
{"status":0}
pt4_1: appduration
:
{"status":0}
</pre>
...
...
@@ -296,7 +296,7 @@ pt4_1: appduration:{"status":0}
<div
id=
'div_pt5_1'
class=
"collapse in"
>
<pre>
pt5_1:
自定义
pt5_1:
batch
</pre>
...
...
@@ -325,7 +325,7 @@ pt5_1: 自定义
<div
id=
'div_pt6_1'
class=
"collapse in"
>
<pre>
pt6_1:
自定义
{"status":0}
pt6_1:
custom
{"status":0}
</pre>
...
...
@@ -354,7 +354,7 @@ pt6_1: 自定义{"status":0}
<div
id=
'div_pt7_1'
class=
"collapse in"
>
<pre>
pt7_1: {"ts":1604903
55790
8,"status":0}
pt7_1: {"ts":1604903
74085
8,"status":0}
</pre>
...
...
@@ -384,7 +384,7 @@ pt7_1: {"ts":1604903557908,"status":0}
<pre>
pt8_1:
激活事件执行结果:
{"status":0}
install:
{"status":0}
</pre>
...
...
@@ -413,7 +413,7 @@ pt8_1:
<div
id=
'div_pt9_1'
class=
"collapse in"
>
<pre>
pt9_1:
登录
{"status":0}
pt9_1:
login
{"status":0}
</pre>
...
...
@@ -442,7 +442,7 @@ pt9_1: 登录{"status":0}
<div
id=
'div_pt10_1'
class=
"collapse in"
>
<pre>
pt10_1:
App页面浏览时长分布:
{"status":0}
pt10_1:
pageduration:
{"status":0}
</pre>
...
...
@@ -471,7 +471,7 @@ pt10_1: App页面浏览时长分布:{"status":0}
<div
id=
'div_pt11_1'
class=
"collapse in"
>
<pre>
pt11_1:
付费
{"status":0}
pt11_1:
payment
{"status":0}
</pre>
...
...
@@ -500,7 +500,7 @@ pt11_1: 付费{"status":0}
<div
id=
'div_pt12_1'
class=
"collapse in"
>
<pre>
pt12_1:
订单
{"status":0}
pt12_1:
payorder
{"status":0}
</pre>
...
...
@@ -529,7 +529,7 @@ pt12_1: 订单{"status":0}
<div
id=
'div_pt13_1'
class=
"collapse in"
>
<pre>
pt13_1:
注册
{"status":0}
pt13_1:
register
{"status":0}
</pre>
...
...
@@ -558,7 +558,7 @@ pt13_1: 注册{"status":0}
<div
id=
'div_pt14_1'
class=
"collapse in"
>
<pre>
pt14_1:
启动
{"status":0,"caid":"00_658BF93B71D8CCD446667DF1FC8F5112_A621A8F4404C9B0D3CF26AA86457456A","type":1}
pt14_1:
startup
{"status":0,"caid":"00_658BF93B71D8CCD446667DF1FC8F5112_A621A8F4404C9B0D3CF26AA86457456A","type":1}
</pre>
...
...
testcase/android_click/test_click.py
View file @
2052fd65
...
...
@@ -21,8 +21,8 @@ class clickTestCase(unittest.TestCase):
def
testclick
(
self
):
p
=
requests
.
get
(
url
=
click_url
,
params
=
params_click
,
timeout
=
30
,
verify
=
False
)
# self.assertEqual(p.status_code, 300, msg='接口异常,请检查')
print
(
'
执行结果:
\n
================='
)
print
(
p
)
print
(
'
click'
+
p
.
text
)
#
print(p)
# time.sleep(7)
# try:
# allEvent().installUpload(randomUtil.r.randimei(), randomUtil.r.randip(), prod['events']['appkey'], prod['cmpaignid'])
...
...
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