You can change the test preferences so that report counters are
automatically exported at the end of a run. This option is useful when you
run a schedule from the command line because you can automatically export
results without opening the workbench.
About this task
To automatically export report counters to a CSV file when a test
or schedule completes:
Procedure
- Open the Preferences page: Click .
- Open the Export Reports page: In the Preferences window,
expand Test and Performance Test Reports,
and then select Export Reports.
- In the Export Reports window, select the options as follows:
Option |
Description |
Export reports when run completes from |
Select command
line, workbench, or both. |
Include counter details |
Includes the result
name, node name, and time range for that data. Typically, you do not include
these details unless you are exporting customized reports that include counters
from specific test runs. |
Print reports to command line |
Displays
the exported data on the command line (standard output) as well as exporting
it to the CSV file. The file is displayed after the command line run has completed. |
Select reports to export |
Expand the tree,
if necessary, to display the type of report to export. If you select more
than one report, each report is exported to a separate CSV file in the Test
Runs directory. |
- Click Apply.
Results
The CSV file is called
results_file_name.report_name.csv.
It contains metadata about the test run, a blank line, and then lists each
counter and its last value. Each counter is on a separate line.