Simulate API failures, throttling, and chaos — all from your command line.
See the codeDev Proxy
Dev Proxy is an API simulator that helps you test how your app handles errors, throttling, and slow responses, without changing a single line of code. Dev Proxy is a command-line tool that works on any platform. Because it intercepts network requests, it works with any language, framework, and API.
Dev Proxy is open source and free to use.
You test the happy path. Your users get the rest. What if the APIs you use fail or throttle you? Will your app lose your customers' data? How do you test for this? Simulating API failures is hard. You end up writing code that you won't be shipping or worse: not testing at all. That's why we built Dev Proxy, to simulate API errors so that you can easily test your app without changing your code.
With Dev Proxy you:
Install Dev Proxy using the command for your operating system.
Windows (after the installation finishes, open a new terminal):
winget install DevProxy.DevProxy --silent
macOS:
brew tap dotnet/dev-proxy
brew install dev-proxy
Linux (after the installation finishes, run the source command the installer prints, or open a new terminal):
bash -c "$(curl -sL https://aka.ms/devproxy/setup.sh)"
Download the preset for the API your app calls, and start Dev Proxy with it:
devproxy config get github-rate-limiting
devproxy --config-file "~dataFolder/configs/github-rate-limiting/.devproxy/devproxyrc.json"
| API | Preset |
|---|---|
| GitHub | github-rate-limiting |
| OpenAI | openai-throttling |
| Anthropic | anthropic-throttling |
| Microsoft Graph | microsoft-graph-rate-limiting |
The first time you start Dev Proxy, trust its certificate so that it can intercept HTTPS requests. On Linux, you need to trust the certificate manually. Our tutorial walks you through these steps.
Then, run your app as usual. It keeps calling the real API URLs, and Dev Proxy simulates the API's rate limits and errors. Find presets for other APIs in the samples gallery.
This project is supported by the .NET Foundation.
1,186 followers · starred Jan 2025
417 followers · starred Jul 2025
144 followers · starred May 2024
883 followers · starred Sep 2025
Simulate API failures, throttling, and chaos — all from your command line.
See the codeDev Proxy
Dev Proxy is an API simulator that helps you test how your app handles errors, throttling, and slow responses, without changing a single line of code. Dev Proxy is a command-line tool that works on any platform. Because it intercepts network requests, it works with any language, framework, and API.
Dev Proxy is open source and free to use.
You test the happy path. Your users get the rest. What if the APIs you use fail or throttle you? Will your app lose your customers' data? How do you test for this? Simulating API failures is hard. You end up writing code that you won't be shipping or worse: not testing at all. That's why we built Dev Proxy, to simulate API errors so that you can easily test your app without changing your code.
With Dev Proxy you:
Install Dev Proxy using the command for your operating system.
Windows (after the installation finishes, open a new terminal):
winget install DevProxy.DevProxy --silent
macOS:
brew tap dotnet/dev-proxy
brew install dev-proxy
Linux (after the installation finishes, run the source command the installer prints, or open a new terminal):
bash -c "$(curl -sL https://aka.ms/devproxy/setup.sh)"
Download the preset for the API your app calls, and start Dev Proxy with it:
devproxy config get github-rate-limiting
devproxy --config-file "~dataFolder/configs/github-rate-limiting/.devproxy/devproxyrc.json"
| API | Preset |
|---|---|
| GitHub | github-rate-limiting |
| OpenAI | openai-throttling |
| Anthropic | anthropic-throttling |
| Microsoft Graph | microsoft-graph-rate-limiting |
The first time you start Dev Proxy, trust its certificate so that it can intercept HTTPS requests. On Linux, you need to trust the certificate manually. Our tutorial walks you through these steps.
Then, run your app as usual. It keeps calling the real API URLs, and Dev Proxy simulates the API's rate limits and errors. Find presets for other APIs in the samples gallery.
This project is supported by the .NET Foundation.
1,186 followers · starred Jan 2025
417 followers · starred Jul 2025
144 followers · starred May 2024
883 followers · starred Sep 2025