Commit 1918b1d1 by liuxiaoxing

日常迭代

parent 469433c8
......@@ -52,7 +52,7 @@ ry_adplan_name = 'c测试1'
ry_adcreative_name = 'c测试1'
# bytedance_int 今日头条,kuaishou_int 快手,tencentams_int (新)广点通,rryingxiao_int 人人营销
pid = 'rryingxiao_int'
URL = 'http://uri6.com/tkio/VZZ7Ffa?noredirect=true'
URL = 'http://uri6.com/tkio/BVzQnaa?noredirect=true&ry_dp=true&rydp_path=null&rydp_url=http%3A%2F%2F123'
# URL = 'http://52.80.137.106:8083/tkio/3Qz2Ufa?noredirect=true'
# 测试头条衍生事件回调时加上
......@@ -74,7 +74,7 @@ def computeMD5upper(message):
return m.hexdigest().upper()
appkey = '16dc0cb882d3dbec4f7f66251a84d6dd'
appkey = '5076ba423652a3254761d7493d9c80ad'
lst = []
nowTime = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
s = 0
......@@ -221,23 +221,23 @@ for index in range(1):
# print('androidid', a)
w = w + 1
time.sleep(6)
try:
allEvent().installUpload(i, ip, appkey)
# allEvent().formevent(i, ip, appkey)
except Exception:
print('install_wrong:', w)
w = w + 1
# # # # #
# # # # #
# time.sleep(6)
# try:
# allEvent().invoke_test(i, ip, appkey)
# allEvent().installUpload(i, ip, appkey)
# # allEvent().formevent(i, ip, appkey)
#
# except Exception:
# print('install_wrong:', w)
# w = w + 1
# # # # #
# # # # #
time.sleep(6)
try:
allEvent().invoke_test(i, ip, appkey)
except Exception:
print('install_wrong:', w)
w = w + 1
......
......@@ -9,8 +9,8 @@ headers = {'Content-Type': 'application/json', 'X-RY-Access-Token': 'test_access
# 测试环境
URL_batch = 'http://10.3.20.42:8080/receive/batch'
URL = 'http://52.80.137.106:8080/receive/tkio/'
# URL = 'http://log.trackingio.com/receive/tkio/'
# URL = 'http://52.80.137.106:8080/receive/tkio/'
URL = 'http://log.trackingio.com/receive/tkio/'
# URL = 'http://jisulog.sortda.com/receive/tkio/'
# URL = 'http://172.31.21.207:8080/receive/tkio/'
# URL = 'http://120.53.212.71/receive/tkio/'
......
......@@ -161,7 +161,7 @@ def send_requestandroid(hc):
print(parms)
return response
# 广点通-小程序归因
def test_click():
i = code_nums(16)
parms['click_id'] = i
......@@ -176,6 +176,7 @@ def test_click():
print(i)
# 广点通-小程序归因
def test_impressionid():
i = code_nums(16)
parms['impression_id'] = i
......@@ -190,7 +191,7 @@ def test_impressionid():
xiaochenxu_script.send_request()
print(i)
# 广点通-小程序归因
def test_requestid():
i = code_nums(16)
parms['request_id'] = i
......@@ -206,6 +207,7 @@ def test_requestid():
print(i)
# 广点通-小程序归因
def test_atb1():
i1 = code_nums(16)
i2 = code_nums(16)
......@@ -231,6 +233,8 @@ def test_atb1():
print(i2)
# 广点通-小程序归因
def test_launch():
i = code_nums(16)
xiaochenxu_script.data['context']['gdt_vid'] = i
......@@ -242,6 +246,8 @@ def test_launch():
print(i)
# 广点通-小游戏归因
def test_wg():
i = code_nums(16)
parms['wechat_openid'] = i
......
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