Hello,
I am using Gatling 3.13.5 with Maven and the gatling-grpc-java module.
We are performing a gRPC call that retrieves an attachment (~7β10 MB).
When running the test with Gatling, we receive:
RESOURCE_EXHAUSTED: gRPC message exceeds maximum size 4194304
However, the same call works correctly with tools like Kreya, so the server seems to be functioning properly.
The gRPC protocol is created as follows:
GrpcProtocolBuilder protocol = grpc.forAddress(configProperties.getGrpcHost(), configProperties.getGrpcPort())
.useInsecureTrustManager();
return scn.injectOpen(CustomInjectionStrategy.createOpenInjectionStep(scenario)).protocols(protocol);
From the error, it appears that the default client maxInboundMessageSize (4MB) is being enforced.
However, I cannot find any way in the Java DSL to configure maxInboundMessageSize (e.g. via channel builder customization).
Is there currently a supported way to configure maxInboundMessageSize when using the Java DSL?
Thank you in advance.