Skip to content

Notifications

notifications-menu

The notification page displays the list of notifications configured. It is accessible from the left menu. A notification is a message sent to an external system when a test reaches a particular status referred to as an Event.

Tip

Notifications can be used along with scheduled tests to keep track of automated tests.

Notifications page

notifications-list

There are several types of notification available:

Here's an example notification for a test start and end:

demo@octoperf.com - TEST_STARTED demo, with 100 concurrent users, for 10 min, in regions Paris
demo@octoperf.com - TEST_ENDED demo ended with status: FINISHED
Hits = 36146.00 hits, Errors = 5.00 errors, % Errors = 0.01 % errors, Avg Elapsed = 1.71 sec, Total Throughput = 138.15 MB,  Alarms: [WARNING]

As you can see you also get basic statistics along with the TEST_ENDED message.

Notification list

notifications-list

This list shows all the existing notifications in this workspace.

Info

The search functions are detailed in this section of the navigation page.

Action Description
Add notification This will create a new notification in the current workspace.
Delete notification Removes a Notification. This operation cannot be reverted so proceed with caution.

Add a Notification

Create-notification

You can select the notification type from this menu. Further instructions on each notification type can be found below:

Warning

Once selected the notification type cannot be changed.

Edit a Notification

Email

The email notification will simply send a direct mail on every event that triggers it.

Slack integration

If you want to receive a PDF report with your email you can activate the option and configure the report options.

Slack

You will need to configure an incoming webhook in slack. The procedure can be found in their documentation.

Slack integration

For this example we have:

  • The Token given by slack during the webhook creation T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX,
  • The user that created the webhook is named Demo,
  • Has an #octoperf channel and Demo can post into it.

Note

The token is considered a secret and as such is not displayed in our UI.

Microsoft Teams

You need to configure an incoming webhook in Microsoft Teams. The procedure can be found in their documentation.

MS integration

To create the notification in OctoPerf, simply provide the Teams Webhook URL.

Google

You need to configure an incoming webhook in Google Chat. The procedure can be found in their documentation.

Google integration

To create the notification in OctoPerf, simply provide the Google chat Webhook URL.

Webex

You need to configure an incoming webhook in Webex using the Incoming Webhooks app. Once created, Webex gives you a webhook URL in the following form:

https://webexapis.com/v1/webhooks/incoming/<incoming_url>

Webex integration

To create the notification in OctoPerf, copy the <incoming_url> part at the end of that address into the Incoming URL field. This value identifies the Webex space that will receive your notifications.

Note

The Incoming URL is considered a secret and as such is not displayed in our UI.

Jira

A Jira notification keeps your board in sync with your load tests by commenting on and moving issues as tests run. It works with both Jira Cloud and Jira Data Center.

JIRA integration

Configuring Jira involves two steps: connecting to your Jira instance, then choosing which board and issues are involved. Because there are several options, this is covered in its own guide:

HTTP

Slack integration

The HTTP Notification allows you to send the notification to any API or compatible Webhook. It is possible to pass custom headers in order to send authentication information.

Events

The events define what events are sent for each configuration:

Event Description
Test started The test has been launched. Note that this event only logs that a test has been queued for startup, not that is successfully started.
Test ended The test has stopped. There can be a number of reasons for a test to stop, check our dedicated Test status page for more info.
Test error The test was unable to launch, usually because an on premise load generator is down. Check the test logs for more info.
Test passed The test has finished with no critical alert.
Test failed The test has finished but a monitoring alert triggered, an SLA triggered or the error rate was higher than octoperf.notifications.max-percent-errors (5% is the default on the SaaS platform).

Filters

notification-filter

Filter the tests that will trigger notifications based on:

  • Test duration,
  • Number of concurrent users,
  • Scenario name.

This setting is a good way to target notifications on a specific type of test.

Remove a notification

remove-notification

You can remove one or several notifications using the list.

Warning

Notifications cannot be restored, be careful when removing them.

Test notification

When you click the test button, a dummy notification is sent:

dummy-notification

If you do not receive it, double check your notification configuration.