Skip to main content
Dev Proxy

Simulate rate limiting on APIs published on Azure API Management

Last modified on February 5, 2025

This sample contains a preset to simulate the rate limit policy for an API published on Azure API Management. Azure API Management allows you to define rate limits for your APIs to prevent abuse and ensure that your APIs are available for all consumers. The rate limit policy allows you to define the number of requests that can be made to an API within a specified time window. When the rate limit is exceeded, the API returns a 429 Too Many Requests response.

View on GitHub Download from GitHub

References

Get started with the Dev Proxy

The tutorial will introduce you to the Dev Proxy and show you how to use its features.

Use preset configurations

Instructions on how to configure the Dev Proxy to use a different configuration file.

RateLimitingPlugin documentation

The documentation of the RateLimitingPlugin for the Dev Proxy.

Azure API Management rate limit policy reference

Rate limit policy documentation for Azure API Management