- Introdução
- Studio
- Orchestrator
- Testing Robots
- Test Manager
- Integrações CI/CD
Webhooks
Test Manager provides webhooks that allow external tools to subscribe to events in Test Manager.
Atualmente, os seguintes eventos são suportados.
- Criar Defeito: este evento é acionado sempre que um usuário invoca a tarefa "Criar Defeito" a partir de um resultado de caso de teste. Permite que ferramentas de gerenciamento de defeitos externas recebam relatórios de defeitos com informações de log de resultados de testes.
- 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.
Nesta seção, você pode encontrar os detalhes do payload de solicitação e resposta para cada evento.
O Test Manager dispara webhooks registrados com o seguinte payload:
Use a API REST do Test Manager para obter detalhes sobre o teste com falha para adicionar informações ao defeito criado.
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 fires registered webhooks with the following payload:
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
}
Gerenciando conexões de WebHooks
A tabela a seguir lista as ações que você pode adotar para gerenciar suas conexões do WebHook.
Ação |
Description |
Procedimento |
---|---|---|
Editar |
Edite suas configurações de conexão. |
|
Excluir |
Exclua a conexão selecionada e seus requisitos associados. |
|
Artigos relacionados