We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I wrote my service, and decided to test it:
service TestService { rpc Foo(Request) returns (google.protobuf.BoolValue) { } rpc Bar(Request) returns (Response) { } } message Request { } message Response { bool value = 1; }
console.info("GRPC response code: " + response.status + ", response body: " + JSON.stringify(response.message)); console.info(`${subMethod} Response: ${JSON.stringify(response)}`) INFO[0000] GRPC response code: 0, response body: {} source=console INFO[0000] Foo Response: {"message":{},"error":null,"headers":{"content-type":["application/grpc"]},"trailers":{},"status":0} source=console INFO[0000] GRPC response code: 0, response body: {"value":false} source=console INFO[0000] Bar Response: {"message":{"value":false},"error":null,"headers":{"content-type":["application/grpc"]},"trailers":{},"status":0} source=console
Actually, this is the problem. Google/protobuf/wrappers.proto support is not implemented in K6
v0.44.1
all
No response
rpc Foo(Request) returns (google.protobuf.BoolValue) { }
client.connect(api_url, { plaintext: true, reflect: true, timeout: params.timeout, maxReceiveSize: 300000 }); response = client.invoke(method, body, params) console.info(`${subMethod} Response: ${JSON.stringify(response)}`);
INFO[0000] Bar Response: {"message":"false","error":null,"headers":{"content-type":["application/grpc"]},"trailers":{},"status":0} source=console
INFO[0000] Bar Response: {"message":"","error":null,"headers":{"content-type":["application/grpc"]},"trailers":{},"status":0} source=console
The text was updated successfully, but these errors were encountered:
Original community support request: https://community.grafana.com/t/the-grpc-response-message-is-empty/99813/7
Sorry, something went wrong.
olegbespalov
Successfully merging a pull request may close this issue.
Brief summary
I wrote my service, and decided to test it:
Actually, this is the problem. Google/protobuf/wrappers.proto support is not implemented in K6
k6 version
v0.44.1
OS
all
Docker version and image (if applicable)
No response
Steps to reproduce the problem
Expected behaviour
INFO[0000] Bar Response: {"message":"false","error":null,"headers":{"content-type":["application/grpc"]},"trailers":{},"status":0} source=console
Actual behaviour
INFO[0000] Bar Response: {"message":"","error":null,"headers":{"content-type":["application/grpc"]},"trailers":{},"status":0} source=console
The text was updated successfully, but these errors were encountered: