Creating Workspace Alerts

When managing your tests in a BlazeMeter Workspace, you may want notifications when a considerably large test (above your normal requirements) is launched or generated. Workspace Alerts make it easy to generate an e-mail or Slack notification when a member of your workspace performs such an action.

If you want to publish all test activity regardless of test size or duration, that's an option too.

You will require to have 'Admin' user role in the account, or 'Manager' role in the workspace to enter or edit these Alerts.

Create an Alert

  1. To enter the Settings page, click the settings button in the top right corner.
  2. Expand the Workspace section in the desired workspace, and click Alerts.

    Workspace_Alerts01.png

  3. Click the '+' button as per the image above.
    A new window opens.
  4. Fill out the criteria.

    Alert01.png

    Tip: If you want to post alerts to Slack, see the Slack Webhook Tips below.

  5. The alert will be sent out if either the Test Duration OR the Test Concurrency are met or exceeded.
  6. To save the settings, click Create alert.
  7. Your alert appears under the Alerts section.



  8. Use the Validate option to confirm that the new alert works as intended. This action will send a notification to the email address and/or Slack Webhook URL you have entered above.

You have set up an Alert.

Tip: If you want an email or Slack to be notified of all BlazeMeter activity in this Workspace, create an alert with duration set to "0" and concurrency set to "0" and all event boxes checked.

Configure Alerts for Agents

Admins or workspace managers can configure agent alerts so that users can be notified when the free disk space on any agent goes below a defined value.

Follow these steps:

  1. To enter the settings page, click the settings button in the top right corner.
  2. Expand the Workspace section in the desired workspace, and click Alerts.
  3. Click the ‘+’ button. You have an option to add a Test Alert or an Agent Alert.
  4. Select Agent Alert.

    alerts.png


    A new window Create an Agent Alert opens.

    Note: For the Agent Alert option, at least one private location has to be defined in the workspace.

  5. Fill out the criteria.
    a. By default, the alert will be sent in case free disk space goes below 30.00 GB, but the threshold can be changed.
    b. Select a notification channel for the alert: email, Slack or both.
  6. Click Create alert.

    agent-alert.png

  7. Your alert appears under the Alerts section.
  8. Use the Validate option to confirm that the new alert works as intended. This action will send a notification to the email address and/or Slack Webhook URL you have entered above.

    list of alerts


You have set up an Alert.

Slack WebHook URL Tips

  1. For information on how to setup a Slack Webhook URL please refer to this Slack doc.
  2. Be sure to give your webhook a meaningful name and icon when creating the Webhook URL in Slack. You can do this in the "Customize Name" and "Customize Icon" fields in the Slack Incoming Webhooks configuration screen. The default name is "Incoming Webhook" but "BlazeMeter Activity" or the like would be better.
    The default icon looks like this:
    but the BlazeMeter icon will be easier to spot:
  3. Prefer Slack and no emails? Be sure to clear the Email address field above before saving.
  4. Since you can create multiple alert configurations and separate webhooks (each with their own name, icon and channel destination), consider having one alert that publishes all "BlazeMeter Activity" and another that alerts when a "BlazeMeter Large Test" is created or run.