# Endtest

[<mark style="color:blue;">Endtest</mark>](https://www.endtest.io/) is a low code test automation platform providing a complete solution to enable organizations to efficiently build automated end-to-end tests for web and mobile applications.

Route alerts from Endtest to the right users in Squadcast.

### Using Endtest as an Alert Source

1. Navigate to **Services** -> **Service Overview** -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click **Add**.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-0fe7b657e32aa4dc525b39230eeb6f7628304674%2FScreenshot%202022-07-29%20at%2012.09.33%20PM%20\(1\)%20\(1\).png?alt=media\&token=a31a38c5-13c7-4109-a22c-ffb44c420b19)

2. Select **Endtest.** Copy the displayed **Webhook URL** to [configure](#create-a-squadcast-webhook-alert-in-endtest) it within **Endtest.** Finish by clicking **Add Alert Source** -> **Done.**

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-417726f4b4582780b92ff173ea725f96b815cfc8%2Fendtest_1.png?alt=media\&token=00716fdf-fea9-425f-859e-5817daa436b1)

{% hint style="warning" %} <mark style="color:orange;">**Important**</mark>**:**

When an alert source turns <mark style="color:green;">Active</mark>, it’ll show up under Configured Alert Sources. You can either generate a test alert from the integration or wait for a real-time alert to be generated by the Alert Source.\
\
An Alert Source is <mark style="color:green;">active</mark> if there is a recorded incident via that Alert Source for the Service.
{% endhint %}

### Create a Squadcast Webhook Alert in Endtest

**(1)** Login to your **Endtest** dashboard and navigate to either **Web Tests** or **Mobile Tests** section. Under the **Test Suites** of your choice, click on **Settings**

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-84db0c8a320dfec20614b200b44585c85c021f6c%2Fendtest_2.png?alt=media)

**(2)** Under the **Settings** menu, click on **Notifications**. Navigate to **Webhook Notifications** and select **Send only when a test fails**

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-e276cc0ae293dbd1bbf530849d78b2cf2a745140%2Fendtest_3.png?alt=media)

**(3)** Paste the previously copied Squadcast Webhook URL in the placeholder for **Webhook URL**. Then click on **Save**

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-4004a524b50b27e786fb4850b180917eab0f62e5%2Fendtest_4.png?alt=media)

That's it, you are good to go! Your Endtest integration is now complete.

Whenever Endtest fires an alert, an incident will be created in Squadcast for it.

*Have any questions?* [*Ask the community*](https://community.squadcast.com/view/home)*.*
