 | How to customize reports
By now, you have seen the default reports in various categories, all of which are
available to help you quickly diagnose potential performance bottlenecks. With Rational
Performance Tester, you can further customize the reports for a specific view, compare the
reports online, or export them in CSV, HTML, or XML formats. Note that all customizations
are based on the generic performance counters provided by Rational Performance Tester,
because the counters are the basic building blocks for performance reports.
You can customize existing reports by changing the look and feel, adding more performance
counters, extending the time range, and so on. You can also customize (create) a report
from scratch using the Manage Reports option from the Performance Test Runs view.
This tutorial will first show you how to customize a default report, and then how to
create a report.
Customize an existing
report
Using the Performance Report (the Page Performance tab) as an example, you will
modify its look and feel. The following steps show you some of the customization features
available.
- Right-click the Page Performance report and select the Customize option, as
shown in Figure 9.
Figure 9. Default Performance Report
customization: Step 1
- Change the Y-axis label to
Average Response Time in ms,
select Use 3D Bars, and change the pixel Height to 500, as shown in Figure 10. After you click OK, the report will reflect
the changes accordingly.
Figure 10. Default Performance Report
customization: Step 2
- Because the customization option is context sensitive, you can hover over the table
below the graph, and then right-click.
- Next, select from options such as Sort Labels, Summary Table, Sort
Columns, Invert Table Rows/Columns, and so on, as shown in Figure 11.
Figure 11. Default Performance Report
customization: Step 3
- You can also add a performance counter to the existing report. However, the counters
you add should make logical sense. At the same time, they should not fall outside the
drafting range. In this scenario, right-click and select Add/Remove Performance
Counters > Page Performance Counter.
- Select the counter Maximum [for Run] under Response Time [ms] > All
Pages, as shown in Figure 12.
Figure 12. Default Performance Report
customization: Step 4
- After you click Finish, you should be presented with a new graph that includes
maximum response time for the run, as shown in Figure 13. You can add as many counters
as you need, so long as they are logically grouped and do not obscure the information
presented in the report.
Figure 13. Default Performance Report
Customization: Step 4
 |
Create a new report
The following steps show you how to create a report from scratch.
- From the Performance Test Runs view, right-click and select Manage Reports, as
shown in Figure 14.
Figure 14. Defining a new report:
Step 1
- Click Create in the Select Report window.
- Enter a name for the new report that you want to create (in this example,
DayTrade Verification, as shown in Figure 15. Click the
Insert button to insert at least one tab. Note that a report can contain as
many tabs as needed. For this exercise, you will only create one tab report containing
two graphs.
Figure 15. Defining a new report:
Step 2
- Enter a name for the new tab (for example,
Page Verification for
DayTrade).
- Select Custom Tab (2 graphics), and select the available boxes, as shown in
Figure 16. Click Next to continue.
Figure 16. Defining a new report:
Step 3
- Give the first graphic a title (for example,
DayTrade - Percent
Page VPs Passed for Interval). Choose Line Chart as the graphic type, as
shown in Figure 17. At this point, you could customize (by clicking the Customize
button) the X and Y axis, or add a filter (by clicking the Add button) to the
graphics.
- Click Next to continue to the performance counter selection.
Figure 17. Defining a new report:
Step 4
- Because this tab is to show the verification points for all pages, choose Generic
Counters > Pages > Verification Points > Percent Page VPs Passed
[for Interval], as shown in Figure 18.
- Click the Add button to include the counter that you selected.
- Click Next to continue to proceed to the second graph.
Figure 18. Defining a new report:
Step 5
- Repeat the process for the second graph, but use the following options instead:
-
Title: DayTrade - Total Page VPs Attempted for Interval
-
Graphic Type: Line chart
-
Generic Counter: Total Page VPs Attempted [for Interval]
- You can choose to include more tabs, with each tab showing different performance
counters. In this case, it suffices to create one tab, as shown in Figure 19. Click
Finish to complete the report.
Figure 19. Defining a new report:
Step 6
- To display the report you just created, right-click and select Display Report.
Choose to display the DayTrade Verification report, as shown in Figure 20.
Figure 20. Defining a new report:
Step 7
 |
|  |