hurl icon indicating copy to clipboard operation
hurl copied to clipboard

gRPC Support

Open luigibarbato opened this issue 1 year ago • 7 comments

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.

luigibarbato avatar Nov 18 '24 14:11 luigibarbato

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.

jcamiel avatar Nov 18 '24 15:11 jcamiel

// If you switch to another tool more suited to your need, could you update the issue with the tool name? like grpcurl

njuptlzf avatar Apr 14 '25 03:04 njuptlzf

// 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 avatar Apr 14 '25 12:04 jcamiel

@jcamiel grpcurl is a generic CLI gRPC client and it doesn't come with any testing/response validation capabilities.

jwadolowski avatar Apr 23 '25 10:04 jwadolowski

@jcamiel Adding some other resources for referece

  • https://github.com/ktr0731/evans It supports REPL and CLI mode. 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 avatar Oct 05 '25 13:10 sify21

@sify21 thanks a lot very helpful

jcamiel avatar Oct 05 '25 15:10 jcamiel

I use httpyac

talgat-ruby avatar Nov 10 '25 00:11 talgat-ruby