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.
Procedure
To automatically export report counters to a CSV file
when a test or schedule is complete:
- 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 - Simple CSV format, Command
line - Full CSV format, Workbench - Simple
CSV format, or Workbench - Full CSV format,
or any combination of those. If you select Command line
- Simple CSV format, you can also select Print
simple CSV reports to command line to display the exported
data on the command line (standard output) as well as export it to
the CSV file. The file is displayed after the command line run has
completed. |
Include counter details in Simple CSV format |
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. |
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.