FauxRPC

FauxRPC is a powerful tool that empowers you to accelerate development and testing by effortlessly generating fake implementations of gRPC, gRPC-Web, Connect, and REST services. If you have an OpenAPI or Protobuf-based workflow, this tool can help.


Try FauxRPC in Your Browser

Edit the Protobuf or OpenAPI definition below and see how FauxRPC generates realistic fake data in real-time.

Schema Definition
Valid
FauxRPC Output (JSON)

Why choose FauxRPC?

Generate schema-aware mock APIs without writing a backend implementation.

speed

Accelerate Development

Unblock client-side and frontend teams by providing an instant, mock backend.

rule

Improve Test Reliability

Create stable and predictable test environments with configurable mock data and stubs.

auto_awesome

Realistic Data Mocking

Generate OpenAPI response bodies and headers or Protobuf messages that respect schema constraints.

api

OpenAPI Support

Serve HTTP operations, validate requests, load conditional stubs, and browse interactive API documentation.

settings_ethernet

Flexible and Extensible

Support for multiple protocols and dynamic schema loading to fit your workflow.

thumb_up

Easy to Use

Get started quickly with an interactive dashboard and simple configuration.

integration_instructions

Testcontainer Support

(go only) Superpower your integration tests by using FauxRPC with Testcontainers.

Dashboard screenshot

Dashboard

FauxRPC includes a web dashboard that provides real-time insights into your server’s operations, including request logs, response previews, and configuration settings.

  • insightsSee an overview of server activity
  • speedView real-time request logs
  • schemaView the schema of your loaded protobuf files
Dynamic Data Generation

Dynamic Data Generation

FauxRPC generates schema-shaped OpenAPI responses and Protobuf messages without real backend data.

  • auto_awesomeAutomatically generated fake data for all fields.
  • httpGenerate response headers declared by OpenAPI operations.
  • ruleAugments responses with protovalidate rules to ensure data integrity.
  • check_circleEnforces protovalidate constraints in responses.
Configurable Stubs

Configurable Stubs

Define custom responses for OpenAPI operations and Protobuf RPC calls, giving you control over specific test scenarios.

  • get_appDefine static data for predictable responses.
  • cloud_downloadLoad stubs dynamically from an external API for more complex scenarios.
  • settingsEasily configure and manage your stubs through a simple interface.
  • tuneStubs can be activated based on request parameters for more granular control.
Multi-Protocol Support

Multi-Protocol Support

FauxRPC is designed to work seamlessly with your existing infrastructure, supporting a wide range of protocols.

  • hubFull support for gRPC, including server reflection.
  • webCompatibility with gRPC-Web for browser-based applications.
  • sync_altSupport for the Connect protocol.
  • httpNative OpenAPI HTTP operations and REST transcoding through google.api.http annotations.
Dynamic Schema Loading

Flexible Schema Loading

Load OpenAPI and Protobuf schemas from local and remote sources through one option.

  • folderLoad OpenAPI YAML/JSON and Protobuf descriptors from files or directories.
  • sensorsFetch schemas using gRPC reflection for live services.
  • dynamic_feedDynamically reconfigure the schema on-the-fly.