TEST_P(ProtocolIntegrationTest, HeaderOnlyBytesCountUpstream) {
  if (downstreamProtocol() != Http::CodecType::HTTP2) {
    return;
  }
  useAccessLog("%UPSTREAM_WIRE_BYTES_SENT% %UPSTREAM_WIRE_BYTES_RECEIVED% "
               "%UPSTREAM_HEADER_BYTES_SENT% %UPSTREAM_HEADER_BYTES_RECEIVED%");
  testRouterRequestAndResponseWithBody(0, 0, false);
  expectUpstreamBytesSentAndReceived(BytesCountExpectation(251, 38, 219, 18),
                                     BytesCountExpectation(168, 13, 168, 13),
                                     BytesCountExpectation(153, 5, 155, 3));
}
TEST_P(ProtocolIntegrationTest, HeaderOnlyBytesCountUpstream) {
  if (downstreamProtocol() != Http::CodecType::HTTP2) {
    return;
  }
  useAccessLog("%UPSTREAM_WIRE_BYTES_SENT% %UPSTREAM_WIRE_BYTES_RECEIVED% "
               "%UPSTREAM_HEADER_BYTES_SENT% %UPSTREAM_HEADER_BYTES_RECEIVED%");
  testRouterRequestAndResponseWithBody(0, 0, false);
  expectUpstreamBytesSentAndReceived(BytesCountExpectation(251, 38, 219, 18),
                                     BytesCountExpectation(168, 13, 168, 13),
                                     BytesCountExpectation(153, 5, 155, 3));
}