diff --git a/src/main/java/vn/zalopay/benchmark/core/ClientCaller.java b/src/main/java/vn/zalopay/benchmark/core/ClientCaller.java index f566c10f..9033d937 100644 --- a/src/main/java/vn/zalopay/benchmark/core/ClientCaller.java +++ b/src/main/java/vn/zalopay/benchmark/core/ClientCaller.java @@ -112,7 +112,7 @@ public boolean isTerminated() { public String buildRequest(String jsonData) { try { requestMessages = Reader.create(methodDescriptor.getInputType(), jsonData, registry).read(); - return JsonFormat.printer().print(requestMessages.get(0)); + return JsonFormat.printer().includingDefaultValueFields().print(requestMessages.get(0)); } catch (Exception e) { shutdownNettyChannel(); throw new RuntimeException("Caught exception while parsing request for rpc", e);