Testing an API Alert

This procedure describes how to test a request count alert. This procedure requires the following preparation:

  1. Design an API.

  2. Publish the API to Exchange.

  3. In API Manager, manage the API from Exchange.

  4. Deploy a proxy of the API instance to CloudHub.

  5. Apply the Rate Limiting Policy to the API as follows: Request Count greater than 1 for at least 1 consecutive minute.

  6. Add the alert described in the topic about how to add an alert.

  7. Call the API.

  8. Recall the API two more times (reload the page). Check that API calls exceeded appears if you called and recalled the API within the 1 minute period. Any additional page reload operations within the 1 minute period have no effect.

  9. Check that users, who you selected for email notification when you added the alert, actually receive email notifications.

  10. Check that the alert was resolved.

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub
Submit your feedback!
Share your thoughts to help us build the best documentation experience for you!
Take our latest survey!