Exporting Detailed Test Results

Applies to LoadComplete 4.97, last modified on May 20, 2019

After the test run is over, LoadComplete posts information on all operations simulated during the test run to the Details panel. You can export this information to a CSV or XML files and work with it outside of LoadComplete.

Exporting Request Data to a CSV File

  1. In the Project Explorer, find the needed test result and open the Details item.

  2. Click Export to CSV file on the Details panel’s toolbar.

  3. Choose whether you want to export all the log items or only errors and warnings.

  4. In the subsequent dialog, specify the path and name of the .csv file to which the results will be exported. Click Save.

  5. LoadComplete will export the request data to the specified .csv file.

Important Notes:

  • By default, LoadComplete uses a comma as a delimiter in .csv files. If the request results you export contain commas, the exported data will be interpreted incorrectly when you try to read or parse them.

    To avoid possible issues, you can modify the resulting .csv file manually - enclose the values containing commas in double quotes. As an alternative, you can export the request results to an .xml file (recommended).

  • Exported results will include information only on simulated HTTP requests. They will not include information on simulated WebSocket messages and operations that control the traffic flow. They will not include information on error and warning messages posted to the test log by those operations either. To export that information, use the XML Tree format (see below).

Exporting Request Results to an XML File

LoadComplete can represent data in the following formats:

  • Plain XML - Request results will be listed in the order the requests were simulated.

    Exported results will include information only on simulated HTTP requests. They will not include information on simulated WebSocket messages and operations that control the traffic flow. They will not include information on error and warning messages posted to the test log by those operations either. To export that information, use the XML Tree format (see below).

  • XML Tree - Request results will be organized hierarchically by workstations, users, iterations, scenarios, pages, connections and operations. Thus, it is much easier to combine load test results obtained from multiple workstations. See Structure of Exported Results for details.

    In addition, the exported results will include results of simulating WebSocket messages and data on operations that control the traffic flow in the scenarios.

To export test results:

  1. In the Project Explorer, find the needed test result and open the Details item.

  2. On the Details panel’s toolbar:

    • Click Export to XML file to export request data in plain XML format.

    – or –

    • Click Export to XML tree to export request data in XML tree format.
  3. Choose whether you want to export all the log items or only errors and warnings.

  4. In the subsequent dialog, specify the path and name of the .xml file to which the results will be exported. Click Save.

  5. LoadComplete will export the request data to the specified .xml file.

Exporting Results From the Command Line

You can also use the /exportlog command line argument to export information on simulated requests if you run LoadComplete from the command line. For example, the following command loads the specified project (MyProject.ltp) and "tells" LoadComplete to execute the Test1 test. After the test run is over, LoadComplete exports the test results in the plain XML format to the specified folder and then closes:

"C:\Program Files\SmartBear\LoadComplete\Bin\LoadComplete.exe" "C:\My Projects\MyProject.ltp" /run /test:Test1 /exportlog:"C:\Test results\ExportedLog.xml" /exit

For more information on LoadComplete command-line arguments, see LoadComplete Command Line.

Contents of Exported Files

LoadComplete exports only the request simulation results. It does not export other information posted to the test log.

For information on the structure of the exported .csv and .xml files and on the values they contain, see Structure of Exported Results.

See Also

Exporting Test Results
About Test Results
Exporting Load Test Report
Structure of Exported Results
LoadComplete Command Line

Highlight search results