@Test public void virtualizedReport() throws JRException, NoSuchAlgorithmException, IOException { HashMap<String, Object> params = new HashMap<String, Object>(); JRGzipVirtualizer virtualizer = new JRGzipVirtualizer(3); params.put(JRParameter.REPORT_VIRTUALIZER, virtualizer); report.runReport(params); }