After the test run is over, you can export the results of the simulated requests to an external file to page and work with them outside of ReadyAPI.
Exporting Statistics for the Latest Test Run
Every time you run a test, you can export the runtime results for this test run in the CSV format:
-
Click on the ReadyAPI toolbar.
-
Set the Type option to Data export for automation.
-
Select report data sets:
Option Description ReportMetrics
Creates a file with base metrics of the test, for example, the number of scenarios and Agents.
LoadUITestResults
Creates a file with the basic information about the load test, for example when the test started.
LoadUIScenariosSummary
Creates a file with a short summary of load test scenarios.
LoadUIOverviewChart
Creates an empty file. The xml and csv formats do not support images.
LoadUITestSteps
Creates a file with information about test step execution during the rest run.
LoadUITopTestCases
Creates a file with information about five test runs that took the least time.
LoadUIBottomTestCases
Creates a file with information about five test runs that took the most time.
LoadUIScenarioResults
Creates a file with information about scenario execution during the rest run.
LoadUIStatistics
Creates an empty file. The xml and csv formats do not support images.
LoadUITestStepsHistory
Creates a file with the information about test step execution during the test run.
LoadUIStatisticHistory
Creates a file with Average, TPS and Errors metrics for each test step and the entire test run.
LoadUICompareRuns
Creates a file that compares the test results to the previous test run.
-
Select a report format: XML or CSV.
-
To add a header row to the exported data, select Generate Header Row.
-
Select the directory, to which you want to save the statistics, and click Save.
ReadyAPI will create a CSV file for each simulated scenario with the information from the Test Step Metrics table, and an extra CSV file with the information from the Global Metrics chart.
Exporting Statistics From The Statistics Page
You can configure and export information about your tests from the Statistics page. On it, you can specify what information you need and export only it:
-
Add a graph or a table as described in the Statistics Page topic. If you have multiple graphs or tables, select the one you want to export.
-
Choose the test run the results for which you want to export using the Run drop-down list.
-
Click on the Statistics page toolbar.
-
Select the directory to which you want to save the statistics and click Save.
ReadyAPI will create a CSV file with all data displayed in the selected graph or table. You can repeat these steps to export other metrics.
See Also
Statistics Page
Statistics and Metrics Reference
About Transaction Log