Skip to main content

skip to main content

developerWorks  >  Rational  >

Load testing Web applications by using IBM Rational Performance Tester: Part 5. Customize, export, and compare reports

developerWorks
Go to the previous pagePage 5 of 8 Go to the next page

Document options

Get Adobe® Reader®

Discuss


My developerWorks needs you!

Connect to your technical community


Rate this tutorial

Help us improve this content


How to export and compare reports

Export performance test run statistics

All performance-related reports can be viewed online, but there is also an option for you to export performance test run statistics to a file. Individual performance reports can be exported to CSV, HTML, and XML formats. The following steps show you how to export performance test run statistics to an HTML file.

  1. Right click in the Test Navigator view and select Export, as shown in Figure 21. Alternatively, select File > Export from the menu.

    Figure 21. Exporting Performance Test Run Statistics: Step 1
    menu command





  2. Note that the Export wizard is used for other purposes as well, in addition to exporting performance related statistics for further analysis. For example, in the absence of a source control system, you can export a performance test project from a workspace to an archive file to be shared with others. In this scenario, you will confine your export to performance related statistics after the test run, as shown in Figure 22.

    Figure 22. Exporting Performance Test Run Statistics: Step 2
    select an export destination





  3. Browse to the current project, and create a folder (for example, ExportedStats) and name the new file DTStats, as shown in Figure 23.

    Figure 23. Exporting Performance Test Run Statistics: Step 3
    select the CSV file





  4. Pick a test run to export, as shown in Figure 24. You can pick as many test runs to export as you like, but in this case just pick one test run to export.

    Figure 24. Exporting Performance Test Run Statistics: Step 4
    select the performance test run





  5. Statistics that are available for export can be divided into three main categories, as shown in Figure 25:
    • Pages

    • Page Elements

    • Miscellaneous



You can choose to export overall results, and the time since the start of the run. Once you click the Finish button, the reports will be generated in the directory that you specified previously.


Figure 25. Exporting Performance Test Run Statistics: Step 5
select statistics to include in export




Back to top


Export response time breakdown statistics

Other than the usual performance statistics export, you can also quickly export response time breakdown statistics for a test run.

  1. From the Page Performance tab of the Performance Report, navigate to the response time breakdown, right-click and select Report.

  2. Choose the option (for example, Report in HTML format, as shown in Figure 26).

    Figure 26. Response Time Breakdown Statistics Export: Step 1
    choose CSV, HTML, or XML format





  3. Specify a directory and filename (for example, ExportedStats and DTResponseTime, respectively). Once you click the Finish button, an HTML file containing the response time breakdown will be generated, as shown in Figure 27. You can generate the same statistics in CSV and XML format.

Compare reports

In order to compare the performance statistics side-by-side, the simplest way is to use the CSV format for comparisons, because this allows results from many test runs to be compared at one time.

The advantage of exporting statistics to XML format is that, by applying XSLT, you can further customize reports for better graphical presentation. When you apply XSLT, you can also store reports in non-editable format (such as PDF format).


Figure 27. Response Time Breakdown Statistics Export: Step 2
exported report




Back to top


Conclusion

This latest part of the series looked at various capabilities provided by IBM Rational Performance Tester to generate default performance analysis reports. It also showed you how you can customize the reports to suit your needs.



Back to top



Go to the previous pagePage 5 of 8 Go to the next page