Hello team, i'm trying to use wire mock for grpc, ...
# wiremock-java
m
Hello team, i'm trying to use wire mock for grpc, getting
Copy code
failed: io.grpc.StatusRuntimeException: UNKNOWN: HTTP status code 200
invalid content-type: null
headers: Metadata(:status=200,grpc-status-name=OK,matched-stub-id=15e246a4-7484-45e8-9d09-33265398dcc5)
DATA-----------------------------
{
  "xx": "1123",
  "xxx": "123"
}
DATA-----------------------------
] with root cause 
io.grpc.StatusRuntimeException: UNKNOWN: HTTP status code 200
invalid content-type: null
headers: Metadata(:status=200,grpc-status-name=OK,matched-stub-id=15e246a4-7484-45e8-9d09-33265398dcc5)
DATA-----------------------------
{
  "xx": "1123",
  "xxx": "123"
}
DATA-----------------------------
stub
Copy code
final WireMockServer wm = new WireMockServer(wireMockConfig()
                .port(port)
                .extensions(new GrpcExtensionFactory())
        );
        wm.start();
        final String url = ""
        final WireMock wireMock = new WireMock(url, wm.port());

        mockPaymentService = new WireMockGrpcService(
                wireMock,
                "service"
        );
        mockPaymentService.stubFor(method("method")
                .willReturn(message(Object)));
its spring boot 3, i'm using the standalone wiremock and wiremock-grpc-extension-jetty12 any idea what is wrong?