@Test
    void largeUnary_grpcWeb() throws Exception {
        final SimpleRequest request =
                SimpleRequest.newBuilder()
                             .setResponseSize(314159)
                             .setResponseCompression(CompressionType.GZIP)
                             .setResponseType(COMPRESSABLE)
                             .setPayload(Payload.newBuilder()
                                                .setBody(ByteString.copyFrom(new byte[271828])))
                             .build();
        final SimpleResponse simpleResponse =
                SimpleResponse.newBuilder()
                              .setPayload(Payload.newBuilder()
                                                 .setType(COMPRESSABLE)
                                                 .setBody(ByteString.copyFrom(new byte[314159])))
                              .build();
        final TestServiceBlockingStub stub =
                GrpcClients.newClient(server.httpUri(GrpcSerializationFormats.PROTO_WEB),
                                      TestServiceBlockingStub.class);
        assertThat(stub.unaryCall(request)).isEqualTo(simpleResponse);
    }
Must be at least {@link #unaryPayloadLength()}, plus some to account for encoding overhead.
grpc/src/test/java/com/linecorp/armeria/client/grpc/GrpcClientTest.java