更新pms一系列用例
This commit is contained in:
2
Pipfile
2
Pipfile
@@ -7,7 +7,6 @@ name = "pypi"
|
||||
allure-pytest = "==2.9.45"
|
||||
click = "==8.1.7"
|
||||
faker = "==21.0.0"
|
||||
jsonpath = "==0.82.2"
|
||||
loguru = "==0.7.2"
|
||||
openpyxl = "==3.1.2"
|
||||
pydantic = "==2.5.2"
|
||||
@@ -20,6 +19,7 @@ sshtunnel = "==0.4.0"
|
||||
xpinyin = "==0.7.6"
|
||||
yagmail = "==0.15.293"
|
||||
pytest-repeat = "==0.9.3"
|
||||
jsonpath = "*"
|
||||
|
||||
[dev-packages]
|
||||
|
||||
|
||||
@@ -34,15 +34,15 @@ ENV_VARS = {
|
||||
"env_super_login": "floraachy",
|
||||
"env_super_password": "****floraachy_password_test****", # 运行时需要手动更改密码
|
||||
# 测试仓库 env_repo_owner/env_repo_identifier
|
||||
"env_repo_owner": "autotest",
|
||||
"env_repo_identifier": "auotest",
|
||||
"env_project_id": "59",
|
||||
"env_repo_owner": "",
|
||||
"env_repo_identifier": "",
|
||||
"env_project_id": "",
|
||||
# pms相关环境变量
|
||||
"env_pms_product_id": "360",
|
||||
"env_pms_product_identifier": "5E315F",
|
||||
"env_pms_project_id": "205",
|
||||
"env_enterprise_identifier": "prefecture",
|
||||
"env_enterprise_id": "1",
|
||||
"env_pms_product_id": "",
|
||||
"env_pms_product_identifier": "",
|
||||
"env_pms_project_id": "",
|
||||
"env_enterprise_identifier": "",
|
||||
"env_enterprise_id": "",
|
||||
"env_organization_id": 105,
|
||||
# 数据库配置
|
||||
"db_info": {
|
||||
@@ -79,9 +79,9 @@ ENV_VARS = {
|
||||
"env_super_login": "floraachy",
|
||||
"env_super_password": "****floraachy-pre****", # 运行时需要手动更改密码
|
||||
# 测试仓库 env_repo_owner/env_repo_identifier
|
||||
"env_repo_owner": "floraachy",
|
||||
"env_repo_identifier": "autotest",
|
||||
"env_project_id": "161",
|
||||
"env_repo_owner": "",
|
||||
"env_repo_identifier": "",
|
||||
"env_project_id": "",
|
||||
# pms相关环境变量
|
||||
"env_pms_product_id": "",
|
||||
"env_pms_product_identifier": "",
|
||||
|
||||
@@ -13,7 +13,7 @@ case_info:
|
||||
title: 删除文件夹
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document/${dir_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document/${dir_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -23,7 +23,7 @@ case_info:
|
||||
title: 编辑文件夹
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -32,7 +32,6 @@ case_info:
|
||||
payload:
|
||||
pmsEnterpriseId: ${env_enterprise_id}
|
||||
pmsProjectId: 0 # 0表示不归属项目,是组件知识库
|
||||
parentId: 0
|
||||
docType: 2 # 文件类型 1-文档目录 2-文档 3-附件 4-wiki库
|
||||
id: ${dir_id}
|
||||
name: ${generate_paragraph(nb=1)}
|
||||
|
||||
@@ -22,7 +22,7 @@ case_info:
|
||||
title: 获取文件夹详情
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document/${dir_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document/${dir_id}
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -13,7 +13,7 @@ case_info:
|
||||
title: 获取文档列表
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -13,7 +13,7 @@ case_info:
|
||||
title: 新增文件夹
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -13,7 +13,7 @@ case_info:
|
||||
title: 删除文档
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document/${doc_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document/${doc_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -22,7 +22,7 @@ case_info:
|
||||
title: 编辑文档
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -31,7 +31,6 @@ case_info:
|
||||
payload:
|
||||
pmsEnterpriseId: ${env_enterprise_id}
|
||||
pmsProjectId: 0 # 0表示不归属项目,是组件知识库
|
||||
parentId: 0
|
||||
docType: 2 # 文件类型 1-文档目录 2-文档 3-附件 4-wiki库
|
||||
id: ${doc_id}
|
||||
name: ${generate_paragraph(nb=1)}
|
||||
|
||||
@@ -22,7 +22,7 @@ case_info:
|
||||
title: 获取文档详情
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document/${doc_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document/${doc_id}
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -12,7 +12,7 @@ case_info:
|
||||
title: 获取文档列表
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -12,7 +12,7 @@ case_info:
|
||||
title: 新增文档
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -13,7 +13,7 @@ case_info:
|
||||
title: 删除文件
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document/${file_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document/${file_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -23,7 +23,7 @@ case_info:
|
||||
title: 获取文件详情
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document/${file_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document/${file_id}
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -13,7 +13,7 @@ case_info:
|
||||
title: 获取文件列表
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -13,7 +13,7 @@ case_info:
|
||||
title: 上传文件
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document/fileType
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document/fileType
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -23,7 +23,7 @@ case_info:
|
||||
pmsEnterpriseId: ${env_enterprise_id}
|
||||
pmsProjectId: 0 # 0表示不归属项目,是组件知识库
|
||||
parentId: 0
|
||||
docType: 3 # 文件类型 1-文档目录 2-文档 3-附件 4-wiki库
|
||||
docType: 3 # 文件类型 1-文档目录 2-文档 3-附件 4-wiki库
|
||||
names: test_${generate_words}_${file_name}
|
||||
permission: ${random.choice([1,2,3])} # 权限 1-私有 2-全员读 3-全员读写
|
||||
attachmentIdentifiers: ${file_identifier}
|
||||
@@ -42,4 +42,35 @@ case_info:
|
||||
teardown:
|
||||
interface:
|
||||
- pms_doc_get_file_list_01
|
||||
- pms_doc_delete_file_01
|
||||
- pms_doc_delete_file_01
|
||||
|
||||
- id: pms_doc_upload_file_02
|
||||
title: 上传文件, 文件类型传递错误,上传失败
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document/fileType
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
cookies: ${cookies}
|
||||
request_type: json
|
||||
payload:
|
||||
pmsEnterpriseId: ${env_enterprise_id}
|
||||
pmsProjectId: 0 # 0表示不归属项目,是组件知识库
|
||||
parentId: 0
|
||||
docType: 4 # 文件类型 1-文档目录 2-文档 3-附件 4-wiki库
|
||||
names: test_${generate_words}_${file_name}
|
||||
permission: ${random.choice([1,2,3])} # 权限 1-私有 2-全员读 3-全员读写
|
||||
attachmentIdentifiers: ${file_identifier}
|
||||
files:
|
||||
assert_response:
|
||||
status_code: 200
|
||||
assertMessage:
|
||||
type_jsonpath: $.msg
|
||||
expect_value: 参数docType错误
|
||||
assert_type: ==
|
||||
assert_sql:
|
||||
extract:
|
||||
case_dependence:
|
||||
setup:
|
||||
interface: pms_upload_file_01
|
||||
|
||||
@@ -15,7 +15,7 @@ case_info:
|
||||
title: 删除wiki库
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document/${wiki_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document/${wiki_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -12,7 +12,7 @@ case_info:
|
||||
title: 导入wiki库
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -24,7 +24,7 @@ case_info:
|
||||
parentId: 0
|
||||
docType: 4 # 文件类型 1-文档目录 2-文档 3-附件 4-wiki库
|
||||
name: test_${optional_wiki_repo_name}
|
||||
permission: 1 # 权限 1-私有 2-全员读 3-全员读写
|
||||
permission: 2 # 权限 1-私有 2-全员读 3-全员读写
|
||||
wikiGitlinkRepoId: ${optional_wiki_repo_id}
|
||||
files:
|
||||
assert_response:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
case_common:
|
||||
allure_epic: 项目管理
|
||||
allure_feature: 知识库
|
||||
allure_story: 文档
|
||||
allure_story: wiki库
|
||||
case_markers:
|
||||
- pms
|
||||
- pms_docs
|
||||
@@ -13,14 +13,15 @@ case_info:
|
||||
title: 获取导入wiki库可选仓库列表
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document/optionalWikiRepoList?enterpriseId=1&page=1&limit=15
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document/optionalWikiRepoList
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
cookies: ${cookies}
|
||||
request_type: params
|
||||
payload:
|
||||
pmsEnterpriseId: ${env_enterprise_id}
|
||||
enterpriseIdentifier : ${env_enterprise_identifier}
|
||||
enterpriseId: ${env_enterprise_id}
|
||||
page: 1
|
||||
limit: 15
|
||||
files:
|
||||
|
||||
@@ -22,7 +22,7 @@ case_info:
|
||||
title: 获取wiki库详情
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document/${wiki_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document/${wiki_id}
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -12,7 +12,7 @@ case_info:
|
||||
title: 获取wiki库列表
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/document/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/document/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品模块
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_module
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
@@ -15,7 +15,7 @@ case_info:
|
||||
title: 产品下获取产品模块详细信息接口
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProductModule/${product_module_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductModule/${product_module_id}
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品模块
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_module
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 产品下删除模块接口 - 删除成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProductModule/${product_module_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductModule/${product_module_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -40,7 +40,7 @@ case_info:
|
||||
title: 产品下删除子级模块接口 - 删除成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProductModule/${product_module_children_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductModule/${product_module_children_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -67,7 +67,7 @@ case_info:
|
||||
title: 产品下删除模块接口 - 存在子级模块,删除失败
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProductModule/${product_module_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductModule/${product_module_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品模块
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_module
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
@@ -21,7 +21,7 @@ case_info:
|
||||
title: 产品下编辑模块接口 - 更新成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProductModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductModule
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -48,7 +48,7 @@ case_info:
|
||||
title: 产品下编辑子级模块接口 - 更新成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProductModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductModule
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -77,7 +77,7 @@ case_info:
|
||||
title: 产品下编辑子级模块接口 - 模块名称长度31,更新失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductModule
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -104,7 +104,7 @@ case_info:
|
||||
title: 产品下编辑子级模块接口 - 模块名称为空,更新失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductModule
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -131,7 +131,7 @@ case_info:
|
||||
title: 产品下编辑子级模块接口 - 模块名称重复,更新失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductModule
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品模块
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_module
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 获取产品下的模块接口(树状)
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProductModule/treeList
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductModule/treeList
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -40,7 +40,7 @@ case_info:
|
||||
title: 获取产品下的模块接口
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProductModule/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductModule/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -67,7 +67,7 @@ case_info:
|
||||
title: 获取产品下的模块接口 - 提取第一个模块id
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductModule/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductModule/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品模块
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_module
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
@@ -15,7 +15,7 @@ case_info:
|
||||
title: 产品下新建模块接口 - 新建成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProductModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductModule
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -46,7 +46,7 @@ case_info:
|
||||
title: 产品下新建子级模块接口 - 新建成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProductModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductModule
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -80,7 +80,7 @@ case_info:
|
||||
title: 产品下新建模块接口 - 模块名称长度31,新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductModule
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -106,7 +106,7 @@ case_info:
|
||||
title: 产品下新建模块接口 - 模块名称为空,新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductModule
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -133,7 +133,7 @@ case_info:
|
||||
title: 产品下新建模块接口 - 模块名称重复,新建失败
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProductModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductModule
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品计划
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_plan
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 产品下获取产品计划详细信息接口
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductPlan/${product_plan_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductPlan/${product_plan_id}
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品计划
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_plan
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 产品下删除计划接口
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProductPlan/${product_plan_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductPlan/${product_plan_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品计划
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_plan
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
@@ -19,7 +19,7 @@ case_info:
|
||||
title: 产品下编辑计划接口
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProductPlan
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductPlan
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -48,7 +48,7 @@ case_info:
|
||||
title: 产品下编辑计划接口 - 计划标题51, 编辑失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductPlan
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductPlan
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -70,8 +70,6 @@ case_info:
|
||||
assert_type: ==
|
||||
assert_sql:
|
||||
extract:
|
||||
type_jsonpath:
|
||||
product_plan_id: $.data
|
||||
case_dependence:
|
||||
|
||||
|
||||
@@ -80,7 +78,7 @@ case_info:
|
||||
title: 产品下编辑计划接口 - 计划标题为空, 编辑失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductPlan
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductPlan
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -102,8 +100,6 @@ case_info:
|
||||
assert_type: ==
|
||||
assert_sql:
|
||||
extract:
|
||||
type_jsonpath:
|
||||
product_plan_id: $.data
|
||||
case_dependence:
|
||||
|
||||
-
|
||||
@@ -111,7 +107,7 @@ case_info:
|
||||
title: 产品下编辑计划接口 - 计划描述长度201, 编辑失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductPlan
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductPlan
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -133,8 +129,6 @@ case_info:
|
||||
assert_type: ==
|
||||
assert_sql:
|
||||
extract:
|
||||
type_jsonpath:
|
||||
product_plan_id: $.data
|
||||
case_dependence:
|
||||
|
||||
-
|
||||
@@ -142,7 +136,7 @@ case_info:
|
||||
title: 产品下编辑计划接口 - 计划描述为空, 编辑失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductPlan
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductPlan
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -164,8 +158,6 @@ case_info:
|
||||
assert_type: ==
|
||||
assert_sql:
|
||||
extract:
|
||||
type_jsonpath:
|
||||
product_plan_id: $.data
|
||||
case_dependence:
|
||||
|
||||
|
||||
@@ -174,7 +166,7 @@ case_info:
|
||||
title: 产品下编辑计划接口 - 结束时间早于开始时间, 编辑失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductPlan
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductPlan
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -196,6 +188,4 @@ case_info:
|
||||
assert_type: ==
|
||||
assert_sql:
|
||||
extract:
|
||||
type_jsonpath:
|
||||
product_plan_id: $.data
|
||||
case_dependence:
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品计划
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_plan
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 获取产品下的计划接口
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProductPlan/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductPlan/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -42,7 +42,7 @@ case_info:
|
||||
title: 获取产品下的计划接口 - 通过计划名称关键字搜索
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProductPlan/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductPlan/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品计划
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_plan
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 产品下新建计划接口 - 新建成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProductPlan
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductPlan
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -48,7 +48,7 @@ case_info:
|
||||
title: 产品下新建计划接口 - 计划标题51, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductPlan
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductPlan
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -80,7 +80,7 @@ case_info:
|
||||
title: 产品下新建计划接口 - 计划标题为空, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductPlan
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductPlan
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -111,7 +111,7 @@ case_info:
|
||||
title: 产品下新建计划接口 - 计划描述长度201, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductPlan
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductPlan
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -142,7 +142,7 @@ case_info:
|
||||
title: 产品下新建计划接口 - 计划描述为空, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductPlan
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductPlan
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -174,7 +174,7 @@ case_info:
|
||||
title: 产品下新建计划接口 - 结束时间早于开始时间, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductPlan
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductPlan
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品需求
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_requirement
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
@@ -15,7 +15,7 @@ case_info:
|
||||
title: 产品下删除需求接口 - 单个需求,删除成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement/${product_requirement_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement/${product_requirement_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -41,7 +41,7 @@ case_info:
|
||||
title: 产品下删除需求接口 - 多个需求,删除成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement/${list_to_str(${product_requirement_ids})}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement/${list_to_str(${product_requirement_ids})}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,13 +4,14 @@ case_common:
|
||||
allure_story: 产品需求
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_requirement
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
common_dependence:
|
||||
setup:
|
||||
interface:
|
||||
- pms_get_project_user_list_01
|
||||
- pms_get_enterprise_user_list_01
|
||||
- pms_new_product_requirement_tag_01
|
||||
- pms_get_product_requirement_tag_list_by_name_02
|
||||
@@ -31,7 +32,7 @@ case_info:
|
||||
title: 产品下编辑需求接口 - 更新成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -71,7 +72,7 @@ case_info:
|
||||
title: 产品下编辑需求接口 - 仅更新需求名称,更新成功
|
||||
run: true
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -96,7 +97,7 @@ case_info:
|
||||
title: 产品需求移入计划
|
||||
run: true
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -129,7 +130,7 @@ case_info:
|
||||
title: 产品下编辑需求接口 - 模块传-1, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -168,7 +169,7 @@ case_info:
|
||||
title: 产品下编辑需求接口 - 需求名称长度201,新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -207,7 +208,7 @@ case_info:
|
||||
title: 产品下编辑需求接口 - 需求名称为空,新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品需求
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_requirement
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 获取产品下全部模块需求列表
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -42,7 +42,7 @@ case_info:
|
||||
title: 获取产品下全部模块需求列表的第一条数据
|
||||
run: false
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -75,7 +75,7 @@ case_info:
|
||||
title: 获取产品下全部模块需求列表 - 通过需求名称关键字搜索
|
||||
run: false
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -105,7 +105,7 @@ case_info:
|
||||
title: 获取产品下全部模块需求列表 - 通过计划获取
|
||||
run: false
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品需求
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_requirement
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 获取产品需求下可选计划列表接口
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProductPlan/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductPlan/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,13 +4,14 @@ case_common:
|
||||
allure_story: 产品需求
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_requirement
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
common_dependence:
|
||||
setup:
|
||||
interface:
|
||||
- pms_get_project_user_list_01
|
||||
- pms_get_enterprise_user_list_01
|
||||
- pms_new_product_module_01
|
||||
- pms_new_product_plan_01
|
||||
@@ -25,7 +26,7 @@ case_info:
|
||||
title: 产品下新建需求接口 - 新建成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -65,7 +66,7 @@ case_info:
|
||||
title: 产品下新建需求接口 - 仅传必填参数,新建成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -94,7 +95,7 @@ case_info:
|
||||
title: 产品下新建需求接口 - 模块传-1, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -122,7 +123,7 @@ case_info:
|
||||
title: 产品下新建需求接口 - 需求名称长度201,新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -149,7 +150,7 @@ case_info:
|
||||
title: 产品下新建需求接口 - 需求名称为空,新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -175,7 +176,7 @@ case_info:
|
||||
title: 产品下新建需求接口 - 所选项目未关联产品,新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品需求
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_requirement
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 批量更新产品需求接口
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProductRequirement/batch
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProductRequirement/batch
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -28,7 +28,7 @@ case_info:
|
||||
pmsProductModuleId: ${module_id}
|
||||
statusId: ${random.choice([6, 7, 8, 9, 10])}
|
||||
pmsProductPlanId: ${product_plan_id}
|
||||
tags: ${random.choice(${product_requirement_tag_ids})}
|
||||
tags: ${product_requirement_tag_id}
|
||||
files:
|
||||
assert_response:
|
||||
status_code: 200
|
||||
@@ -43,7 +43,7 @@ case_info:
|
||||
interface:
|
||||
- pms_get_product_module_list_03
|
||||
- pms_get_enterprise_user_list_01
|
||||
- pms_get_product_requirement_tag_list_01
|
||||
- pms_get_product_requirement_tag_list_by_name_02
|
||||
- pms_upload_file_01
|
||||
- pms_new_product_requirement_02
|
||||
- pms_new_product_plan_01
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品需求评论
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_requirement
|
||||
- journal
|
||||
- usefixtures: gitlink_login
|
||||
@@ -20,7 +20,7 @@ case_info:
|
||||
title: 产品需求下添加评论
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsJournals
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsJournals
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -49,7 +49,7 @@ case_info:
|
||||
title: 产品需求下的评论添加回复
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsJournals
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsJournals
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品需求评论
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_requirement
|
||||
- journal
|
||||
- usefixtures: gitlink_login
|
||||
@@ -20,7 +20,7 @@ case_info:
|
||||
title: 产品需求下删除评论
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsJournals/${${journal_ids}[0] if isinstance(${journal_ids}, list) else ${journal_ids}}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsJournals/${${journal_ids}[0] if isinstance(${journal_ids}, list) else ${journal_ids}}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -47,7 +47,7 @@ case_info:
|
||||
title: 产品需求下删除回复
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsJournals/${${children_journal_ids}[0] if isinstance(${children_journal_ids}, list) else ${children_journal_ids}}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsJournals/${${children_journal_ids}[0] if isinstance(${children_journal_ids}, list) else ${children_journal_ids}}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品需求评论
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_requirement
|
||||
- journal
|
||||
- usefixtures: gitlink_login
|
||||
@@ -20,7 +20,7 @@ case_info:
|
||||
title: 产品需求下修改评论
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsJournals
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsJournals
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -51,7 +51,7 @@ case_info:
|
||||
title: 产品需求下修改回复
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsJournals
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsJournals
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品需求评论
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- product_requirement
|
||||
- journal
|
||||
- usefixtures: gitlink_login
|
||||
@@ -15,7 +15,7 @@ case_info:
|
||||
title: 获取产品需求下评论列表
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsJournals/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsJournals/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
case_info:
|
||||
@@ -13,16 +13,13 @@ case_info:
|
||||
title: 通过产品标识获取产品详细信息
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProduct/ByIdentifier/${env_pms_product_identifier}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProduct/${env_pms_product_identifier}
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
cookies: ${cookies}
|
||||
request_type: params
|
||||
payload:
|
||||
pageSize: 20
|
||||
pageNum: 1
|
||||
pmsEnterpriseIdentifier: prefecture
|
||||
files:
|
||||
assert_response:
|
||||
status_code: 200
|
||||
|
||||
@@ -1,27 +1,25 @@
|
||||
case_common:
|
||||
allure_epic: 项目管理
|
||||
allure_feature: 项目
|
||||
allure_story: 测试用例模块
|
||||
allure_feature: 产品
|
||||
allure_story: 产品
|
||||
case_markers:
|
||||
- pms
|
||||
- pms_project
|
||||
- project_test_module
|
||||
- pms_product
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
case_info:
|
||||
-
|
||||
id: pms_get_testcase_module_01
|
||||
title: 获取测试用例模块列表接口
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule/list
|
||||
id: pms_get_product_user_list_01
|
||||
title: 获取产品负责人可选列表接口
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProduct/userList
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
cookies: ${cookies}
|
||||
request_type: json
|
||||
request_type: params
|
||||
payload:
|
||||
pmsProjectId: ${env_pms_project_id}
|
||||
files:
|
||||
assert_response:
|
||||
status_code: 200
|
||||
@@ -32,5 +30,4 @@ case_info:
|
||||
assert_sql:
|
||||
extract:
|
||||
type_jsonpath:
|
||||
testcase_module_ids: $.rows[*].id
|
||||
case_dependence:
|
||||
product_user: $.rows[0].gitlinkUserId
|
||||
@@ -4,13 +4,13 @@ case_common:
|
||||
allure_story: 产品
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
common_dependence:
|
||||
setup:
|
||||
interface:
|
||||
- pms_get_enterprise_user_list_01
|
||||
- pms_get_product_user_list_01
|
||||
|
||||
case_info:
|
||||
-
|
||||
@@ -18,7 +18,7 @@ case_info:
|
||||
title: 企业下删除产品接口 - 单个产品,删除成功
|
||||
run: true
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProduct/ByIdentifier/${pms_product_identifier}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProduct/${pms_product_identifier}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -4,13 +4,13 @@ case_common:
|
||||
allure_story: 产品
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
common_dependence:
|
||||
setup:
|
||||
interface:
|
||||
- pms_get_enterprise_user_list_01
|
||||
- pms_get_product_user_list_01
|
||||
|
||||
case_info:
|
||||
-
|
||||
@@ -18,7 +18,7 @@ case_info:
|
||||
title: 企业下编辑产品接口 - 更新成功
|
||||
run: true
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProduct
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProduct
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -27,7 +27,7 @@ case_info:
|
||||
payload:
|
||||
productIdentifier: ${pms_product_identifier}
|
||||
productName: ${generate_company_name(lan='zh', fix='pre')}_${generate_words()}
|
||||
productAssigneeGitlinkId: ${random.choice(${assignee_ids})}
|
||||
productAssigneeGitlinkIds: ${product_user}
|
||||
productDescription: ${generate_paragraph}
|
||||
files:
|
||||
assert_response:
|
||||
@@ -49,7 +49,7 @@ case_info:
|
||||
title: 企业下编辑产品接口 - 产品名称长度51,更新失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProduct
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProduct
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -58,7 +58,7 @@ case_info:
|
||||
payload:
|
||||
productIdentifier: ${env_pms_product_identifier}
|
||||
productName: ${faker.pystr(max_chars=51)}
|
||||
productAssigneeGitlinkId: ${random.choice(${assignee_ids})}
|
||||
productAssigneeGitlinkIds: ${product_user}
|
||||
productDescription: ${generate_paragraph}
|
||||
files:
|
||||
assert_response:
|
||||
@@ -76,7 +76,7 @@ case_info:
|
||||
title: 企业下编辑产品接口 - 产品描述长度201,更新失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProduct
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProduct
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -85,7 +85,7 @@ case_info:
|
||||
payload:
|
||||
productIdentifier: ${env_pms_product_identifier}
|
||||
productName: 新产品_${generate_company_name(lan='zh', fix='pre')}_${generate_words}
|
||||
productAssigneeGitlinkId: ${random.choice(${assignee_ids})}
|
||||
productAssigneeGitlinkIds: ${product_user}
|
||||
productDescription: ${faker.pystr(max_chars=201)}
|
||||
files:
|
||||
assert_response:
|
||||
@@ -103,7 +103,7 @@ case_info:
|
||||
title: 企业下编辑产品接口 - 产品名称重复,更新失败
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProduct
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProduct
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -112,7 +112,7 @@ case_info:
|
||||
payload:
|
||||
productIdentifier: ${pms_product_identifier}
|
||||
productName: ${env_pms_product_name}
|
||||
productAssigneeGitlinkId: ${random.choice(${assignee_ids})}
|
||||
productAssigneeGitlinkIds: ${product_user}
|
||||
productDescription: ${generate_paragraph}
|
||||
files:
|
||||
assert_response:
|
||||
|
||||
@@ -4,7 +4,7 @@ case_common:
|
||||
allure_story: 产品
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
case_info:
|
||||
@@ -13,7 +13,7 @@ case_info:
|
||||
title: 获取企业下产品列表接口
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProduct/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProduct/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -22,7 +22,7 @@ case_info:
|
||||
payload:
|
||||
pageSize: 20
|
||||
pageNum: 1
|
||||
pmsEnterpriseIdentifier: prefecture
|
||||
pmsEnterpriseIdentifier: ${env_enterprise_identifier}
|
||||
files:
|
||||
assert_response:
|
||||
status_code: 200
|
||||
@@ -40,7 +40,7 @@ case_info:
|
||||
title: 获取企业下产品列表接口 - 根据产品关键字搜索产品
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProduct/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProduct/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -49,7 +49,7 @@ case_info:
|
||||
payload:
|
||||
pageSize: 20
|
||||
pageNum: 1
|
||||
pmsEnterpriseIdentifier: prefecture
|
||||
pmsEnterpriseIdentifier: ${env_enterprise_identifier}
|
||||
productName: 新产品
|
||||
files:
|
||||
assert_response:
|
||||
|
||||
@@ -4,14 +4,14 @@ case_common:
|
||||
allure_story: 产品
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- repeat(1)
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
common_dependence:
|
||||
setup:
|
||||
interface:
|
||||
- pms_get_enterprise_user_list_01
|
||||
- pms_get_product_user_list_01
|
||||
|
||||
case_info:
|
||||
-
|
||||
@@ -19,7 +19,7 @@ case_info:
|
||||
title: 企业下新建产品接口 - 新建成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProduct
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProduct
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -28,7 +28,7 @@ case_info:
|
||||
payload:
|
||||
pmsEnterpriseIdentifier: ${env_enterprise_identifier}
|
||||
productName: 新产品_${generate_company_name(lan='zh', fix='pre')}_${generate_words}
|
||||
productAssigneeGitlinkId: ${random.choice(${assignee_ids})}
|
||||
productAssigneeGitlinkIds: ${product_user}
|
||||
productDescription: ${generate_paragraph}
|
||||
files:
|
||||
assert_response:
|
||||
@@ -51,7 +51,7 @@ case_info:
|
||||
title: 企业下新建产品接口 - 产品名称长度51,新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProduct
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProduct
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -60,7 +60,7 @@ case_info:
|
||||
payload:
|
||||
pmsEnterpriseIdentifier: ${env_enterprise_identifier}
|
||||
productName: ${faker.pystr(max_chars=51)}
|
||||
productAssigneeGitlinkId: ${random.choice(${assignee_ids})}
|
||||
productAssigneeGitlinkIds: ${product_user}
|
||||
productDescription: ${generate_paragraph}
|
||||
files:
|
||||
assert_response:
|
||||
@@ -79,7 +79,7 @@ case_info:
|
||||
title: 企业下新建产品接口 - 产品描述长度201,新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProduct
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProduct
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -88,7 +88,7 @@ case_info:
|
||||
payload:
|
||||
pmsEnterpriseIdentifier: ${env_enterprise_identifier}
|
||||
productName: 新产品_${generate_company_name(lan='zh', fix='pre')}_${generate_words}
|
||||
productAssigneeGitlinkId: ${random.choice(${assignee_ids})}
|
||||
productAssigneeGitlinkIds: ${product_user}
|
||||
productDescription: ${faker.pystr(max_chars=201)}
|
||||
files:
|
||||
assert_response:
|
||||
@@ -107,7 +107,7 @@ case_info:
|
||||
title: 企业下新建产品接口 - 产品名称重复,新建失败
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProduct
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProduct
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -116,7 +116,7 @@ case_info:
|
||||
payload:
|
||||
pmsEnterpriseIdentifier: ${env_enterprise_identifier}
|
||||
productName: ${env_pms_product_name}
|
||||
productAssigneeGitlinkId: ${random.choice(${assignee_ids})}
|
||||
productAssigneeGitlinkIds: ${product_user}
|
||||
productDescription: ${generate_paragraph}
|
||||
files:
|
||||
assert_response:
|
||||
|
||||
@@ -4,20 +4,20 @@ case_common:
|
||||
allure_story: 产品
|
||||
case_markers:
|
||||
- pms
|
||||
- product
|
||||
- pms_product
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
common_dependence:
|
||||
setup:
|
||||
interface:
|
||||
- pms_get_enterprise_user_list_01
|
||||
- pms_get_product_user_list_01
|
||||
|
||||
case_info:
|
||||
- id: pms_operate_top_product_01
|
||||
title: 企业下置顶产品接口
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProduct/operateTop/${pms_product_identifier}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProduct/operateTop/${pms_product_identifier}
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -46,7 +46,7 @@ case_info:
|
||||
title: 企业下取消置顶产品接口
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProduct/operateTop/${pms_product_identifier}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProduct/operateTop/${pms_product_identifier}
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 获取项目内所有代码库列表
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectRepository/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectRepository/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -45,7 +45,7 @@ case_info:
|
||||
title: 获取项目内所有代码库列表 - 通过代码库名称关键字搜索
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectRepository/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectRepository/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 获取未被项目关联的仓库列表
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectRepository/list/unlinked
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectRepository/list/unlinked
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -22,8 +22,8 @@ case_info:
|
||||
request_type: params
|
||||
payload:
|
||||
enterpriseIdentifier: ${env_enterprise_identifier}
|
||||
# page: 1
|
||||
# limit: 20
|
||||
page: 1
|
||||
limit: 20
|
||||
# sortBy: updated_on
|
||||
# search:
|
||||
files:
|
||||
@@ -45,7 +45,7 @@ case_info:
|
||||
title: 获取项目内所有代码库列表 - 通过代码库名称关键字搜索
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectRepository/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectRepository/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -13,7 +13,7 @@ case_info:
|
||||
title: 查询与项目迭代未关联需求列表
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint/issues
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint/issues
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -52,7 +52,7 @@ case_info:
|
||||
title: 查询与项目迭代已关联需求列表
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint/issues
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint/issues
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -91,7 +91,7 @@ case_info:
|
||||
title: 查询与项目迭代未关联任务列表
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint/issues
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint/issues
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -130,7 +130,7 @@ case_info:
|
||||
title: 查询与项目迭代已关联任务列表
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint/issues
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint/issues
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -169,7 +169,7 @@ case_info:
|
||||
title: 查询与项目迭代未关联缺陷列表
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint/issues
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint/issues
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -208,7 +208,7 @@ case_info:
|
||||
title: 查询与项目迭代已关联缺陷列表
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint/issues
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint/issues
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -19,7 +19,7 @@ case_info:
|
||||
title: 项目下删除迭代接口 - 单个迭代,删除成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint/${project_sprint_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint/${project_sprint_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -44,7 +44,7 @@ case_info:
|
||||
title: 项目下删除迭代接口 - 多个迭代,删除成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint/${list_to_str(${project_sprint_ids})}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint/${list_to_str(${project_sprint_ids})}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -19,7 +19,7 @@ case_info:
|
||||
title: 项目下编辑迭代接口
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -54,7 +54,7 @@ case_info:
|
||||
title: 项目下编辑迭代接口 - 未开始迭代 --> 开始迭代
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -86,7 +86,7 @@ case_info:
|
||||
title: 项目下编辑迭代接口 - 进行中迭代 --> 完成迭代
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -119,7 +119,7 @@ case_info:
|
||||
title: 项目下编辑迭代接口 - 已关闭迭代 --> 重开迭代
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -151,10 +151,10 @@ case_info:
|
||||
|
||||
|
||||
- id: pms_new_sprint_05
|
||||
title: 项目下新建迭代接口 - 迭代名称长度101, 新建失败
|
||||
title: 项目下编辑迭代接口 - 迭代名称长度101, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -187,10 +187,10 @@ case_info:
|
||||
|
||||
|
||||
- id: pms_new_sprint_06
|
||||
title: 项目下新建迭代接口 - 迭代名称长度为空, 新建失败
|
||||
title: 项目下编辑迭代接口 - 迭代名称长度为空, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -222,10 +222,10 @@ case_info:
|
||||
interface: pms_delete_sprint_01
|
||||
|
||||
- id: pms_new_sprint_07
|
||||
title: 项目下新建迭代接口 - 迭代描述长度201, 新建失败
|
||||
title: 项目下编辑迭代接口 - 迭代描述长度201, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -258,10 +258,10 @@ case_info:
|
||||
|
||||
|
||||
- id: pms_new_sprint_08
|
||||
title: 项目下新建迭代接口 - 截止时间早于开始时间, 新建失败
|
||||
title: 项目下编辑迭代接口 - 截止时间早于开始时间, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -280,7 +280,7 @@ case_info:
|
||||
status_code: 200
|
||||
assertMessage:
|
||||
type_jsonpath: $.msg
|
||||
expect_value: 结束时间需晚于开始时间
|
||||
expect_value: 结束时间不能早于开始时间
|
||||
assert_type: ==
|
||||
assert_sql:
|
||||
extract:
|
||||
|
||||
@@ -13,7 +13,7 @@ case_info:
|
||||
title: 项目下获取迭代详情接口
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint/${project_sprint_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint/${project_sprint_id}
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -13,7 +13,7 @@ case_info:
|
||||
title: 项目下获取迭代列表接口
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -38,7 +38,7 @@ case_info:
|
||||
title: 项目下获取迭代列表接口 - 通过迭代名称关键字搜索
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -19,7 +19,7 @@ case_info:
|
||||
title: 项目下新建迭代接口 - 新建成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -47,7 +47,7 @@ case_info:
|
||||
title: 项目下新建迭代接口 - 迭代名称长度101, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -76,7 +76,7 @@ case_info:
|
||||
title: 项目下新建迭代接口 - 迭代名称长度为空, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -104,7 +104,7 @@ case_info:
|
||||
title: 项目下新建迭代接口 - 迭代描述长度201, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -133,7 +133,7 @@ case_info:
|
||||
title: 项目下新建迭代接口 - 截止时间早于开始时间, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectSprint
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectSprint
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -19,7 +19,7 @@ case_info:
|
||||
title: 规划迭代 - 需求移出迭代
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/edit/${linked_requirement_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/edit/${linked_requirement_id}
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -48,7 +48,7 @@ case_info:
|
||||
title: 规划迭代 - 任务移出迭代
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/edit/${linked_task_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/edit/${linked_task_id}
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -77,7 +77,7 @@ case_info:
|
||||
title: 规划迭代 - 缺陷移出迭代
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/edit/${linked_bug_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/edit/${linked_bug_id}
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -19,7 +19,7 @@ case_info:
|
||||
title: 规划迭代 - 需求移入迭代
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/edit/${unlink_requirement_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/edit/${unlink_requirement_id}
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -46,7 +46,7 @@ case_info:
|
||||
title: 规划迭代 - 任务移入迭代
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/edit/${unlink_task_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/edit/${unlink_task_id}
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -74,7 +74,7 @@ case_info:
|
||||
title: 规划迭代 - 缺陷移入迭代
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/edit/${unlink_bug_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/edit/${unlink_bug_id}
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -12,7 +12,7 @@ case_info:
|
||||
title: 获取项目内成员列表
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectMembers/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectMembers/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
33
interface/pms/projects/test_get_project_user_list.yaml
Normal file
33
interface/pms/projects/test_get_project_user_list.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
case_common:
|
||||
allure_epic: 项目管理
|
||||
allure_feature: 产品
|
||||
allure_story: 产品
|
||||
case_markers:
|
||||
- pms
|
||||
- pms_product
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
case_info:
|
||||
-
|
||||
id: pms_get_project_user_list_01
|
||||
title: 获取项目负责人可选列表接口
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject/userList
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
cookies: ${cookies}
|
||||
request_type: params
|
||||
payload:
|
||||
files:
|
||||
assert_response:
|
||||
status_code: 200
|
||||
assertMessage:
|
||||
type_jsonpath: $.msg
|
||||
expect_value: 查询成功
|
||||
assert_type: ==
|
||||
assert_sql:
|
||||
extract:
|
||||
type_jsonpath:
|
||||
project_user: $.rows[0].gitlinkUserId
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 删除测试用例模块接口 - 父级模块(不存在子级),删除成功
|
||||
run: true
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule/${testcase_module_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule/${testcase_module_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -41,7 +41,7 @@ case_info:
|
||||
title: 删除测试用例模块接口 - 子级模块,删除成功
|
||||
run: true
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule/${testcase_module_children_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule/${testcase_module_children_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -71,7 +71,7 @@ case_info:
|
||||
title: 删除测试用例模块接口 - 存在子级模块的父级模块
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule/${testcase_module_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule/${testcase_module_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -15,7 +15,7 @@ case_info:
|
||||
title: 编辑测试用例模块接口 - 编辑模块名称,更新成功
|
||||
run: true
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -24,7 +24,7 @@ case_info:
|
||||
payload:
|
||||
id: ${testcase_module_id}
|
||||
parentId: 0
|
||||
moduleName: ${generate_words(lan='zh', nb=2)}
|
||||
moduleName: t_${generate_words(lan='zh', nb=2)}
|
||||
files:
|
||||
assert_response:
|
||||
status_code: 200
|
||||
@@ -47,7 +47,7 @@ case_info:
|
||||
title: 编辑测试用例模块接口 - 编辑子级模块名称,更新成功
|
||||
run: true
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -81,7 +81,7 @@ case_info:
|
||||
title: 编辑测试用例模块接口 - 模块名称为空,更新失败
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -114,7 +114,7 @@ case_info:
|
||||
title: 编辑测试用例模块接口 - 模块名称长度31,更新失败
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -146,7 +146,7 @@ case_info:
|
||||
title: 编辑测试用例模块接口 - 所属父级模块为-1,更新失败
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -179,7 +179,7 @@ case_info:
|
||||
title: 编辑测试用例模块接口 - 无所属模块拖拽到其他模块,更新失败
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -19,7 +19,7 @@ case_info:
|
||||
title: 获取模块详情接口
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule/${testcase_module_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule/${testcase_module_id}
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -8,24 +8,20 @@ case_common:
|
||||
- project_test_module
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
common_dependence:
|
||||
setup:
|
||||
interface: pms_new_testcase_module_01
|
||||
teardown:
|
||||
interface: pms_delete_testcase_module_01
|
||||
|
||||
case_info:
|
||||
- id: pms_get_testcase_module_list_01
|
||||
title: 获取模块列表接口
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
cookies: ${cookies}
|
||||
request_type: json
|
||||
request_type: params
|
||||
payload:
|
||||
pmsProjectId: ${env_pms_project_id}
|
||||
files:
|
||||
assert_response:
|
||||
status_code: 200
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 新建测试用例模块接口 - 父级模块,新建成功
|
||||
run: true
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -45,7 +45,7 @@ case_info:
|
||||
title: 新建测试用例模块接口 - 子级模块,新建成功
|
||||
run: true
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -80,7 +80,7 @@ case_info:
|
||||
title: 新建测试用例模块接口 - 模块名称为空,新建失败
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -106,7 +106,7 @@ case_info:
|
||||
title: 新建测试用例模块接口 - 模块名称长度31,新建失败
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -133,7 +133,7 @@ case_info:
|
||||
title: 新建测试用例模块接口 - 父级模块传-1,新建失败
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -16,7 +16,7 @@ case_info:
|
||||
title: 同步产品模块 - 当前存在关联产品,产品存在模块,未同步过产品模块 # 待补充前置条件
|
||||
run: true
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule/byProjectId/${pms_project_id}/syncByProductModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule/byProjectId/${pms_project_id}/syncByProductModule
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -49,7 +49,7 @@ case_info:
|
||||
title: 同步产品模块 - 已同步过产品模块
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseModule/byProjectId/${env_pms_project_id}/syncByProductModule
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseModule/byProjectId/${env_pms_project_id}/syncByProductModule
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -10,6 +10,7 @@ case_common:
|
||||
common_dependence:
|
||||
setup:
|
||||
interface:
|
||||
- pms_get_project_user_list_01
|
||||
- pms_get_enterprise_user_list_01
|
||||
- pms_new_project_02
|
||||
- pms_get_project_list_by_name_02
|
||||
@@ -20,7 +21,7 @@ case_info:
|
||||
title: 企业下删除项目接口
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProject/${pms_project_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject/${pms_project_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -10,6 +10,7 @@ case_common:
|
||||
common_dependence:
|
||||
setup:
|
||||
interface:
|
||||
- pms_get_project_user_list_01
|
||||
- pms_get_enterprise_user_list_01
|
||||
- pms_new_project_02
|
||||
- pms_get_project_list_by_name_02
|
||||
@@ -22,7 +23,7 @@ case_info:
|
||||
title: 企业下编辑项目接口 - 更新成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProject
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -33,7 +34,7 @@ case_info:
|
||||
id: ${pms_project_id}
|
||||
status: ${random.choice([0,1,2])} # 0: 关闭 1:开启 2:暂停
|
||||
projectName: ${generate_company_name(lan='zh')}_${generate_words}
|
||||
projectAssigneeId: ${random.choice(${assignee_ids})}
|
||||
projectAssigneeId: ${project_user}
|
||||
projectDescription: ${generate_paragraph}
|
||||
pmsProductId: ${env_pms_product_id}
|
||||
pmsProjectMemberIds: ${list_to_str(${assignee_ids})}
|
||||
@@ -58,7 +59,7 @@ case_info:
|
||||
title: 企业下编辑项目接口 - 项目名称长度51,编辑失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProject
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -68,7 +69,7 @@ case_info:
|
||||
pmsEnterpriseId: ${env_enterprise_id}
|
||||
id: ${pms_project_id}
|
||||
projectName: ${faker.pystr(max_chars=51)}
|
||||
projectAssigneeId: ${random.choice(${assignee_ids})}
|
||||
projectAssigneeId: ${project_user}
|
||||
files:
|
||||
assert_response:
|
||||
status_code: 200
|
||||
@@ -85,7 +86,7 @@ case_info:
|
||||
title: 企业下编辑项目接口 - 项目名称为空,编辑失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProject
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -95,7 +96,7 @@ case_info:
|
||||
pmsEnterpriseId: ${env_enterprise_id}
|
||||
id: ${pms_project_id}
|
||||
projectName:
|
||||
projectAssigneeId: ${random.choice(${assignee_ids})}
|
||||
projectAssigneeId: ${project_user}
|
||||
files:
|
||||
assert_response:
|
||||
status_code: 200
|
||||
@@ -112,7 +113,7 @@ case_info:
|
||||
title: 企业下编辑项目接口 - 项目简介长度201,编辑失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProject
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -122,7 +123,7 @@ case_info:
|
||||
pmsEnterpriseId: ${env_enterprise_id}
|
||||
id: ${pms_project_id}
|
||||
projectName: ${faker.pystr(max_chars=50)}
|
||||
projectAssigneeId: ${random.choice(${assignee_ids})}
|
||||
projectAssigneeId: ${project_user}
|
||||
projectDescription: ${faker.pystr(max_chars=201)}
|
||||
files:
|
||||
assert_response:
|
||||
@@ -140,7 +141,7 @@ case_info:
|
||||
title: 企业下编辑项目接口 - 结束时间晚于开始时间,编辑失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProject
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -150,7 +151,7 @@ case_info:
|
||||
pmsEnterpriseId: ${env_enterprise_id}
|
||||
id: ${pms_project_id}
|
||||
projectName: ${faker.pystr(max_chars=50)}
|
||||
projectAssigneeId: ${random.choice(${assignee_ids})}
|
||||
projectAssigneeId: ${project_user}
|
||||
projectDescription: ${faker.pystr(max_chars=200)}
|
||||
startTime: ${generate_time_after_week}
|
||||
endTime: ${generate_time(fmt='%Y-%m-%d')}
|
||||
|
||||
@@ -13,7 +13,7 @@ case_info:
|
||||
title: 企业下获取项目列表接口
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProject/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -40,7 +40,7 @@ case_info:
|
||||
title: 企业下获取项目列表接口 - 项目关键字搜索
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProject/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -69,7 +69,7 @@ case_info:
|
||||
title: 企业下获取项目列表接口 - 获取从属于产品的项目
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProject/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -11,13 +11,14 @@ common_dependence:
|
||||
setup:
|
||||
interface:
|
||||
- pms_get_enterprise_user_list_01
|
||||
- pms_get_project_user_list_01
|
||||
|
||||
case_info:
|
||||
- id: pms_new_project_01
|
||||
title: 企业下新建项目接口 - 新建成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProject
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -26,7 +27,7 @@ case_info:
|
||||
payload:
|
||||
pmsEnterpriseId: ${env_enterprise_id}
|
||||
projectName: 新项目 - ${generate_company_name(lan='zh', fix='pre')}_${generate_words}
|
||||
projectAssigneeId: ${random.choice(${assignee_ids})}
|
||||
projectAssigneeId: ${project_user}
|
||||
projectDescription: ${generate_paragraph}
|
||||
pmsProductId: ${env_pms_product_id}
|
||||
pmsProjectMemberIds: ${list_to_str(${assignee_ids})}
|
||||
@@ -55,7 +56,7 @@ case_info:
|
||||
title: 企业下新建项目接口 - 仅填写必填参数,新建成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProject
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -64,7 +65,7 @@ case_info:
|
||||
payload:
|
||||
pmsEnterpriseId: ${env_enterprise_id}
|
||||
projectName: 新项目 - ${generate_company_name(lan='zh', fix='pre')}_${generate_words}
|
||||
projectAssigneeId: ${random.choice(${assignee_ids})}
|
||||
projectAssigneeId: ${project_user}
|
||||
files:
|
||||
assert_response:
|
||||
status_code: 200
|
||||
@@ -85,7 +86,7 @@ case_info:
|
||||
title: 企业下新建项目接口 - 新建项目时关联产品,新建成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProject
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -94,7 +95,7 @@ case_info:
|
||||
payload:
|
||||
pmsEnterpriseId: ${env_enterprise_id}
|
||||
projectName: 新项目 - ${generate_company_name(lan='zh', fix='pre')}_${generate_words}
|
||||
projectAssigneeId: ${random.choice(${assignee_ids})}
|
||||
projectAssigneeId: ${project_user}
|
||||
pmsProductId: ${env_pms_product_id}
|
||||
files:
|
||||
assert_response:
|
||||
@@ -116,7 +117,7 @@ case_info:
|
||||
title: 企业下新建项目接口 - 项目名称长度51,新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProject
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -125,7 +126,7 @@ case_info:
|
||||
payload:
|
||||
pmsEnterpriseId: ${env_enterprise_id}
|
||||
projectName: ${faker.pystr(max_chars=51)}
|
||||
projectAssigneeId: ${random.choice(${assignee_ids})}
|
||||
projectAssigneeId: ${project_user}
|
||||
files:
|
||||
assert_response:
|
||||
status_code: 200
|
||||
@@ -142,7 +143,7 @@ case_info:
|
||||
title: 企业下新建项目接口 - 项目名称为空,新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProject
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -151,7 +152,7 @@ case_info:
|
||||
payload:
|
||||
pmsEnterpriseId: ${env_enterprise_id}
|
||||
projectName:
|
||||
projectAssigneeId: ${random.choice(${assignee_ids})}
|
||||
projectAssigneeId: ${project_user}
|
||||
files:
|
||||
assert_response:
|
||||
status_code: 200
|
||||
@@ -168,7 +169,7 @@ case_info:
|
||||
title: 企业下新建项目接口 - 项目简介长度201,新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProject
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -177,7 +178,7 @@ case_info:
|
||||
payload:
|
||||
pmsEnterpriseId: ${env_enterprise_id}
|
||||
projectName: ${faker.pystr(max_chars=50)}
|
||||
projectAssigneeId: ${random.choice(${assignee_ids})}
|
||||
projectAssigneeId: ${project_user}
|
||||
projectDescription: ${faker.pystr(max_chars=201)}
|
||||
files:
|
||||
assert_response:
|
||||
@@ -195,7 +196,7 @@ case_info:
|
||||
title: 企业下新建项目接口 - 结束时间晚于开始时间,新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProject
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -204,7 +205,7 @@ case_info:
|
||||
payload:
|
||||
pmsEnterpriseId: ${env_enterprise_id}
|
||||
projectName: ${faker.pystr(max_chars=50)}
|
||||
projectAssigneeId: ${random.choice(${assignee_ids})}
|
||||
projectAssigneeId: ${project_user}
|
||||
projectDescription: ${faker.pystr(max_chars=200)}
|
||||
startTime: ${generate_time_after_week}
|
||||
endTime: ${generate_time(fmt='%Y-%m-%d')}
|
||||
|
||||
@@ -10,6 +10,7 @@ case_common:
|
||||
common_dependence:
|
||||
setup:
|
||||
interface:
|
||||
- pms_get_project_user_list_01
|
||||
- pms_get_enterprise_user_list_01
|
||||
|
||||
case_info:
|
||||
@@ -17,7 +18,7 @@ case_info:
|
||||
title: 企业下置顶项目接口
|
||||
run: true
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProject
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -48,7 +49,7 @@ case_info:
|
||||
title: 企业下取消置顶项目接口
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProject
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -20,7 +20,7 @@ case_info:
|
||||
title: 项目内删除测试报告接口
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/testReport/${test_report_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/testReport/${test_report_id}
|
||||
method: delete
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -20,7 +20,7 @@ case_info:
|
||||
title: 项目内编辑测试报告接口 - 负责人
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/testReport
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/testReport
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -51,7 +51,7 @@ case_info:
|
||||
title: 项目内编辑测试报告接口 - 起止时间
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/testReport
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/testReport
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -83,7 +83,7 @@ case_info:
|
||||
title: 项目内编辑测试报告接口 - 报告总结
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/testReport
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/testReport
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -12,7 +12,7 @@ case_info:
|
||||
title: 项目内获取测试报告列表接口
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/testReport/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/testReport/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -40,7 +40,7 @@ case_info:
|
||||
title: 项目内获取测试报告列表接口 - 通过报告名称关键字搜索
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/testReport/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/testReport/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -13,7 +13,7 @@ case_info:
|
||||
title: 项目内新建测试报告接口
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/testReport
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/testReport
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -25,7 +25,7 @@ case_info:
|
||||
title: 项目下获取测试单详情接口
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheet/${test_sheet_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheet/${test_sheet_id}
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 项目下删除测试单接口 - 单个测试单,删除成功
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheet/${test_sheet_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheet/${test_sheet_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -43,7 +43,7 @@ case_info:
|
||||
title: 项目下删除测试单接口 - 多个测试单,删除成功
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheet/${list_to_str(${test_sheet_ids})}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheet/${list_to_str(${test_sheet_ids})}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -26,7 +26,7 @@ case_info:
|
||||
title: 项目下编辑测试单接口 - 更新成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheet
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheet
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -63,7 +63,7 @@ case_info:
|
||||
title: 项目下编辑测试单接口 - 标题为空,更新失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheet
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheet
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -91,7 +91,7 @@ case_info:
|
||||
title: 项目下更新测试单接口 - 标题长度51,更新失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheet
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheet
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -118,7 +118,7 @@ case_info:
|
||||
title: 项目下编辑测试单接口 - 结束时间早于开始时间,更新失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheet
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheet
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -23,7 +23,7 @@ case_info:
|
||||
title: 项目下获取测试单列表接口
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheet/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheet/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -51,7 +51,7 @@ case_info:
|
||||
title: 项目下获取测试单列表接口 - 通过测试单名称关键字搜索
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheet/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheet/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -25,7 +25,7 @@ case_info:
|
||||
title: 查测试单模块树状列表
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheet/treeList
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheet/treeList
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -28,7 +28,7 @@ case_info:
|
||||
title: 获取所有模块未添加到测试单内的测试用例列表
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheetCases/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheetCases/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -60,7 +60,7 @@ case_info:
|
||||
title: 获取已添加到测试单内的测试用例列表
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheetCases/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheetCases/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -19,7 +19,7 @@ case_info:
|
||||
title: 项目下新建测试单接口 - 新建成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheet
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheet
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -57,7 +57,7 @@ case_info:
|
||||
title: 项目下新建测试单接口 - 只输入必填参数,新建成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheet
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheet
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -87,7 +87,7 @@ case_info:
|
||||
title: 项目下新建测试单接口 - 标题为空,新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheet
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheet
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -114,7 +114,7 @@ case_info:
|
||||
title: 项目下新建测试单接口 - 标题长度51,新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheet
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheet
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -140,7 +140,7 @@ case_info:
|
||||
title: 项目下新建测试单接口 - 结束时间早于开始时间,新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheet
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheet
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -35,7 +35,7 @@ case_info:
|
||||
title: 测试单添加测试用例接口 - 添加单个测试用例,添加成功
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheetCases
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheetCases
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -62,7 +62,7 @@ case_info:
|
||||
title: 测试单添加测试用例接口 - 添加多个测试用例,添加成功
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheetCases
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheetCases
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -6,6 +6,7 @@ case_common:
|
||||
- pms
|
||||
- pms_project
|
||||
- project_test_sheet
|
||||
- ddd
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
|
||||
@@ -39,7 +40,7 @@ case_info:
|
||||
title: 执行测试单执行用例接口 - 仅更改用例执行结果,更新成功
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheetCases
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheetCases
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -49,7 +50,6 @@ case_info:
|
||||
id: ${added_testcase_id}
|
||||
testerId: ${random.choice(${project_member_ids})}
|
||||
testStatus: ${random.choice([0,1,2,3,4])}
|
||||
testcaseStepList: ${zip_test_step(${test_case_step_id}, ${test_case_step_status_id})}
|
||||
files:
|
||||
assert_response:
|
||||
status_code: 200
|
||||
@@ -69,7 +69,7 @@ case_info:
|
||||
title: 执行测试单执行用例接口 - 仅更改测试步骤执行结果,更新成功
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheetCases
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheetCases
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -99,7 +99,7 @@ case_info:
|
||||
title: 执行测试单执行用例接口 - 更改测试用例以及步骤执行结果,更新成功
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheetCases
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheetCases
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -129,7 +129,7 @@ case_info:
|
||||
title: 执行测试单执行用例接口 - 参数传递错误,执行失败
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestsheetCases
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestsheetCases
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -26,7 +26,7 @@ case_info:
|
||||
title: 项目下批量编辑测试用例 - 更新成功
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase/batch
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase/batch
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -22,7 +22,7 @@ case_info:
|
||||
title: 项目下删除测试用例接口 - 单个用例,删除成功
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase/${testcase_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase/${testcase_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -45,7 +45,7 @@ case_info:
|
||||
title: 项目下删除测试用例接口 - 多个用例,删除成功
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase/${list_to_str(${testcase_ids})}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase/${list_to_str(${testcase_ids})}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -21,7 +21,7 @@ case_info:
|
||||
title: 项目下编辑测试用例接口 - 仅编辑标题
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -46,7 +46,7 @@ case_info:
|
||||
title: 项目下编辑测试用例接口 - 编辑所有字段
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -88,7 +88,7 @@ case_info:
|
||||
title: 项目下编辑测试用例接口 - 模块传-1, 编辑失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -117,7 +117,7 @@ case_info:
|
||||
title: 项目下编辑测试用例接口 - 用例名称为空, 编辑失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -145,7 +145,7 @@ case_info:
|
||||
title: 项目下编辑测试用例接口 - 用例名称长度31, 编辑失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -173,7 +173,7 @@ case_info:
|
||||
title: 项目下编辑测试用例接口 - 前置条件长度501, 编辑失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -202,7 +202,7 @@ case_info:
|
||||
title: 项目下编辑测试用例接口 - 备注501, 编辑失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -13,7 +13,7 @@ case_info:
|
||||
title: 获取测试用例类型列表接口
|
||||
run: true
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcaseType/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcaseType/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 项目下获取测试用例详情接口
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase/${testcase_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase/${testcase_id}
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 项目下获取测试用例列表接口
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -21,7 +21,7 @@ case_info:
|
||||
title: 项目下新建测试用例接口 - 有所属模块, 新建成功
|
||||
run: true
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -70,7 +70,7 @@ case_info:
|
||||
title: 项目下新建测试用例接口 - 无所属模块, 新建成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -81,7 +81,6 @@ case_info:
|
||||
title: ${generate_paragraph(nb=1)}
|
||||
preconditions: ${generate_words(lan='zh', nb=2)}
|
||||
assigneeGitlinkId: ${${assignee_ids}[0]}
|
||||
tags: ${random.choice(${testcase_tag_ids})}
|
||||
typeId: ${random.choice([1,2,3,4,5,6,7])} # 用例类型 功能测试1 性能测试2 接口测试3 安装部署4 安全相关5 配置相关6 其他7
|
||||
testcaseStepInputVoList:
|
||||
-
|
||||
@@ -110,7 +109,7 @@ case_info:
|
||||
title: 项目下新建测试用例接口 - 模块传-1, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -152,7 +151,7 @@ case_info:
|
||||
title: 项目下新建测试用例接口 - 用例名称为空, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -182,7 +181,7 @@ case_info:
|
||||
title: 项目下新建测试用例接口 - 用例名称长度31, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -212,7 +211,7 @@ case_info:
|
||||
title: 项目下新建测试用例接口 - 前置条件长度501, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -243,7 +242,7 @@ case_info:
|
||||
title: 项目下新建测试用例接口 - 备注501, 新建失败
|
||||
run: True
|
||||
severity: normal
|
||||
url: ${pms_host}/api/pms/pmsProjectTestcase
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectTestcase
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 项目下批量编辑缺陷 - 更新成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/edit/batch?pmProjectId=${env_pms_project_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/edit/batch?pmProjectId=${env_pms_project_id}
|
||||
method: put
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -57,7 +57,7 @@ case_info:
|
||||
title: 项目下批量编辑缺陷- 关联子缺陷, 更新成功
|
||||
run: true
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/edit/batch?pmProjectId=${env_pms_project_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/edit/batch?pmProjectId=${env_pms_project_id}
|
||||
method: put
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 项目下删除缺陷接口 - 删除成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/${project_bug_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/${project_bug_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -43,7 +43,7 @@ case_info:
|
||||
title: 项目下删除缺陷接口 - 多个缺陷,删除成功
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/${list_to_str(${project_bug_ids})}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/${list_to_str(${project_bug_ids})}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 项目下编辑缺陷 - 仅编辑标题,更新成功
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/edit/${project_bug_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/edit/${project_bug_id}
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -42,7 +42,7 @@ case_info:
|
||||
title: 项目下编辑缺陷 - 更新成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/edit/${project_bug_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/edit/${project_bug_id}
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -88,7 +88,7 @@ case_info:
|
||||
title: 项目下编辑缺陷- 关联父缺陷,关联成功
|
||||
run: true
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/edit/${project_bug_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/edit/${project_bug_id}
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -127,7 +127,7 @@ case_info:
|
||||
title: 项目下编辑缺陷 - 取消父子关系,取消成功
|
||||
run: true
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/edit/${project_bug_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/edit/${project_bug_id}
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -13,7 +13,7 @@ case_info:
|
||||
title: 获取缺陷可关联的父缺陷列表
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/optionalParentIssue/${project_bug_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/optionalParentIssue/${project_bug_id}
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -17,7 +17,7 @@ case_info:
|
||||
title: 获取项目下缺陷详情接口
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/${project_bug_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/${project_bug_id}
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 获取项目内缺陷列表接口
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -57,7 +57,7 @@ case_info:
|
||||
title: 获取项目内缺陷列表接口 - 通过缺陷名称关键字搜索
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/list
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/list
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -6,7 +6,6 @@ case_common:
|
||||
- pms
|
||||
- pms_project
|
||||
- project_bug
|
||||
- repeat(1)
|
||||
- usefixtures: gitlink_login
|
||||
|
||||
common_dependence:
|
||||
@@ -21,7 +20,7 @@ case_info:
|
||||
title: 项目下新建缺陷接口 - 新建成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/add
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/add
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -64,7 +63,7 @@ case_info:
|
||||
title: 项目下新建缺陷接口 - 仅输入标题,新建成功
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/add
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/add
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -92,9 +91,9 @@ case_info:
|
||||
|
||||
- id: pms_new_project_bug_children_03
|
||||
title: 项目下新建子级缺陷接口 - 新建成功
|
||||
run: True
|
||||
run: false
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/add
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/add
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -137,9 +136,9 @@ case_info:
|
||||
|
||||
- id: pms_new_project_bug_children_04
|
||||
title: 项目下新建子级缺陷接口 - 仅输入标题新建, 新建成功
|
||||
run: True
|
||||
run: false
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/add
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/add
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -20,7 +20,7 @@ case_info:
|
||||
title: 缺陷下添加评论
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/journals/${project_bug_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/journals/${project_bug_id}
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -52,7 +52,7 @@ case_info:
|
||||
title: 缺陷下添加评论回复
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/journals/${project_bug_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/journals/${project_bug_id}
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -86,7 +86,7 @@ case_info:
|
||||
title: 缺陷下添加评论 - 不上传附件,添加成功
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/journals/${project_bug_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/journals/${project_bug_id}
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -114,7 +114,7 @@ case_info:
|
||||
title: 缺陷下添加评论回复 - 不上传附件,添加成功
|
||||
run: True
|
||||
severity: critical
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/journals/${project_bug_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/journals/${project_bug_id}
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -19,7 +19,7 @@ case_info:
|
||||
title: 缺陷下删除评论 - 删除成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/journals/${project_bug_id}/${bug_journal_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/journals/${project_bug_id}/${bug_journal_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
@@ -45,7 +45,7 @@ case_info:
|
||||
title: 缺陷下删除评论回复 - 删除成功
|
||||
run: True
|
||||
severity: blocker
|
||||
url: ${pms_host}/api/pms/pmsProjectIssues/journals/${project_bug_id}/${bug_journal_reply_id}
|
||||
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProjectIssues/journals/${project_bug_id}/${bug_journal_reply_id}
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user