This document focuses on the various reports within TPTP that were created using the Business Intelligence and Reporting Tools (BIRT) project. These reports include reports for test execution histories, trace information and common base event logging. The reader should have an understanding of the test, logging, profiling and monitoring infrastructure provided by the TPTP project before reading this document.
1.1 Installing TPTP BIRT reports
2.0 Viewing and Understanding the Test Pass Report
2.1 Viewing and Understanding the Trace Report
2.2 Viewing and Understanding the Common Base Event Logging Report
3.0 Replacing Existing TPTP Reports
3.1 Modifying the Test Pass Report
3.2 Modifying the Trace Report
3.3 Modifying the Common Base Event Logging Report
TPTP report wizard extension point was exploited to provide a set of BIRT reports for test execution history, trace and Common Base Event logging models. A set of report templates were created using the BIRT report designer. These report template files are bound to the corresponding TPTP models to visualize the information as a report. Various charts and tables help organize the data so that end users can find trends and analyze the data.
Follow the steps below to install the TPTP BIRT reports:
- Click on the 'Latest Downloads' link from TPTP's home page: http://www.eclipse.org/tptp
- Select the version and the build that you wish to download. The BIRT reports were introduced in TPTP 4.1.0.1. Select a build corresponding to TPTP 4.1.0.1+.
- Once a desired build is selected, find and download the following items:
- TPTP Runtime or SDK (ALL - Which includes Platform, Monitoring Tools, Tracing and Profiling Tools, and Testing Tools)
- Obtain all items listed under 'Requirements'
- Click on the 'Download' link from BIRT's home page http://www.eclipse.org/birt
- The report templates were created using BIRT 2.0. Select a build corresponding to BIRT 2.0+.
- Once you find the desired build download the following items:
- BIRT Report Designer.
- Obtain items listed under 'Requirements'. Note: Apache Axis, IText and prototype.js are not necessary to generate the TPTP reports. These dependencies are required to create report template files using the BIRT report designer.,
Viewing the Test Pass Report
The following steps assume that the user has gone through the phases of creating and running a set of test suites. The user is now ready to generate a report base on the test execution history data.
- Open the Test perspective: Window > Open Perspective > Other... Select the "Test" item from the list of perspectives.
- Select the test elements you want to generate a report on. The report will generate information associated with all test executions associated with the specified list of test elements.
- Right click the selection and select the "Report..." menu item.
- Select the "HTML Test pass report (BIRT)" from the list. Then click "Next".
- On the next page specify the location where to store the html report. Then click "Next".
- On the next page specify a time interval. The report will consist of test executions that have run between this time interval. Then click "Finish".
- The report will be shown to the user.
Understanding the Test Pass Report
The following table outlines the structure of the Test Pass report.
| Report Section | Notes | Image | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Overview |
|
![]() |
||||||||
| Overview Table |
|
![]() |
||||||||
| Details |
|
![]() |
Viewing the Trace Pass Report
- Open the Profiling and Logging perspective: Window > Open Perspective > Other... Select the "Profiling and Logging" item from the list of perspectives.
- In the "Profiling Monitor" view. Select a Monitor, Host, Process or Agent you want to generate a report on. The report will generate information associated with the selected element.
- Right click the selection and select the "Report..." menu item.

- Select the "HTML trace report (BIRT)" from the list. Then click "Next".
- On the next page specify the location where to store the html report. Then click "Finish".
- The report will be presented to the user.
Understanding the Trace Report
The following table outlines the structure of the Trace report.
| Report Section | Notes | Image |
|---|---|---|
| Heap Overview |
|
![]() |
|
Execution Overview |
|
![]() |
| Heap Details |
|
![]() |
| Execution Details |
|
![]() |
The following steps assume that the user has imported a log file. The user is now ready to generate a report base on the Common Base Event log information.
- Open the Profiling and Logging perspective: Window > Open Perspective > Other... Select the "Profiling and Logging" item from the list of perspectives.
- In the "Log Navigator" view. Select a log file that has been imported.
- Right click the selection and select the "Report..." menu item.
- Select the "HTML Top 10 Report by Event Severity (BIRT)" from the list. Then click "Next".
- On the next page specify the location where to store the html report. Then click "Finish".
- The report will be shown to the user.
Understanding the Common Base Event Logging Report
The following table outlines the structure of the Common Base Event Logging report.
| Report Section | Notes | Image | ||||||
|---|---|---|---|---|---|---|---|---|
| Overview chart |
|
![]() |
||||||
| Pie charts |
|
![]() |
||||||
| Details |
|
![]() |
One of the advantages of creating reports using the BIRT infrastructure is that the presentation information (i.e. layout of report items, font color, font size, etc.) is separated from the raw model data. TPTP fully exploits this concept and creates report template files using the BIRT report designer. The report template files contain the presentation information that bind to a XML data source. This XML data source contains the raw model data whether that is trace information, Common Base Event logging information or test execution information.

