Testing an Alert Rule

Testing an Alert Rule

The Test Rule feature lets you simulate your alert rule against current monitoring data to see what it would trigger — without creating a real incident or sending notifications.


How to Test a Rule

  1. In the left sidebar, click Alerts, then Alert Rules.
  2. Click the rule you want to test.
  3. Click Test Rule on the rule detail page.

PulseAPI evaluates the rule against the current state of all monitors in scope. A summary appears showing:

  • Which monitors would currently trigger the rule
  • The current value of the metric (response time, status code, uptime %, SSL expiry days) for each monitor
  • Whether the rule would fire for each monitor

What the Test Does (and Doesn't Do)

Does:

  • Evaluates the rule condition against current real data
  • Shows you which monitors meet the threshold right now
  • Helps you calibrate thresholds before saving

Does not:

  • Create an incident
  • Send notifications to your channels
  • Affect the rule's cooldown timer
  • Appear in check history

Using Test to Calibrate Thresholds

The test feature is especially useful when setting response time thresholds. If you run the test on a new rule set to "> 500ms" and you see 30 monitors matching, that threshold is too low for your fleet — it would generate constant noise. Raise it until only the monitors you actually care about alerting on appear in the results.

Similarly for uptime rules: if a "< 99.9%" rule shows no monitors in the test result, consider whether the threshold is meaningful for your current data.


Related Articles


Still have questions? Contact support.

    • Related Articles

    • Creating an Alert Rule

      This article walks you through creating an alert rule in PulseAPI. Alert rules define when PulseAPI creates an incident and sends notifications. Prerequisites: At least one notification channel must exist before you can assign it to a rule. See ...
    • Testing a Notification Channel

      Before relying on a notification channel to deliver real alerts, send a test notification to confirm it's working. This article explains how. How to Send a Test Notification In the left sidebar, click Alerts. Click Notification Channels. Find the ...
    • Enabling and Disabling Alert Rules

      You can enable or disable any alert rule without deleting it. A disabled rule doesn't evaluate checks or create incidents, but its configuration is preserved for when you need it again. Disabling a Rule In the left sidebar, click Alerts, then Alert ...
    • Why Am I Not Receiving Alert Notifications?

      If your monitor goes down but you didn't receive an alert, work through this checklist to find the cause. Most cases have a simple fix. Checklist 1. Does an incident actually exist? Check Incidents in the left sidebar. If no incident was created for ...
    • Alert Rule Conditions: Response Time

      A response time alert rule fires when a check takes longer than a threshold you define. This article explains how to configure response time rules and recommends sensible starting thresholds. How It Works After every check, PulseAPI records the ...