Hi Team ,
how to connect to gRPC protocol using DevTest ?
Can you elaborate whether you want to use gRPC in Service Virtualization or in Application Test?
For Service Virtualization, gRPC is based on HTTP v2 and there is currently no support in the HTTPS Listen Step for this, a virtual service will fail when an HTTP/2 client tries to connect to it.
For Application Test, there might be some possibilities here, but it all depends on your requirements. Without any practical knowledge of using it, just extrapolating from the little I know:
A REST STEP will connect using HTTP v1.1, however an HTTP/2 service built according to standards should be able to accept an HTTP v1.1 connection. That gives some possibilities for the connection but you won’t be able to test any of the HTTP/2 capabilities of the service (like Data compression of HTTP headers, HTTP/2 Server Push, Multiplexing multiple requests over single connection, etc…). For the payload, it uses Google’s “protocol buffers”, and there are java libraries available, so you could manipulate these in a Execute Script step. So, given our restriction to HTTP v1.1 I would say that potentially we could do functional testing of the SUT.
If you would make more use of Execute Script steps , also for the connection, then you could also implement some of the HTTP/2 features.
Retrieving data ...