Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
U
ubains-module-test
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
郑晓兵
ubains-module-test
Commits
6c6d1026
提交
6c6d1026
authored
6月 16, 2025
作者:
陈泽健
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
定时任务补充兰州。
上级
709476b1
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
15 行增加
和
19 行删除
+15
-19
README.md
预定系统/README.md
+2
-2
ngrok.cfg
预定系统/ngrok/ngrok-自动化运行虚拟机/ngrok.cfg
+5
-0
定时执行功能测试.py
预定系统/定时执行功能测试.py
+8
-17
没有找到文件。
预定系统/README.md
浏览文件 @
6c6d1026
...
@@ -322,4 +322,4 @@
...
@@ -322,4 +322,4 @@
94.
2025-06-13:
94.
2025-06-13:
-
兰州中石化项目模块增加tag标签。
-
兰州中石化项目模块增加tag标签。
95.
2025-06-16:
95.
2025-06-16:
-
标准版注释clear_columns_in_xlsx和write_xlsx_data方法调用。
-
标准版注释clear_columns_in_xlsx和write_xlsx_data方法调用。定时任务补充兰州。
\ No newline at end of file
\ No newline at end of file
预定系统/ngrok/ngrok-自动化运行虚拟机/ngrok.cfg
浏览文件 @
6c6d1026
...
@@ -9,3 +9,7 @@ tunnels:
...
@@ -9,3 +9,7 @@ tunnels:
remote_port: 31135
remote_port: 31135
proto:
proto:
tcp: "127.0.0.1:81"
tcp: "127.0.0.1:81"
nat3:
remote_port: 31136
proto:
tcp: "127.0.0.1:82"
\ No newline at end of file
预定系统/定时执行功能测试.py
浏览文件 @
6c6d1026
...
@@ -68,27 +68,18 @@ def start_workers(num_workers):
...
@@ -68,27 +68,18 @@ def start_workers(num_workers):
start_workers
(
3
)
start_workers
(
3
)
# 定时执行预定系统测试任务1
# 定时执行预定系统测试任务1
# schedule.every().day.at("15:33").do(run_task, run_automation_test, report_title="预定系统测试报告", report_url_prefix="http://nat.ubainsyun.com:31133", test_case="预定系统功能
", ding_type="标准版巡检")
schedule
.
every
()
.
day
.
at
(
"12:00"
)
.
do
(
run_task
,
run_automation_test
,
report_title
=
"预定系统测试报告"
,
report_url_prefix
=
"http://nat.ubainsyun.com:31134"
,
test_case
=
"JSON测试
"
,
ding_type
=
"标准版巡检"
)
# 获取本机IP地址
# 定时执行兰州中石化项目测试任务
# local_ip = get_local_ip()
schedule
.
every
()
.
day
.
at
(
"10:00"
)
.
do
(
run_task
,
run_automation_test
,
report_title
=
"兰州中石化项目测试报告"
,
report_url_prefix
=
"http://nat.ubainsyun.com:31135"
,
test_case
=
"兰州中石化项目"
,
ding_type
=
"标准版巡检"
)
# logging.info(f"本机IP地址: {local_ip}")
# # 更新ngrok.cfg文件
# ngrok_config_path = r'D:\GithubData\自动化\ubains-module-test\预定系统\ngrok\ngrok-调试主机\ngrok.cfg'
# update_ngrok_config(ngrok_config_path, local_ip)
#
# # 启动ngrok
# ngrok_path = r'D:\GithubData\自动化\ubains-module-test\预定系统\ngrok\ngrok-调试主机\ngrok.exe'
# start_ngrok(ngrok_path, ngrok_config_path)
# 定时执行展厅巡检任务
# 定时执行展厅巡检任务
# schedule.every().day.at("07:45").do(run_task, run_automation_test, report_title="展厅巡检测试报告", report_url_prefix="http://nat.ubainsyun.com:31133", test_case="展厅巡检", ding_type="展厅巡检")
# schedule.every().day.at("07:45").do(run_task, run_automation_test, report_title="展厅巡检测试报告", report_url_prefix="http://nat.ubainsyun.com:31133", test_case="展厅巡检", ding_type="展厅巡检")
#
schedule.every().monday.at("07:42").do(run_task, run_automation_test, report_title="展厅巡检测试报告", report_url_prefix="http://nat.ubainsyun.com:31133", test_case="展厅巡检", ding_type="展厅巡检")
schedule
.
every
()
.
monday
.
at
(
"07:42"
)
.
do
(
run_task
,
run_automation_test
,
report_title
=
"展厅巡检测试报告"
,
report_url_prefix
=
"http://nat.ubainsyun.com:31133"
,
test_case
=
"展厅巡检"
,
ding_type
=
"展厅巡检"
)
#
schedule.every().thursday.at("07:42").do(run_task, run_automation_test, report_title="展厅巡检测试报告", report_url_prefix="http://nat.ubainsyun.com:31133", test_case="展厅巡检", ding_type="展厅巡检")
schedule
.
every
()
.
thursday
.
at
(
"07:42"
)
.
do
(
run_task
,
run_automation_test
,
report_title
=
"展厅巡检测试报告"
,
report_url_prefix
=
"http://nat.ubainsyun.com:31133"
,
test_case
=
"展厅巡检"
,
ding_type
=
"展厅巡检"
)
#
schedule.every().wednesday.at("07:42").do(run_task, run_automation_test, report_title="展厅巡检测试报告", report_url_prefix="http://nat.ubainsyun.com:31133", test_case="展厅巡检", ding_type="展厅巡检")
schedule
.
every
()
.
wednesday
.
at
(
"07:42"
)
.
do
(
run_task
,
run_automation_test
,
report_title
=
"展厅巡检测试报告"
,
report_url_prefix
=
"http://nat.ubainsyun.com:31133"
,
test_case
=
"展厅巡检"
,
ding_type
=
"展厅巡检"
)
#
schedule.every().tuesday.at("07:42").do(run_task, run_automation_test, report_title="展厅巡检测试报告", report_url_prefix="http://nat.ubainsyun.com:31133", test_case="展厅巡检", ding_type="展厅巡检")
schedule
.
every
()
.
tuesday
.
at
(
"07:42"
)
.
do
(
run_task
,
run_automation_test
,
report_title
=
"展厅巡检测试报告"
,
report_url_prefix
=
"http://nat.ubainsyun.com:31133"
,
test_case
=
"展厅巡检"
,
ding_type
=
"展厅巡检"
)
#
schedule.every().friday.at("07:42").do(run_task, run_automation_test, report_title="展厅巡检测试报告", report_url_prefix="http://nat.ubainsyun.com:31133", test_case="展厅巡检", ding_type="展厅巡检")
schedule
.
every
()
.
friday
.
at
(
"07:42"
)
.
do
(
run_task
,
run_automation_test
,
report_title
=
"展厅巡检测试报告"
,
report_url_prefix
=
"http://nat.ubainsyun.com:31133"
,
test_case
=
"展厅巡检"
,
ding_type
=
"展厅巡检"
)
# schedule.every().saturday.at("07:42").do(run_task, run_automation_test, report_title="展厅巡检测试报告", report_url_prefix="http://nat.ubainsyun.com:31133", test_case="展厅巡检", ding_type="展厅巡检")
# schedule.every().saturday.at("07:42").do(run_task, run_automation_test, report_title="展厅巡检测试报告", report_url_prefix="http://nat.ubainsyun.com:31133", test_case="展厅巡检", ding_type="展厅巡检")
# schedule.every().sunday.at("07:42").do(run_task, run_automation_test, report_title="展厅巡检测试报告", report_url_prefix="http://nat.ubainsyun.com:31133", test_case="展厅巡检", ding_type="展厅巡检")
# schedule.every().sunday.at("07:42").do(run_task, run_automation_test, report_title="展厅巡检测试报告", report_url_prefix="http://nat.ubainsyun.com:31133", test_case="展厅巡检", ding_type="展厅巡检")
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论