新增pms相关接口用例

This commit is contained in:
floraachy
2024-01-05 16:20:43 +08:00
parent 7ee0732afe
commit 4a285f6749
106 changed files with 5167 additions and 96 deletions
+30 -25
View File
@@ -19,16 +19,21 @@ ENV_VARS = {
# 示例测试环境及示例测试账号
"host": "https://testforgeplus.trustie.net",
"wiki_host": "",
"client_id": "****client_id-test****", # 获取oauth_token需要的参数
"client_secret": "****client_secret-test****", # 获取oauth_token需要的参数
"green_code": "****green_code-test****", # 万能验证码
"login": "autotest",
"password": "****autotest-test****", # 运行时需要手动更改密码
"nickname": "autotest",
"user_id": 106,
"super_login": "floraachy",
"super_password": "****floraachy-test****", # 运行时需要手动更改密码
"project_url": "/autotest/auotest",
"pms_host": "https://testpm.trustie.net",
"client_id": "****client_id****", # 获取oauth_token需要的参数
"client_secret": "****client_secret****", # 获取oauth_token需要的参数
"green_code": "****green_code****", # 万能验证码
"env_login": "autotest",
"env_password": "****autotest_password_test****", # 运行时需要手动更改密码
"env_nickname": "autotest",
"env_user_id": 106,
"env_super_login": "floraachy",
"env_super_password": "****floraachy_password_test****", # 运行时需要手动更改密码
"env_project_url": "/autotest/auotest",
"env_project_id": "59",
"env_pms_product_id": "215",
"env_pms_product_identifier": "6E0453",
"env_pms_project_id": "135",
"db_info": {
"db_host": "xx.xx.xx.xx",
"db_port": 3306,
@@ -51,13 +56,13 @@ ENV_VARS = {
"client_id": "****client_id-pre****", # 获取oauth_token需要的参数
"client_secret": "****client_secret-pre****", # 获取oauth_token需要的参数
"green_code": "****green_code-pre****", # 万能验证码
"login": "autotest",
"password": "****autotest-pre****", # 运行时需要手动更改密码
"nickname": "autotest",
"user_id": 115,
"super_login": "floraachy",
"super_password": "****floraachy-pre****", # 运行时需要手动更改密码
"project_url": "/floraachy/autotest",
"env_login": "autotest",
"env_password": "****autotest-pre****", # 运行时需要手动更改密码
"env_nickname": "autotest",
"env_user_id": 115,
"env_super_login": "floraachy",
"env_super_password": "****floraachy-pre****", # 运行时需要手动更改密码
"env_project_url": "/floraachy/autotest",
"db_info": {
"db_host": "xx.xx.xx.xx",
"db_port": 3306,
@@ -79,13 +84,13 @@ ENV_VARS = {
"client_id": "****client_id-live****", # 获取oauth_token需要的参数
"client_secret": "****client_secret-live****", # 获取oauth_token需要的参数
"green_code": "****green_code-live****", # 万能验证码
"login": "floraachy",
"password": "****floraachy-live****", # 运行时需要手动更改密码
"nickname": "🌼陈银花",
"user_id": 87611,
"super_login": "chenyh",
"super_password": "****chenyh-live****", # 运行时需要手动更改密码
"project_url": "/floraachy/auotest",
"env_login": "floraachy",
"env_password": "****floraachy-live****", # 运行时需要手动更改密码
"env_nickname": "🌼陈银花",
"env_user_id": 87611,
"env_super_login": "chenyh",
"env_super_password": "****chenyh-live****", # 运行时需要手动更改密码
"env_project_url": "/floraachy/auotest",
"db_info": {
"db_host": "xx.xx.xx.xx",
"db_port": 3306,
@@ -115,7 +120,7 @@ class RunConfig:
reruns_delay = 5
# 当达到最大失败数,停止执行
max_fail = "10"
max_fail = "100"
# ------------------------------------ 配置信息 ----------------------------------------------------#