WireMock Cloud Now Supports gRPC APIs

Ethan Jones
Head of Product
October 2, 2024

We're thrilled to announce that WireMock Cloud has expanded our powerful API mocking and prototyping capabilities to support gRPC. Everyone here has looked forward to supporting gRPC for quite a long time, and we’re pretty stoked it’s finally here.

gRPC support brings the same flexibility, efficiency, and ease of use that you've enjoyed with OpenAPI to your gRPC-based projects.


What WireMock Cloud Is For


WireMock Cloud is the market leader for real API mocking. When we say real API mocking, we mean stateful mocking with external data sources, dynamic response, body matching, failure modes and more – everything that turns a mock API into a real virtualized service. 

The workflow is straightforward: define your API's behaviour, generate stubs automatically from your API specifications, and share these mocks with your team. Even though the approach is simple, the impacts are profound: less idle time for developers, feedback earlier in the process, no more maintaining cumbersome and expensive sandboxes, and a ramped-up cycle time. 

How gRPC Teams Will Benefit


With the addition of gRPC support, teams using gRPC can now take full advantage of WireMock Cloud’s API mocking and virtualization power. Whether you're dealing with complex message structures or streaming data, WireMock has you covered. 

This means faster development cycles, easier integration testing, and fewer bottlenecks in your workflow. gRPC teams can now prototype APIs in minutes, mock services for testing, and run parallel development workflows just like their RESTful counterparts.

WireMock Cloud’s gRPC support also means that your gRPC schemas can be easily integrated into your existing API testing and development workflows. No more switching between tools or relying on less-than-ideal workarounds—everything you need is now in one place.

Configuring gRPC with WireMock Cloud

Setting up gRPC support in WireMock Cloud is a straightforward process that allows you to get your gRPC APIs up and running in no time. Here’s a quick summary to help you configure gRPC in just a few steps:

Define your gRPC services: Start by defining your gRPC services using a .proto file. This file specifies the service methods, request, and response types for your gRPC API.

  • Upload your proto file to WireMock Cloud: Navigate to the WireMock Cloud console and upload your .proto file. WireMock Cloud will automatically generate stubs based on the service definitions and message types in your proto file.
  • Set up mock responses: In the WireMock Cloud interface, you can now create mock responses for your gRPC service methods. You can define the expected request data and configure the corresponding responses, including error scenarios if needed.
  • Integrate and test: Use the mock gRPC server in your tests or during development. You can run integration tests, simulate different scenarios, and validate your gRPC-based application’s behavior without needing access to the actual backend.

For more information, read the gRPC documentation here.

Try It Now

Ready to see how WireMock Cloud can transform your gRPC API development? 

Sign up today and experience the seamless integration, speed, and efficiency that WireMock brings to your workflow. Plus, with our free tier, you can start mocking and prototyping gRPC APIs at no cost.

Give it a try and see why WireMock is the go-to tool for API developers worldwide!

For more information and to get started, visit WireMock's official site.

/

Latest posts

Have More Questions?