Edit

Share via


What is Dev Proxy?

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:

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