Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Dev Proxy is an API simulator that helps you effortlessly test your app beyond the happy path.
You test your app to make sure it works as intended. But what if the APIs you use fail? Will your app lose your customer's 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:
- See how your app responds to API errors, without changing your app's code, so that you can build more robust apps and don't lose customers' data.
- Verify how your app handles API rate limits, so that you can avoid getting throttled and improve the user experience for your customers.
- See how your app handles slow APIs, so that you can implement the necessary affordances, and make your app more user-friendly.
- Quickly stand-up mock APIs without writing a line of code, so that you can focus on building your app instead of writing code you won't be shipping.
- Improve your app with contextual guidance on how you use APIs, to make your app even better.
Dev Proxy is a command-line tool that works on any platform. Because it intercepts network requests, it works with any type of app and tech stack. Dev Proxy is open source and free to use.
Who is Dev Proxy for?
Dev Proxy helps developers who:
- Build apps that call APIs - Test resilience without changing your code
- Build apps with Microsoft Graph - Get guidance on permissions and best practices
- Design APIs - Prototype and mock APIs before implementation
- Automate testing - Integrate chaos testing into CI/CD pipelines
When to use Dev Proxy
Use Dev Proxy when you need to:
- Test API resilience without modifying your application code
- Work with any tech stack (browser, Node.js, .NET, Python, etc.)
- Simulate failures for APIs you don't control
- Get guidance on Microsoft Graph best practices
- Automate chaos testing in CI/CD pipelines
Consider other approaches when:
- You only need in-browser mocking for frontend unit tests
- You're building the API and need contract testing
- You need to modify request/response bodies programmatically (Dev Proxy can do this, but dedicated tools may be simpler)
Quick start by scenario
Choose your path based on what you want to accomplish:
| What do you want to do? | Time | Guide |
|---|---|---|
| Test my app handles API errors | 5 min | Test with random errors |
| Mock an API that doesn't exist yet | 10 min | Simulate a CRUD API |
| Check my Microsoft Graph permissions | 10 min | Detect minimal permissions |
| Understand what APIs my app calls | 5 min | Discover URLs to watch |
| Automate API testing in CI/CD | 15 min | Use Dev Proxy in CI/CD |
How does your app handle API errors?
See also
- Set up Dev Proxy - Installation and first run
- Configure Dev Proxy - Customize to your needs
- How-to guides - Task-oriented guides
- Technical reference - Plugin documentation