def METHOD_NAME(self):
    """
    Should put request and response in the output
    when requested.
    """
    self.render_config_template(
        http_ports=[8888],
        http_send_response=True,
        http_send_request=True,
    )
    self.run_packetbeat(pcap="wsgi_loopback.pcap")
    objs = self.read_output()
    assert len(objs) == 1
    assert "request" in objs[0]
    assert "response" in objs[0]