gRPC Support
Problem to solve
I have been using Hurl extensively so far to test internal REST services. Now we are switching to gRPC and since I have not read any mention about it in the Hurl docs I am afraid that it is not supported and we will have to migrate to another tool. I am asking if there is currently support for gRPC and if so is there any idea of supporting it. Thank you very much for the great work to all of you on the Hurl team.
Hi @luigibarbato
For the moment, we haven't begun any work on gRPC, but we've this in the roadmap. I don't know gRPC at all but maybe the current version of Hurl could work with gRPC+JSON exchanges (I've not tested it yet). A complete support + doc is our aim, a reasonable timeframe will be S2 of 2025. If you switch to another tool more suited to your need, could you update the issue with the tool name? It will serve us as a starting point when we'll begin the gRPC studies.
// If you switch to another tool more suited to your need, could you update the issue with the tool name? like grpcurl
// If you switch to another tool more suited to your need, could you update the issue with the tool name? like grpcurl
Hi @njuptlzf
Do you know if grpcurl supports test on HTTP response?
@jcamiel grpcurl is a generic CLI gRPC client and it doesn't come with any testing/response validation capabilities.
@jcamiel Adding some other resources for referece
- https://github.com/ktr0731/evans
It supports
REPLandCLImode. Written in Go. (unmaintained) - https://github.com/grpc-ecosystem/polyglot A grpc command-line client written in Java. (unmaintained)
- https://learn.microsoft.com/en-us/aspnet/core/grpc/test-tools Documentation from ASP.NET showing how to test grpc services useing grpcurl
- https://github.com/grpc/grpc/blob/master/test/cpp/util/grpc_cli.cc CLI tool from grpc's main repo, written in C. (There is also a doc for it)
@sify21 thanks a lot very helpful
I use httpyac