Getting Started with Statistics

PDF Print E-mail
User Rating: / 4  |  Rate this article: PoorBest 

One of the most important parts of a load test is to view, save and compare statistics. In LoadUI there are several ways to do this:

0.1. The Statistics Tab

statistics_tabThe Statistics Tab is the most powerful way to analyze results in LoadUI. It allows you to view live statistics for components, assertions and server monitors — from the current run as well as comparing and printing old test runs.

StatisticsTab

0.2. The Summary Report

It is possible to generate a report once a test is completed, which will give the results of the test, including such information as the number of samples run, and the number of assertions passed, and the number of assertions failed, as well as the statistics for the run. It will display this on both on the level of the project as a whole, as well as breaking it down to the component level. Each Scenario within a project has a separate section of the report, with a similar breakdown.

report

The Summary Report button, placed in the project view's upper right corner, is only enabled once the test has been completed:

report_button

Read more about the Summary Report in The Summary Report article.

0.3. Components

0.4. The TableLog Component

The TableLog Component displays the actual input that it receives, and can save it to a file for later analysis. It is particularly useful when connected to the output of the statistics component, since this will allow you to see the actual data, and possibly use it later.

loadUI TableLog Component

TableLog Component

To just log virtual users that match a certain criterion (e.g. TimeTaken above 100ms), connect it to a Condition component. Read more about this here.

0.5. Interpreting statistics

Now that you know how to get statistics in LoadUI, take a moment to read Essential Statistics to learn which statistics to look at.