Managing the webhook template configuration

You can manage the webhook template configuration that you set on HCL OneTest Server when you want to edit, duplicate, delete the existing webhook templates, or create new templates.

Before you begin

You must have completed the following tasks:

Procedure

  1. Log in to HCL OneTest Server.

    The team space that contains your project is displayed.

  2. Click Active projects > My projects > project_name to open the project that contains the test assets.

    The Overview page of the project is displayed.

  3. Click Manage > Webhooks in the navigation pane.
    The TEMPLATES tab of Webhooks is displayed.
  4. Click the TEMPLATES tab.
  5. Perform the tasks indicated in the following table:
    Task Action
    Configuring a webhook template Click the New Template option to configure a webhook template. See Configuring a webhook template
    Editing a webhook template Perform the following steps to edit the webhook template:
    1. Click the Edit template icon edit icon.

      The Edit template page is displayed.

    2. In the Details tab, you can enter a new name for the webhook template or select any other value for the options.
    3. In the Templates tab, you can also edit or select a template based on the channel type that you selected on the Details tab.
    4. Click Apply.

      The edited template is saved to the TEMPLATES tab.

    Cloning a webhook template Perform the following steps to duplicate the webhook template:
    1. Click the Duplicate template icon duplicate icon.

      The Duplicate template page is displayed.

    2. In the Details tab, you can edit or modify the values by entering a new name for the webhook template, by selecting a Channel Type, or Events.
    3. In the Templates tab, you can edit or select other webhook templates based on the channel type that you selected on the Details tab.
    4. Click Apply.

      The cloned webhook template is added to the TEMPLATES tab.

    Deleting a webhook template

    Perform the following steps to delete the webhook template:

    1. Click the Delete Template icon delete.

      The Delete template confirmation dialog is displayed.

    2. Select the I understand template deletion is permanent checkbox, and then click Delete.

      The webhook template is removed from the template list.

Results

You achieved the following results:
  • Edited and saved a webhook template configuration.
  • Cloned a webhook template configuration.
  • Deleted a webhook template configuration.