The report template files are deployed in various plug-ins within TPTP. It is possible to modify these files using the BIRT report designer and redeploy the modified files in the TPTP runtime. All the template files are bound to the xml representation of the trace, test execution and Common Base Event logging data.
To modify the existing test pass report the report template file must be extracted from the TPTP runtime and sample XML test execution data must be generated. The sample XML data is not necessary but will be helpful to the user modifying the report template file. The Test Pass template file is called "TestExecution.rptdesign" which is located under the "templates" directory in the "org.eclipse.tptp.test.report.birt.ui" plug-in. A XML representation of test execution history data can be generated using the reporting wizard as follows. The steps assume that the test data is already imported in the workspace.
- Open the Test perspective: Window > Open Perspective > Other... Select the "Test" item from the list of perspectives.
- Select the test elements you want to generate a XML report on.
- Right click the selection and select the "Report..." menu item.
- Select the "XML Test Report" from the list. Then click "Next".
- On the next page specify the location where to store the XML file. Then click "Next".
- On the next page specify a time interval. The file will consist of test executions that have run between this time interval. Then click "Finish".
The next step is to get the BIRT report designer and open the report template file.
- Click on the Downloads' link from BIRT's home page: http://www.eclipse.org/birt
- Select the version and the build that you wish to download. Note that the report template files were created using BIRT 2.0.
- Once a desired build is selected, find and download the following items:
- RCP Report Designer
- Obtain all items listed under 'Requirements'
- Open the "TestExecution.rptdesign" file in the RPC Report Designer.
- The data source should be configured to point to the xml data that was generated in the previous steps. Select the "Test Execution" data source in the data explorer.
-
Right click the selection and select the "Edit" menu item.

- Modify the URL for the XML source. Change the URL to the location of the XML file generated in
the previous steps.

-
Select the preview pane to make sure that the report is bound to the generated XML file.

- The report template file is now ready to be modified. For more information about the report designer refer to the help files.
- Once the modifications have been completed the new "TestExecution.rptdesign" file can be redeployed to the TPTP runtime by overriding the file stored under the "templates" directory in the "org.eclipse.tptp.test.report.birt.ui" plug-in.
- The report wizard description for this report can be modified by modifying a couple of entries
in the plugin.properties file. This file is stored under the
"org.eclipse.tptp.test.report.birt.ui" plug-in directory. The following properties
contain the name and description of the report.
BIRT_TEST_REPORT_NAME = HTML Test pass report (BIRT)
BIRT_TEST_REPORT_DESC = Create a report with only the most recent execution results for each selected test within a specified period of time.
To modify the existing trace report the report template file must be extracted from the TPTP runtime and sample XML trace data must be generated. The sample XML data is not necessary but will be helpful to the user modifying the report template file. The Trace template file is called "TraceReport.rptdesign" which is located under the "templates" directory in the "org.eclipse.tptp.trace.report.birt.ui" plug-in. A XML representation of trace data can be generated using the reporting wizard as follows. The steps assume that the trace data is already imported in the workspace.
- Open the Profiling and Logging perspective: Window > Open Perspective > Other... Select the "Profiling and Logging" item from the list of perspectives.
- In the "Profiling Monitor" view. Select a Monitor, Host, Process or Agent you want to generate a report on. The report will generate information associated with the selected element.
- Right click the selection and select the "Report..." menu item.
- Select the "XML trace statistics report" from the list. Then click "Next".
- On the next page specify the location where to store the XML file. Then click "Finish".
The next step is to get the BIRT report designer and open the report template file.
- Click on the Downloads' link from BIRT's home page: http://www.eclipse.org/birt
- Select the version and the build that you wish to download. Note the report template files were created using BIRT 2.0.
- Once a desired build is selected, find and download the following items:
- RCP Report Designer
- Obtain all items listed under 'Requirements'
- Open the "TraceReport.rptdesign" file in the RPC Report Designer.
- The data source should be configured to point to the xml data that was generated in the previous steps. Select the "Trace Data Source" data source in the data explorer.
-
Right click the selection and select the "Edit" menu item.

- Modify the URL for the XML source. Change the URL to the location of the XML file generated in
the previous steps.

-
Select the preview pane to make sure that the report is bound to the generated XML file.

- The report template file is now ready to be modified. For more information about the report designer refer to the help files.
- Once the modifications have been completed the new "TraceReport.rptdesign" file can be redeployed to the TPTP runtime by overriding the file stored under the "templates" directory in the "org.eclipse.tptp.trace.report.birt.ui" plug-in.
- The report wizard description for this report can be modified by modifying a couple of entries
in the plugin.properties file. This file is stored under the
"org.eclipse.tptp.trace.report.birt.ui" plug-in directory. The following properties
contain the name and description of the report.
BIRT_TRACE_REPORT_NAME = HTML trace report (BIRT)
BIRT_TRACE_REPORT_DESC = Generate a html report that shows the top 10 trace statistics
To modify the existing Common Base Event logging report the report template file must be extracted from the TPTP runtime. Currently sample XML data cannot be generated. The Common Base Event logging template file is called "LogReport.rptdesign" which is location under the "templates" directory in the "org.eclipse.tptp.monitoring.report.birt.ui" plug-in.
The next step is to get the BIRT report designer and open the report template file.
- Click on the Downloads' link from BIRT's home page: http://www.eclipse.org/birt
- Select the version and the build that you wish to download. Note the report template files were created using BIRT 2.0.
- Once a desired build is selected, find and download the following items:
- RCP Report Designer
- Obtain all items listed under 'Requirements'
- Open the "LogReport.rptdesign" file in the RPC Report Designer.
- The report template file is now ready to be modified. For more information about the report designer refer to the help files.
- Once the modifications have been completed the new "LogReport.rptdesign" file can be redeployed to the TPTP runtime by overriding the file stored under the "templates" directory in the "org.eclipse.tptp.monitoring.report.birt.ui" plug-in.
- The report wizard description for this report can be modified by modifying a couple of entries
in the plugin.properties file. This file is stored under the
"org.eclipse.tptp.monitoring.report.birt.ui" plug-in directory. The following properties
contain the name and description of the report.
BIRT_LOG_REPORT_DESCRIPTION= Generate a html report that shows the top 10 sub components by event severity
BIRT_LOG_REPORT_NAME= HTML Top 10 Report by Event Severity (BIRT)









