Statistics Basic Tutorial

User rating:
4 (5 ratings)

The content on this page is related to a deprecated version of LoadUI, which has been superseded by LoadUI NG Pro in the Ready! API platform. Click here to learn more.

1. Preparations

Create a new project with a Fixed Rate Generator connected to a Web Page Runner. Set the Generator's rate to 10/Sec, name the Runner My Runner and point it to some URL. Start the project in by clicking the Play button and let it stay running during the whole tutorial.

If you are new to LoadUI, start with Your first load test tutorial, which shows how to do all of this step-by-step!

2. Showing Statistics from a component

Switch to the Statistics Tab. Then locate the icon representing My Runner in the left toolbar and drag it into the empty space to the right:


This will create a Chart containing My Runner. A Chart can show all the Statistics of its contained Components.

Before the chart is created, you will be shown the following dialog:


LoadUI has default statistics for every component, which are automatically selected in the dialog when you create a new chart.

If you are happy with the default, you can just click on the "Add" button. To change the selections, you can simply select an item (it must be a leave node, ie. you cannot select an item which has children) by clicking on it, or to select multiple items simultaneously, keep the Ctrl key pressed while you click.

You should see a newly created chart which looks like this:


3. Playing around

The new Statistic will stay steady at the value 10 since you previously set the Fixed Rate Generator in your project to 10/Sec. Let's lower the rate of the our generator to 1/Sec while keeping the Statistics Window open:

A Fixed Rate Generator with the rate set to 1/Sec.

As expected, the Statistic showing My Runner's Sent Requests per second (blue line) falls to 1 as well:


Also, use the horizontal scrollbar to go back to the beginning of the test (the X-axis should show 00:00). Notice that when the scrollbar is positioned to the far right, the chart will be always show the most recent datapoints as the test goes on. All other scrollbar positions will fixate the chart at that specific time interval.

4. Removing Statistics

Now remove the Transactions Per Second Statistic (abbreviated TPS), by clicking its dropdown menu, and then Remove:


5. What's next?

There's a lot more to the Analysis view, so take a deep breath and then proceed reading the Statistics in-depth guide.

As always, don't forget to have fun!