Fadelis / grpcmock

A gRPC Java testing tool to easily mock endpoints of gRPC services for IT or Unit testing
http://grpcmock.org
Apache License 2.0
144 stars 13 forks source link

Support StubMapping in JSON #19

Closed zheng-wang closed 1 year ago

zheng-wang commented 1 year ago

Hello. Is there currently any plan to support StubMapping like the equivalence in WireMock?

StubMapping enables storing stub definitions/specifications in plain JSONs, and loading them back to set up all the stubs in the mock server. It opens the window for users without Java skills to set up gRPC stubs easily, and opens another window for GUIed tools to integrate/embed the grpcmock framework in their frameworks.

Fadelis commented 1 year ago

Hi @zheng-wang , this is a very similar request to #7 , so I'll close yours. As mentioned there initially I intended this to be used through DSL for unit or IT tests, not as a standalone server. I'll keep this in mind, but currently I don't think that I'll be working on this. Also maybe there are similar projects out there, that probably fit your use case better. Eg. check out https://github.com/Adven27/grpc-wiremock project.