Microsoft Teams Integration

You can set up a workflow in Microsoft Teams to post API Monitoring notifications to a designated channel.

Microsoft Workflow has replaced Microsoft Connector. The updated procedure for connecting Teams to API Monitoring takes effect on December 18, 2024.
If you have an existing Teams integration set up, modify it instead of creating a new one to avoid manually re-enabling the integration for your current tests. For instance, if a Teams integration is used in 50 tests, creating a new integration would require manually enabling it for each test. To modify your current integration, go to Connected Services > Existing Services and click the Edit icon next to the integration you wish to update.

Setting up a Microsoft Teams Workflow

Follow these steps:

  1. Log in to your Microsoft Teams account. We recommend creating a new channel for API Monitoring notifications, as sometimes people in different teams might be interested in being notified of any API errors.
  2. Choose which channel you want to send notifications to. Right-click or click the ". . ." symbol, and select Workflows.

  3. Search for webhook and select the Post to a channel when a webhook request is received template.

  4. Provide a name for the webhook and ensure it is connected to the right account. Select Next.

  5. Select the correct Microsoft Teams team and channel, the select Add workflow.

  6. Copy the workflow URL that Microsoft Teams generated for you.

Setting up the BlazeMeter API Monitoring Integration

Follow these steps:

  1. Go to your BlazeMeter API Monitoring account. Log in, click your profile picture on the top-right and select Connected Services.
    API Monitoring connected services
  2. You should see all the integration options available for your API Monitoring account. Look for the Microsoft Teams options and click Connect Microsoft Teams.
    API Monitoring connected services, Microsoft Teams option
  3. In the next page there are three fields.
    • Workflow URL: paste the URL you got from the Microsoft Teams webhook configuration here.
    • Channel Name: you can add multiple Microsoft Team connections to the same API Monitoring account. The name can help you distinguish between multiple connections.
    • Notifications: select when you want to be notified after test runs are completed.
      API Monitoring integration setup
  4. After you fill out all the fields, click Connect Account.

Activate Notifications for Tests

Follow these steps:

  1. Go to the API tests you want to monitor in your API Monitoring account, and select Editor on the left-hand side.
  2. Click your environment settings to bring down the full options menu, and select Integrations.
  3. Click the toggle for the Microsoft Teams service we just connected.API Monitoring environment settings, integrations toggle

If you chose to get a notification whenever your test runs are completed, click Run Now and you should see a notification pop-up in your Microsoft Teams channel.

Having trouble configuring Microsoft Teams? Contact our Support team.