Commit 5555efd9 by zhaihuitao

update

parent 87d32a42
......@@ -5,8 +5,6 @@
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/report/result.html" afterPath="$PROJECT_DIR$/report/result.html" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/testcase/android_events/test_adclick.py" afterPath="$PROJECT_DIR$/testcase/android_events/test_adclick.py" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/testcase/android_events/test_adshow.py" afterPath="$PROJECT_DIR$/testcase/android_events/test_adshow.py" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/testcase/android_events/test_appduration.py" afterPath="$PROJECT_DIR$/testcase/android_events/test_appduration.py" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" />
......@@ -124,20 +122,29 @@
<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" />
<element signature="e#19069#19075#1" expanded="true" />
<element signature="n#style#0;n#div#2;n#body#0;n#html#0;n#!!top" expanded="true" />
<marker date="1604903225481" expanded="true" signature="19245:19260" ph="..." />
<marker date="1604903225481" expanded="true" signature="19280:19292" ph="..." />
<marker date="1604903487076" expanded="true" signature="17850:18153" ph="..." />
<marker date="1604903487076" expanded="true" signature="18189:18890" ph="..." />
<marker date="1604903487076" expanded="true" signature="18295:18884" ph="..." />
<marker date="1604903487076" expanded="true" signature="18305:18511" ph="..." />
<marker date="1604903487076" expanded="true" signature="18725:18874" ph="..." />
<marker date="1604903487076" expanded="true" signature="18735:18863" ph="..." />
<marker date="1604903487076" expanded="true" signature="18938:19047" ph="..." />
<marker date="1604903487076" expanded="true" signature="19076:19082" ph=" " />
<marker date="1604903487076" expanded="true" signature="19105:19184" ph="..." />
<marker date="1604903487076" expanded="true" signature="19185:19309" ph="..." />
<marker date="1604903487076" expanded="true" signature="19202:19303" ph="..." />
<marker date="1604903487076" expanded="true" signature="19252:19267" ph="..." />
<marker date="1604903487076" expanded="true" signature="19287:19299" ph="..." />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="test_adclick.py" pinned="false" current-in-tab="false">
<file leaf-file-name="test_adclick.py" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_adclick.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="270">
<caret line="18" column="20" lean-forward="false" selection-start-line="18" selection-start-column="20" selection-end-line="18" selection-end-column="20" />
<caret line="18" column="21" lean-forward="false" selection-start-line="18" selection-start-column="21" selection-end-line="18" selection-end-column="21" />
<folding>
<element signature="e#103#118#0" expanded="true" />
</folding>
......@@ -167,7 +174,7 @@
</provider>
</entry>
</file>
<file leaf-file-name="test_appduration.py" pinned="false" current-in-tab="true">
<file leaf-file-name="test_appduration.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_appduration.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="210">
......@@ -273,9 +280,9 @@
<option value="$PROJECT_DIR$/testcase/android_events/test_login.py" />
<option value="$PROJECT_DIR$/report/result.html" />
<option value="$PROJECT_DIR$/testcase/run_all_cases.py" />
<option value="$PROJECT_DIR$/testcase/android_events/test_adclick.py" />
<option value="$PROJECT_DIR$/testcase/android_events/test_adshow.py" />
<option value="$PROJECT_DIR$/testcase/android_events/test_appduration.py" />
<option value="$PROJECT_DIR$/testcase/android_events/test_adclick.py" />
</list>
</option>
</component>
......@@ -680,13 +687,6 @@
<updated>1596505503233</updated>
<workItem from="1596786333197" duration="228000" />
</task>
<task id="LOCAL-00021" summary="add install enevt">
<created>1597655841618</created>
<option name="number" value="00021" />
<option name="presentableId" value="LOCAL-00021" />
<option name="project" value="LOCAL" />
<updated>1597655841618</updated>
</task>
<task id="LOCAL-00022" summary="add install enevt">
<created>1597655977117</created>
<option name="number" value="00022" />
......@@ -1023,7 +1023,14 @@
<option name="project" value="LOCAL" />
<updated>1604903171628</updated>
</task>
<option name="localTasksCounter" value="70" />
<task id="LOCAL-00070" summary="update">
<created>1604903468576</created>
<option name="number" value="00070" />
<option name="presentableId" value="LOCAL-00070" />
<option name="project" value="LOCAL" />
<updated>1604903468577</updated>
</task>
<option name="localTasksCounter" value="71" />
<servers />
</component>
<component name="TestHistory">
......@@ -1457,10 +1464,19 @@
<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" />
<element signature="e#19069#19075#1" expanded="true" />
<element signature="n#style#0;n#div#2;n#body#0;n#html#0;n#!!top" expanded="true" />
<marker date="1604903225481" expanded="true" signature="19245:19260" ph="..." />
<marker date="1604903225481" expanded="true" signature="19280:19292" ph="..." />
<marker date="1604903487076" expanded="true" signature="17850:18153" ph="..." />
<marker date="1604903487076" expanded="true" signature="18189:18890" ph="..." />
<marker date="1604903487076" expanded="true" signature="18295:18884" ph="..." />
<marker date="1604903487076" expanded="true" signature="18305:18511" ph="..." />
<marker date="1604903487076" expanded="true" signature="18725:18874" ph="..." />
<marker date="1604903487076" expanded="true" signature="18735:18863" ph="..." />
<marker date="1604903487076" expanded="true" signature="18938:19047" ph="..." />
<marker date="1604903487076" expanded="true" signature="19076:19082" ph=" " />
<marker date="1604903487076" expanded="true" signature="19105:19184" ph="..." />
<marker date="1604903487076" expanded="true" signature="19185:19309" ph="..." />
<marker date="1604903487076" expanded="true" signature="19202:19303" ph="..." />
<marker date="1604903487076" expanded="true" signature="19252:19267" ph="..." />
<marker date="1604903487076" expanded="true" signature="19287:19299" ph="..." />
</folding>
</state>
</provider>
......@@ -1505,16 +1521,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_adclick.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="270">
<caret line="18" column="20" lean-forward="false" selection-start-line="18" selection-start-column="20" selection-end-line="18" selection-end-column="20" />
<folding>
<element signature="e#103#118#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_adshow.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="270">
......@@ -1533,5 +1539,15 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_adclick.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="270">
<caret line="18" column="21" lean-forward="false" selection-start-line="18" selection-start-column="21" selection-end-line="18" selection-end-column="21" />
<folding>
<element signature="e#103#118#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
......@@ -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:27:03</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:00:02.100936</p>
<p class='attribute'><strong>开始时间 : </strong> 2020-11-09 14:31:23</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:00:03.709213</p>
<p class='attribute'><strong>测试结果 : </strong> 共 14,通过 14,通过率= 100.00%</p>
<p class='description'>TKIO接口自动化测试用例</p>
......@@ -208,7 +208,7 @@ pt1_1: 执行结果:
<div id='div_pt2_1' class="collapse in">
<pre>
pt2_1: 广告点击:{"status":0}
pt2_1: click:{"status":0}
</pre>
......@@ -238,7 +238,7 @@ pt2_1: 广告点击:{"status":0}
<pre>
pt3_1:
广告展示:{"status":0}
adshow:{"status":0}
</pre>
......@@ -267,7 +267,7 @@ pt3_1:
<div id='div_pt4_1' class="collapse in">
<pre>
pt4_1: App使用时长:{"status":0}
pt4_1: appduration:{"status":0}
</pre>
......@@ -354,7 +354,7 @@ pt6_1: 自定义{"status":0}
<div id='div_pt7_1' class="collapse in">
<pre>
pt7_1: {"ts":1604903224805,"status":0}
pt7_1: {"ts":1604903486117,"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("click" + r.text)
print("click:" + 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