Commit 2052fd65 by zhaihuitao

update

parent b022a77a
...@@ -123,8 +123,8 @@ function html_escape(s) { ...@@ -123,8 +123,8 @@ function html_escape(s) {
<div class='heading'> <div class='heading'>
<h1 style="font-family: Microsoft YaHei">&lt;TKIO接口监控报告&gt;</h1> <h1 style="font-family: Microsoft YaHei">&lt;TKIO接口监控报告&gt;</h1>
<p class='attribute'><strong>测试人员 : </strong> 翟会涛</p> <p class='attribute'><strong>测试人员 : </strong> 翟会涛</p>
<p class='attribute'><strong>开始时间 : </strong> 2020-11-09 14:32:35</p> <p class='attribute'><strong>开始时间 : </strong> 2020-11-09 14:35:37</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:00:02.898860</p> <p class='attribute'><strong>合计耗时 : </strong> 0:00:06.206539</p>
<p class='attribute'><strong>测试结果 : </strong> 共 14,通过 14,通过率= 100.00%</p> <p class='attribute'><strong>测试结果 : </strong> 共 14,通过 14,通过率= 100.00%</p>
<p class='description'>TKIO接口自动化测试用例</p> <p class='description'>TKIO接口自动化测试用例</p>
...@@ -238,7 +238,7 @@ pt2_1: click:{"status":0} ...@@ -238,7 +238,7 @@ pt2_1: click:{"status":0}
<pre> <pre>
pt3_1: pt3_1:
adshow{"status":0} adshow:{"status":0}
</pre> </pre>
...@@ -267,7 +267,7 @@ adshow:{"status":0} ...@@ -267,7 +267,7 @@ adshow:{"status":0}
<div id='div_pt4_1' class="collapse in"> <div id='div_pt4_1' class="collapse in">
<pre> <pre>
pt4_1: appduration{"status":0} pt4_1: appduration:{"status":0}
</pre> </pre>
...@@ -296,7 +296,7 @@ pt4_1: appduration:{"status":0} ...@@ -296,7 +296,7 @@ pt4_1: appduration:{"status":0}
<div id='div_pt5_1' class="collapse in"> <div id='div_pt5_1' class="collapse in">
<pre> <pre>
pt5_1: 自定义 pt5_1: batch
</pre> </pre>
...@@ -325,7 +325,7 @@ pt5_1: 自定义 ...@@ -325,7 +325,7 @@ pt5_1: 自定义
<div id='div_pt6_1' class="collapse in"> <div id='div_pt6_1' class="collapse in">
<pre> <pre>
pt6_1: 自定义{"status":0} pt6_1: custom{"status":0}
</pre> </pre>
...@@ -354,7 +354,7 @@ pt6_1: 自定义{"status":0} ...@@ -354,7 +354,7 @@ pt6_1: 自定义{"status":0}
<div id='div_pt7_1' class="collapse in"> <div id='div_pt7_1' class="collapse in">
<pre> <pre>
pt7_1: {"ts":1604903557908,"status":0} pt7_1: {"ts":1604903740858,"status":0}
</pre> </pre>
...@@ -384,7 +384,7 @@ pt7_1: {"ts":1604903557908,"status":0} ...@@ -384,7 +384,7 @@ pt7_1: {"ts":1604903557908,"status":0}
<pre> <pre>
pt8_1: pt8_1:
激活事件执行结果:{"status":0} install:{"status":0}
</pre> </pre>
...@@ -413,7 +413,7 @@ pt8_1: ...@@ -413,7 +413,7 @@ pt8_1:
<div id='div_pt9_1' class="collapse in"> <div id='div_pt9_1' class="collapse in">
<pre> <pre>
pt9_1: 登录{"status":0} pt9_1: login{"status":0}
</pre> </pre>
...@@ -442,7 +442,7 @@ pt9_1: 登录{"status":0} ...@@ -442,7 +442,7 @@ pt9_1: 登录{"status":0}
<div id='div_pt10_1' class="collapse in"> <div id='div_pt10_1' class="collapse in">
<pre> <pre>
pt10_1: App页面浏览时长分布:{"status":0} pt10_1: pageduration:{"status":0}
</pre> </pre>
...@@ -471,7 +471,7 @@ pt10_1: App页面浏览时长分布:{"status":0} ...@@ -471,7 +471,7 @@ pt10_1: App页面浏览时长分布:{"status":0}
<div id='div_pt11_1' class="collapse in"> <div id='div_pt11_1' class="collapse in">
<pre> <pre>
pt11_1: 付费{"status":0} pt11_1: payment{"status":0}
</pre> </pre>
...@@ -500,7 +500,7 @@ pt11_1: 付费{"status":0} ...@@ -500,7 +500,7 @@ pt11_1: 付费{"status":0}
<div id='div_pt12_1' class="collapse in"> <div id='div_pt12_1' class="collapse in">
<pre> <pre>
pt12_1: 订单{"status":0} pt12_1: payorder{"status":0}
</pre> </pre>
...@@ -529,7 +529,7 @@ pt12_1: 订单{"status":0} ...@@ -529,7 +529,7 @@ pt12_1: 订单{"status":0}
<div id='div_pt13_1' class="collapse in"> <div id='div_pt13_1' class="collapse in">
<pre> <pre>
pt13_1: 注册{"status":0} pt13_1: register{"status":0}
</pre> </pre>
...@@ -558,7 +558,7 @@ pt13_1: 注册{"status":0} ...@@ -558,7 +558,7 @@ pt13_1: 注册{"status":0}
<div id='div_pt14_1' class="collapse in"> <div id='div_pt14_1' class="collapse in">
<pre> <pre>
pt14_1: 启动{"status":0,"caid":"00_658BF93B71D8CCD446667DF1FC8F5112_A621A8F4404C9B0D3CF26AA86457456A","type":1} pt14_1: startup{"status":0,"caid":"00_658BF93B71D8CCD446667DF1FC8F5112_A621A8F4404C9B0D3CF26AA86457456A","type":1}
</pre> </pre>
......
...@@ -21,8 +21,8 @@ class clickTestCase(unittest.TestCase): ...@@ -21,8 +21,8 @@ class clickTestCase(unittest.TestCase):
def testclick(self): def testclick(self):
p = requests.get(url=click_url, params=params_click, timeout=30, verify=False) p = requests.get(url=click_url, params=params_click, timeout=30, verify=False)
# self.assertEqual(p.status_code, 300, msg='接口异常,请检查') # self.assertEqual(p.status_code, 300, msg='接口异常,请检查')
print('执行结果:\n=================') print('click'+p.text)
print(p) # print(p)
# time.sleep(7) # time.sleep(7)
# try: # try:
# allEvent().installUpload(randomUtil.r.randimei(), randomUtil.r.randip(), prod['events']['appkey'], prod['cmpaignid']) # allEvent().installUpload(randomUtil.r.randimei(), randomUtil.r.randip(), prod['events']['appkey'], prod['cmpaignid'])
......
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