Commit 87d32a42 by zhaihuitao

update

parent 8c2677bb
......@@ -123,8 +123,8 @@ 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-09 14:22:13</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:00:03.505581</p>
<p class='attribute'><strong>开始时间 : </strong> 2020-11-09 14:27:03</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:00:02.100936</p>
<p class='attribute'><strong>测试结果 : </strong> 共 14,通过 14,通过率= 100.00%</p>
<p class='description'>TKIO接口自动化测试用例</p>
......@@ -354,7 +354,7 @@ pt6_1: 自定义{"status":0}
<div id='div_pt7_1' class="collapse in">
<pre>
pt7_1: {"ts":1604902935788,"status":0}
pt7_1: {"ts":1604903224805,"status":0}
</pre>
......
......@@ -16,7 +16,7 @@ from config.prod.params import params_adclick
class adclickTestCase(unittest.TestCase):
def testadclick(self):
r = requests.post(url=prod_event_url+event_interface["adclick"], data=json.dumps(params_adclick), headers=headers, timeout=5)
print("广告点击:" + r.text)
print("click:" + r.text)
if __name__ == "__main__":
unittest.main()
\ No newline at end of file
......@@ -16,7 +16,7 @@ from config.prod.params import params_adshow
class adshowTestCase(unittest.TestCase):
def testadshow(self):
r = requests.post(url=prod_event_url+event_interface["adshow"], data=json.dumps(params_adshow), headers=headers, timeout=5)
print("\n广告展示:" + r.text)
print("\nadshow:" + r.text)
if __name__ == "__main__":
unittest.main()
\ No newline at end of file
......@@ -16,7 +16,7 @@ from config.prod.params import params_appduration
class appdurationTestCase(unittest.TestCase):
def testappduration(self):
r = requests.post(url=prod_event_url+event_interface["appduration"], data=json.dumps(params_appduration), headers=headers, timeout=5)
print("App使用时长:" + r.text)
print("appduration:" + r.text)
if __name__ == "__main__":
unittest.main()
\ No newline at end of file
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