Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tkio-test-case
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liuxiaoxing
tkio-test-case
Commits
1918b1d1
Commit
1918b1d1
authored
Feb 24, 2023
by
liuxiaoxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日常迭代
parent
469433c8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
18 deletions
+24
-18
click.py
android_click/click.py
+14
-14
android_script.py
android_event/android_script.py
+2
-2
x_launch.py
xiaochengxu/x_launch.py
+8
-2
No files found.
android_click/click.py
View file @
1918b1d1
...
...
@@ -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
%3
A
%2
F
%2
F123
'
# URL = 'http://52.80.137.106:8083/tkio/3Qz2Ufa?noredirect=true'
# 测试头条衍生事件回调时加上
...
...
@@ -74,7 +74,7 @@ def computeMD5upper(message):
return
m
.
hexdigest
()
.
upper
()
appkey
=
'
16dc0cb882d3dbec4f7f66251a84d6d
d'
appkey
=
'
5076ba423652a3254761d7493d9c80a
d'
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
...
...
android_event/android_script.py
View file @
1918b1d1
...
...
@@ -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/'
...
...
xiaochengxu/x_launch.py
View file @
1918b1d1
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment