+

Search Tips   |   Advanced Search


Export report counters automatically

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.

To automatically export report counters to a CSV file when a test or schedule completes:

  1. Go to...

      Windows | Preferences | Test and Performance Test Reports | Export Reports

  2. 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.

  3. Click Apply.


Results

The CSV file is called...

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.


Related tasks