Forum Discussion
- NDyukovOccasional Contributor
repaired:
language="groovy" -> "java"
+ <parameter name="MySubReport2" class="com.eviware.soapui.reporting.reports.support.ExportableJRBeanCollectionDataSource"/>
Now there is no error, but the report is generated empty
???
- NBorovykhModerator
Hello,
Do you have a reference to your DataSink in the report template?
Example:
<dataSourceExpression>$P{YourDataSinkName}</dataSourceExpression>
<subreportExpression class="java.lang.String">"subreport:MySubReport2"</subreportExpression>More info on this can be found here: https://support.smartbear.com/readyapi/docs/testing/reports/datasink/printable.html
- NDyukovOccasional Contributor
judging by the documentation: https://support.smartbear.com/readyapi/docs/configure/plugins/dev/annotations/misc/subreport.html
SubReport creates a custom SubReport data source to provide custom data for reporting.
I would like to use it as a data source.
How can the native data source be used in the jasper report? (for example in the documentation)
- NDyukovOccasional Contributor
in the report script on the testcase, executed the report.getSubReports (). each {log.info it}.
List of objects created subreport:com.eviware.soapui.reporting.reports.common.ModelItemPropertiesSubReportFactory$ModelItemPropertiesSubReport@37bc45c9
com.eviware.soapui.reporting.reports.common.TestPropertiesSubReportFactory$TestPropertiesSubReport@204df4f8
com.eviware.soapui.reporting.reports.common.MetricsSubReportFactory$MetricsSubReport@4921f480
com.eviware.soapui.reporting.reports.common.ReportPropertiesSubReportFactory$ReportPropertiesSubReport@7e70c878
com.eviware.soapui.reporting.reports.testcase.TestStepsSubReportFactory$TestStepsSubReport@2b375872
com.eviware.soapui.reporting.reports.testcase.TestCaseRequirementsSubReportFactory$TestCaseRequirementsSubReport@649293d8
com.eviware.soapui.reporting.reports.testcase.TestStepResultsSubReport@22d1fe3e
com.eviware.soapui.reporting.reports.testcase.FailedTestStepsSubReportFactory$FailedTestStepsSubReport@5a1ac114
com.eviware.soapui.reporting.reports.testcase.TestCaseJUnitSubReportFactory$TestCaseJUnitSubReport@4bffe6ed
com.eviware.soapui.reporting.reports.testcase.TestCaseResultSubReportFactory$TestCaseResultMetricsSubReport@3b83a019
com.eviware.soapui.reporting.reports.testcase.TestCaseDataSinkSubReportFactory$DataSinkStepsSubReport@160e9959
com.eviware.soapui.reporting.reports.coverage.TestCaseCoverageSubReportFactory$TestCaseCoverageSubReport@1a10e8ed
com.smartbear.ready.reporting.reports.testcase.TestStepParametersSubReport@2eecadccMySubReport is not in the list, accordingly the object of my plugin is not initialized. Because of what it can be?
Related Content
- 12 years ago
Recent Discussions
- 16 hours ago
- 8 days ago