The RPTReport extension point

 

+

Search Tips   |   Advanced Search

 

Use this extension point to define performance testing reports installed with RPTv8 and are available for "Restore to default."

Elements and attributes of the RPTReport extension point...

Elements and attributes Description
Report A performance testing report definition. Can be a part of a ReportGroup; however, any report that applies only to a specific protocol should be assigned to that protocol report group.
path Provider plug-in relative path to the .view file that defines the performance report, for example:

    /reports/my_report.view
menuText A localized string for the Report menu item (for example, "Display Performance Report"). Localize this string using the "%" prefaced key. When this string is retrieved from the extension, the localized value from the plug-in resource bundle is provided. Refer to the example that follows in this topic.
icon Plug-in root-relative path to an icon used with the menu of this report, for example: /icons/my_icon.gif
restrictToPostRun To have this report available only after the run has completed, set this Boolean variable to "true."
id A unique identifier for this report.
PostRunGenerator Implies restrictToPostRun. If a report requires post-run processing (for example, a Percentile report that calculates its data based on the entire test run), this attribute can specify an implementor of PostRunReportGenerator. Refer to the example that follows in this topic.
isTemplate

this attribute is not currently available.

ReportGroup Grouping for protocol-specific reports. Results in a drop-down menu labeled with text provided in menuText. All protocol-specific reports must have a protocol group.
menuText Text that labels the protocol group drop-down menu. Should be localized using the "%" prefaced key.
capability_id

This attribute is not currently available.

defaultReportID The ID of the default report for the protocol associated with this group.
protocol_id The ID of the protocol to which this ReportGroup applies.

The following example shows an RPTReport extension point.

<Report menuText="%DISPLAY_TRANS_REPORT_LABEL"
        icon="icons/elcl16/trans_report.gif"
        path="reports/Transaction Report.view"
        id="com.ibm.rational.test.lt.execution.results.transactions"/>

 <ReportGroup menuText="%HTTP_REPORTS">

  <Report menuText="%DISPLAY_PERF_REPORT_LABEL"
          icon="icons/report_default.gif"
          path="reports/default.view"
          id="com.ibm.rational.test.lt.execution.results.performance"/>

  <Report menuText="%PAGEEL_REPORT"
          icon="icons/elcl16/pageelem_report.gif"
          path="reports/Page Element Report.view"
          id="com.ibm.rational.test.lt.execution.results.pageelement"/>

  <Report restrictToPostRun="true"
         menuText="%PERCENTILE_REPORT"
         icon="icons/report_percent.gif"
         path="reports/Percentile Report.view"
         PostRunGenerator="com.ibm.rational.test.lt.execution.results.view.controller.PercentileReportController"
         id="com.ibm.rational.test.lt.execution.result.percentile"/>

  <Report menuText="%VP_REPORT"
             icon="icons/report_vp.gif"
             path="reports/Verification Point Report.view"
             id="com.ibm.rational.test.lt.execution.results.vp"/>

 </ReportGroup>