I am trying to run some kind of integration tests on a gradle custom plugins. Those tests download jar/wars on a local maven repository. However the test usually die while generating the html report that is bigger than 1GB for 2 strange reasons: - first, it seems that the whole report is stored in memory before being write on the disk. Is that normal ? - then (the biggest issue) it seems that the whole files content is logged into the html report via org.apache.httpclient.wire stuff. I did not manage to remove those logs, even after googling the issue and read a lot of stackoverflow topics about that.
We had issues with the default verbosity of org.apache.http logging. The most important consequence was that it took the Jenkins JUnit publisher 11 minutes to process the output. When we reconfigured test logging, that dropped back to 20 seconds.
We use the slf4j bridges and logback. So for us, the solution was to configure org.apache.http to WARN in src/test/resources/logback.xml.