Hi. Does anybody know how to use <wiremock-grpc-ex...
# help
u
Hi. Does anybody know how to use wiremock-grpc-extension as server streaming? I believe we can do so, because ExampleServices.proto has server streaming rpc method. I have a .proto file like below.
Copy code
message testRequest {
  string id = 1;
}
message testResponse {
  oneof Content {
    uint32 status = 1;
    string result = 2;
    string log    = 3;
  }
}
service TestService {
  rpc Test(testRequest) returns (stream testResponse) {}
}
t
You can do server streaming, but it’s quite limited in that at the moment it just streams a single message - the one defined in the stub’s response.
👀 1
u
Thank you Tom! I will use another solution.