Commit 6211af47 by liuxiaoxing

微服务测试用例

parent 036d513d
......@@ -27,7 +27,7 @@ ry_adplan_name = '新版测试-计划'
ry_adcreative_name = '新版测试创意'
# bytedance_int 今日头条,kuaishou_int 快手,tencentams_int (新)广点通,rryingxiao_int 人人营销
pid = 'rryingxiao_int'
URL = 'http://10.2.20.42:8083/tkio/AVNvuua?noredirect=true'
URL = 'http://10.2.20.42:8083/tkio/faeQZfa?noredirect=true'
# 测试头条衍生事件回调时加上
# callback= http%3A%2F%2Fad.toutiao.com%2Ftrack%2Factivate%2F%3Fcallback%3DCKP4rs-Zn4QDEKiQ6teZn4QDGN6L8Y-h9Wcg3ovxj6H1ZyiE0PjgroSEAzAOOM_X-8IDQik0YWY1NzdlOC1lZmViLTRmZDEtYmZkZC00MzE1Zjc1MmJhMGF1NTQ5M0iA0pOtA1AAiAEAkAECmAEA%26os%3D0%26muid%3D
# URL = 'http://uri6.com/adapt/encryp/love.match.set-bytedance?noredirect=true&pid=rryingxiao_int&callback=D8311DBF28D751F327B83F7CEE5B8850B88CC74C8C3FF628EB3A48CAE2212EE260EE347E1771382C5F1B2C0FC9E8921CB5245576D7E5C1EF680315AAA98DCFB189F66FBA49CC7BCB8E4B4726D6D363B816BB2133CADC80B1C12D9FE464A05ED974A70A646BAB1D4D78E2A75361676D5A0D3D4E52B7E7C6B72E9388C17FE9384BE1A47503AABEFB9423727DBAC7B7275AAD237E0E2774D2A8C3D0FDC895CE10C0CCE38F8FEDBC24AF2E23B2B5E742B50C07744361334E148979087917DFFFC445A74B9F939412DEF8D060474E1D353ED7E2EB636B32CADF29842BB90E2131BD3ED05D1A0438EA0EA8577613780B3D64377D85E758A2B20507A034A2C8A96077C7E200C410188C78F76B9B5E7F3E5E4AC3'
......@@ -103,9 +103,9 @@ for index in range(1):
# 'ry_adgroup_name': ry_adgroup_name,
# 'ry_adplan_name': ry_adplan_name,
# 'ry_adcreative_name': ry_adcreative_name,
# "ry_adgroup_id": ry_adgroup_id,
# "ry_adplan_id": ry_adplan_id,
# "ry_adcreative_id": ry_adcreative_id,
"ry_adgroup_id": ry_adgroup_id,
"ry_adplan_id": ry_adplan_id,
"ry_adcreative_id": ry_adcreative_id,
# 'imei2': 'null',
# 'meid': i
# 'bd_vid': i
......
......@@ -1018,9 +1018,67 @@ def test_atb43():
print(i)
# b8e5e389e1223ffa16a5a9420258383d 8221(Mintegral)渠道短链:beEJbma 2586(快手)渠道短链: FV73Yra
# 安卓精准归因-oaid归因
def test_atb44():
# 安卓精准归因-oaid归因,渠道后续事件
def test_atb45():
i = code_nums(12)
redirectandroid.parms['callback_url'] = 'https://www.baidu.com/?tn=98010089_dg&ch=16/'
redirectandroid.parms['oaid'] = i
redirectandroid.send_request3("FV73Yra", '')
time.sleep(5)
receiveandroid.data[0]['application_info']['appkey'] = 'b8e5e389e1223ffa16a5a9420258383d'
receiveandroid.data[0]['device_info']['device_id'] = i
receiveandroid.data[0]['device_info']['oaid'] = i
receiveandroid.data[0]['device_info']['device_id_type'] = 'oaid'
receiveandroid.send_request()
time.sleep(3)
receiveandroid.data[0]['application_info']['appkey'] = 'b8e5e389e1223ffa16a5a9420258383d'
receiveandroid.data[0]['device_info']['device_id'] = i
receiveandroid.data[0]['device_info']['oaid'] = i
receiveandroid.data[0]['device_info']['device_id_type'] = 'oaid'
receiveandroid.data[0]["event_info"]['event_name'] = 'startup'
receiveandroid.data[0]["event_info"]['event_type'] = 'preset'
receiveandroid.send_request()
# time.sleep(3)
# receiveandroid.data[0]['application_info']['appkey'] = 'b8e5e389e1223ffa16a5a9420258383d'
# receiveandroid.data[0]['device_info']['device_id'] = i
# receiveandroid.data[0]['device_info']['oaid'] = i
# receiveandroid.data[0]['device_info']['device_id_type'] = 'oaid'
# receiveandroid.data[0]["event_info"]['event_name'] = 'register'
# receiveandroid.data[0]["event_info"]['event_type'] = 'preset'
# receiveandroid.send_request()
time.sleep(3)
receiveandroid.data[0]['application_info']['appkey'] = 'b8e5e389e1223ffa16a5a9420258383d'
receiveandroid.data[0]['device_info']['device_id'] = i
receiveandroid.data[0]['device_info']['oaid'] = i
receiveandroid.data[0]['device_info']['device_id_type'] = 'oaid'
receiveandroid.data[0]["event_info"]['event_name'] = 'purchase'
receiveandroid.data[0]["event_info"]['event_type'] = 'preset'
receiveandroid.send_request()
# time.sleep(3)
# receiveandroid.data[0]['application_info']['appkey'] = 'b8e5e389e1223ffa16a5a9420258383d'
# receiveandroid.data[0]['device_info']['device_id'] = i
# receiveandroid.data[0]['device_info']['oaid'] = i
# receiveandroid.data[0]['device_info']['device_id_type'] = 'oaid'
# receiveandroid.data[0]["event_info"]['event_name'] = 'custom_event_20'
# receiveandroid.data[0]["event_info"]['event_type'] = 'custom'
# receiveandroid.send_request()
# time.sleep(3)
# receiveandroid.data[0]['application_info']['appkey'] = 'b8e5e389e1223ffa16a5a9420258383d'
# receiveandroid.data[0]['device_info']['device_id'] = i
# receiveandroid.data[0]['device_info']['oaid'] = i
# receiveandroid.data[0]['device_info']['device_id_type'] = 'oaid'
# receiveandroid.data[0]["event_info"]['event_name'] = 'custom_event_99'
# receiveandroid.data[0]["event_info"]['event_type'] = 'custom'
# receiveandroid.send_request()
print(i)
# 安卓精准归因-oaid归因,渠道的event事件
def test_atb46():
i = code_nums(12)
redirectandroid.parms['account_id'] = '123'
redirectandroid.parms['oaid'] = i
......@@ -1031,4 +1089,12 @@ def test_atb44():
receiveandroid.data[0]['device_info']['oaid'] = i
receiveandroid.data[0]['device_info']['device_id_type'] = 'oaid'
receiveandroid.send_request()
time.sleep(3)
receiveandroid.data[0]['application_info']['appkey'] = 'b8e5e389e1223ffa16a5a9420258383d'
receiveandroid.data[0]['device_info']['device_id'] = i
receiveandroid.data[0]['device_info']['oaid'] = i
receiveandroid.data[0]['device_info']['device_id_type'] = 'oaid'
receiveandroid.data[0]["event_info"]['event_name'] = 'custom_event_100'
receiveandroid.data[0]["event_info"]['event_type'] = 'custom'
receiveandroid.send_request()
print(i)
\ 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