UiPath Documentation
test-manager
latest
false
Guide de l'utilisateur de Test Manager
Important :
La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Supported webhook events

Request and response payload details for the Create Defect and Defect KPIs webhook events.

The following events are supported.

  • Create Defect: This event is triggered whenever a user invokes the "Create Defect" task from a test case result. It allows external defect management tools to receive defect reports with log information from test results.
  • Defect KPIs: This event is invoked when the defect key performance indicators (KPIs) on the Test Manager dashboard are refreshed. This lets you include statistics from external defect management systems to be displayed on the Test Manager dashboard.

Dans cette section, vous pouvez trouver les détails de la charge utile de la demande et de la réponse pour chaque événement.

Create Defect event​

Test Manager déclenche des webhooks enregistrés avec la charge utile suivante :

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.

The Test Manager REST API lets you fetch details about the failed test to add information to the created defect.

Defect KPIs event​

Test Manager déclenche des webhooks enregistrés avec la charge utile suivante :

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
}
  • Create Defect event​
  • Defect KPIs event​

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour