test-manager
2023.10
false
- 入门指南
- 项目管理
- 项目操作和实用程序
- Test Manager 设置
- ALM 工具集成
- API 集成

Test Manager 用户指南
上次更新日期 2025年8月25日
Test Manager 提供了 Webhook,允许外部工具订阅 Test Manager 中的事件。
目前,支持以下事件。
- “创建缺陷” :只要用户从测试用例结果调用“创建缺陷”任务,就会触发此事件。 它允许外部缺陷管理工具接收包含测试结果日志信息的缺陷报告。
- Defect KPIs: This event is invoked when the defect KPIs on the Test Manager dashboard are refreshed. This allows to include statistics from external defect management systems to be displayed on the Test Manager dashboard.
Test Manager 使用以下有效负载触发已注册的 Webhook:
Use the Test Manager REST API to fetch details about the failed test to add information to the created defect.
Request:
CreateDefectFromTestCaseLogRequest{
testExecutionId string($uuid)
testCaseId string($uuid)
variationId string
nullable: true
linkToTestCaseLog string
nullable: true
}
Response:
Returns a defect payload to allow Test Manager to add a link to the created defect in the test case log.
Request:
CreateDefectFromTestCaseLogRequest{
testExecutionId string($uuid)
testCaseId string($uuid)
variationId string
nullable: true
linkToTestCaseLog string
nullable: true
}
Response:
Returns a defect payload to allow Test Manager to add a link to the created defect in the test case log.
Test Manager 使用以下有效负载触发已注册的 Webhook:
Request:
api/kpis/project/<projectid>/defectstatus
Response:
KPIConnectorDefectsDto{
totalDefects integer($int32)
criticalDefects integer($int32)
moderateDefects integer($int32)
openDefects integer($int32)
closedDefects integer($int32)
status ConnectorKPIStatusstring
Enum:
Array [ 3 ]
criticalDefectsLink string
nullable: true
}
Request:
api/kpis/project/<projectid>/defectstatus
Response:
KPIConnectorDefectsDto{
totalDefects integer($int32)
criticalDefects integer($int32)
moderateDefects integer($int32)
openDefects integer($int32)
closedDefects integer($int32)
status ConnectorKPIStatusstring
Enum:
Array [ 3 ]
criticalDefectsLink string
nullable: true
}
管理 WebHook 连接
下表列出了可以用来管理 WebHooks 连接的操作。
操作 |
描述 |
程序 |
---|---|---|
编辑 |
编辑连接设置。 |
|
删除 |
删除选定的连接及其关联的要求。 |
|
相关文章