-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mocking gRPC Servers #67
Comments
@aperezg |
Hi @monicagangwar, Thanks for your interest in contributing!! 🙏 IMHO, in order to be able to take a decision, I'd analyze the approach used by some of the already existing gRPC mocking solutions (see the list below as suggestions):
Then, we'll be able to take a meaningful decision together. Thanks!!! |
Hey there, I've been using killgrave for testing and it is awesome, but that gRPC support would be amazing. I've been looking that examples that provided @joanlopez. Also, that would be a good approach: https://hub.docker.com/r/salrashid123/grpc_curl/ What do you think about? |
Looking forward to work on your suggestions about parsing the raw requests. Thanks!! 🙏🏻 😇 |
I've been looking for setup a grpc server, listen requests and try to unmarshall them into an empty interface, but i couldn't get it work... |
Hey there! The idea is to build the FileDescriptor of the given proto file, and dinamically register server and methods. This allows to know types about requests and responses and encode/decode them correctly. Also, I see that the project is a bit inactive. How do you see keep going with this? |
Hey @cunyat,
It has been a bit inactive, right. Unfortunately, mix of both work and personal duties forced us slow down the activity on this project. However, I'm glad to be able to say that: "we're back!". Since last few weeks we already started to work on a set of new features that I hope (at least a few) will be available by the end of the year.
At first glance, I'd say your PoC looks really well! Let me give it a try and I'll reach you back in few weeks. |
Context
Killgrave was born like an easy way to create mocks servers to HTTP APIs, so the philosophy of Killgrave was to make mocking easy and accessible to as many people as possible.
But now not only we have the HTTP APIs, there a lot of project that using gRPC to create theirs communications, so will be very interesting that find a way to do the
Killgrave
the way to mocking agRPC
server.Proposed implementation
We will need to differentiate between an
HTTP
orgRPC
server is calling, also we want to maintain the way to do the thing easy, so we need to find a solution that was easy to understand to everyone, so if it possible we want to continue usingjson
to configure theimposters
for thegRPC
server.Also we need that the
config.yml
could work forHTTP
orgRPC
If you have any propose, please let us know.
The text was updated successfully, but these errors were encountered: