The k6/net/grpc module, added in k6 v0.29.0, provides a gRPC client for Remote Procedure Calls (RPC) over HTTP/2.
The k6 gRPC API is currently considered in beta and is subject to change. Future k6 versions might have slight differences in the method and type signatures described in this documentation.
|gRPC client used for making RPC calls to a gRPC Server.
|Loads and parses the given protocol buffer definitions to be made available for RPC requests.
|Connects to a given gRPC service.
|Client.invoke(url, request [,params])
|Makes an unary RPC for the given service/method and returns a Response.
|Close the connection to the gRPC service.
|RPC Request specific options.
|Returned by RPC requests.
|Define constants to distinguish between gRPC Response statuses.
k6 takes specific measurements for gRPC requests. For the complete list, refer to the Metrics reference.