Wishmock is a gRPC and Connect RPC mock server (v0.9.9, released monthly) with hot reload, rule-based responses, built-in protovalidate support, and native gRPC-Web without a proxy. It runs as a global CLI, auto-creates project structure, and features a Web UI, Admin API, and MCP server for AI integration. Compared to alternatives like grpc-mock, it offers Connect RPC support and TLS/mTLS out of the box.
npm install wishmockNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install Wishmock globally, create a project directory, start the server, and test with grpcurl or the Admin API.
Use match.request["user.age"] instead of match.request.user.age (though some parsers may accept both).
Set environment variables GRPC_PORT_PLAINTEXT=50050 and CONNECT_PORT=50052 explicitly if upgrading from an older version.
Rename GRPC_PORT to GRPC_PORT_PLAINTEXT in your configuration.
Always create a rule file (e.g., rules/grpc/hello.greeter.sayhello.yaml) defining the response body.
Upgrade Node.js to version 18 or later.
Run 'npm install -g wishmock' and ensure npm global bin directory is in your PATH.
Install wishmock globally or use 'npx wishmock' for one-off execution.
Set GRPC_PORT_PLAINTEXT to an available port, e.g., 'GRPC_PORT_PLAINTEXT=50051 wishmock'.
Check the proto definition and ensure the rule matches the correct field names.
Quote keys with dots in the match block: match.request["user.age"].
No dependency data recorded yet.