Integrating Loadster with Webhooks

Webhooks are a flexible way to integrate Loadster with all kinds of applications and external systems. You can provide Loadster with a URL of your choosing, and Loadster will send an HTTP POST to it when something important happens.

Enabling Webhooks in Loadster

Go to the Integrations page of your Loadster dashboard. Click the Enable Webhook button in the Webhook section.

You’ll be prompted for four URLs, all of them optional.

  • Monitor Fails Webhook URL, if you’d like to be notified whenever a monitor fails
  • Monitor Recovers Webhook URL, if you’d like to be notified when a monitor was failing but recovers
  • Load Test Started Webhook URL, if you’d like to be notified whenever a load test starts
  • Load Test Finished Webhook URL, if you’d like to be notified whenever a load test finishes

You can enter the same URL in all of these, or different URLs, or leave them blank.

Loadster will send an HTTP POST request to these URLs whenever the relevant thing happens. The payload will be a JSON object that includes details about what happened.

The webhook request is usually sent within seconds but if the request fails for whatever reason, Loadster will retry it periodically until it succeeds. Your webhook endpoint must respond with an HTTP 2xx status to be considered a success.

Getting Help With Webhooks

We’re happy to assist you if you have any trouble integrating with webhooks. Get in touch at help@loadster.app if there’s any way we can help!