- Démarrage
- Gestion de projet
- Opérations et utilitaires de projet
- Paramètres de Test Manager
- Intégration de l'outil de gestion du cycle de vie des applications (ALM)
- Intégration de l'API
Test Manager fournit des webhooks qui permettent aux outils externes de s'abonner aux événements dans Test Manager.
Actuellement, les événements suivants sont pris en charge.
- 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 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.
Contrats
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.
Créer un défaut
Test Manager déclenche des webhooks enregistrés avec la charge utile suivante :
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.
ICP défectueux
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
}
Configurer une connexion de webhook
-
Connectez-vous à Test Manager en tant qu'administrateur.
-
Ouvrez votre projet.
-
Navigate to Project Settings > Integration.
-
Click New Connection and select WebHook from the dropdown.
-
Configurez les paramètres de connexion au service suivants :
-
Name: Enter a name for your WebHook connection.
-
Description (facultatif) : ajoutez une description pour référence.
-
Payload URL: Add the endpoint server URL. For example:
https://company-name-serverRegion.cloudapp.azure.com. -
Authentication Header Type: Select a hashing method between
Client SecretandHMACSHA256. -
Secret: Enter your client secret value.
-
Allow Insecure SSL: Choose whether to allow endpoints with insecure SSL connections.
-
Supports Defect Dashboard: Choose if KPIs needs to be shown in the project dashboard.
-
-
Cliquez sur Enregistrer (Save).
-
Cliquez sur la connexion pour développer le panneau et copier la clé API pour une utilisation ultérieure.
Gestion des connexions WebHooks
Le table suivante répertorie les actions que vous pouvez effectuer pour gérer vos applications.
| Action | Description | Procédure |
|---|---|---|
|
Modifier (Edit) |
Modifiez vos paramètres de connexion. |
|
|
Supprimer (Delete) |
Supprime la connexion sélectionnée et ses exigences associées. |
|
Articles associés