TEST_P(ProtocolIntegrationTest, HeaderAndBodyWireBytesCountUpstream) {
  // we only care about upstream protocol.
  if (downstreamProtocol() != Http::CodecType::HTTP2) {
    return;
  }
  useAccessLog("%UPSTREAM_WIRE_BYTES_SENT% %UPSTREAM_WIRE_BYTES_RECEIVED% "
               "%UPSTREAM_HEADER_BYTES_SENT% %UPSTREAM_HEADER_BYTES_RECEIVED%");
  testRouterRequestAndResponseWithBody(100, 100, false);
  expectUpstreamBytesSentAndReceived(BytesCountExpectation(371, 158, 228, 27),
                                     BytesCountExpectation(277, 122, 168, 13),
                                     BytesCountExpectation(256, 109, 153, 3));
}
TEST_P(ProtocolIntegrationTest, HeaderAndBodyWireBytesCountUpstream) {
   
  if (downstreamProtocol() != Http::CodecType::HTTP2) {
    return;
  }
  useAccessLog("%UPSTREAM_WIRE_BYTES_SENT% %UPSTREAM_WIRE_BYTES_RECEIVED% "
               "%UPSTREAM_HEADER_BYTES_SENT% %UPSTREAM_HEADER_BYTES_RECEIVED%");
  testRouterRequestAndResponseWithBody(100, 100, false);
  expectUpstreamBytesSentAndReceived(BytesCountExpectation(371, 158, 228, 27),
                                     BytesCountExpectation(277, 122, 168, 13),
                                     BytesCountExpectation(256, 109, 153, 3));
}