Contact Free trial Login

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.

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.