How to pass main report data source to subreport (JasperReports)?

You can pass datasource via the built-in REPORT_DATA_SOURCE parameter. The example: <subreport> <reportElement x=”261″ y=”25″ width=”200″ height=”100″/> <dataSourceExpression><![CDATA[$P{REPORT_DATA_SOURCE}]]></dataSourceExpression> <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + “subreport.jasper”]]></subreportExpression> </subreport> You can create new instance of datasource based on variable, parameter or field. The sample: <variable name=”HeadingsCollection” class=”java.util.Collection” calculation=”System”> <initialValueExpression><![CDATA[new java.util.ArrayList()]]></initialValueExpression> </variable> … <subreport> <reportElement x=”0″ y=”0″ width=”515″ height=”20″/> <subreportParameter name=”ReportTitle”> <subreportParameterExpression><![CDATA[$P{ReportTitle}]]></subreportParameterExpression> </subreportParameter> … Read more

The type or namespace name ‘Reporting’ does not exist in the namespace ‘Microsoft’

In my case I needed to actually install Microsoft Report Viewer on the troublesome machine. Report Viewer 2010 (version=10) Report Viewer 2012 (version=11) Report Viewer 2015 Of course, other ones are available, it can be worked out which from the Version= on the dll which one is needed. In my case I needed version 11 … Read more

How can I prevent Java from creating hsperfdata files?

Try JVM option -XX:-UsePerfData more info The following might be helpful that is from link https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html -XX:+UsePerfData Enables the perfdata feature. This option is enabled by default to allow JVM monitoring and performance testing. Disabling it suppresses the creation of the hsperfdata_userid directories. To disable the perfdata feature, specify -XX:-UsePerfData.

How to analyze a JMeter summary report?

Short explanation looks like: Sample – number of requests sent Avg – an Arithmetic mean for all responses (sum of all times / count) Minimal response time (ms) Maximum response time (ms) Deviation – see Standard Deviation article Error rate – percentage of failed tests Throughput – how many requests per second does your server … Read more