Test Result Filters

Filtering in the GUI

NeoLoad allows you to filter the results of a test. Applying the filter creates a new set of results, which can be viewed and used as if they had been produced by a test run that had just been completed.

[Warning]Warning

Only results generated by NeoLoad version 3.0.0 and later can be filtered.

The GUI displaying the test results allows you to view a filtered test result in the same way as you would any other result.

Available Filters

Several filters may be applied, either separately or jointly. Details of the filters and their effects are set out below.

Time period filter

This filter allows you to define a time period in the test that you wish to save. The purpose of the filter is to reduce the time span for analysis; the start and end date of the filtered test are readjusted to take into account the filter period.

This filter has two settings:

  • Start date sets the start date for the time period to be saved in "hh:mm:ss" format.

  • End date sets the end date for the time period to be saved in "hh:mm:ss" format.

[Note]Note

The "hh:mm:ss" date format is detailed as follows:

  • hh = hours from 00 to 23.

  • mm = minutes from 00 to 59.

  • ss = seconds from 00 to 59.

The start and end dates for the filtered test results generated are calculated based on the selected time period.

Time Period Selection Wizard

The Time Period Selection Wizard for the test to be saved is accessed in the following way:

  1. If it is not already enabled, enable time period filtering by checking the appropriate "Enable" box.

  2. Click the "..." button.

The wizard displays a graphic view of the test, including graphs for user load, average response times and errors.

Set the start or end date for the filtered test as follows:

  1. At the bottom of the panel, click either the "Start" or "End" radio button.

  2. Place the mouse on the graph at the required start or end point, then click the left mouse button while holding down the "Ctrl " key.

To validate the new dates, click the "OK" button.

Application example

In a test with a 'peak' load policy, you may want to concentrate on one particular load peak. This filter will reduce the time frame to be analyzed to a single peak.

Population filter

This filter specifies which populations to save among those run during the test.

The population filter is considered to be active when at least one of the populations run during the test to be filtered has been un-checked.

Application example

In a test containing several populations, you may want to concentrate on one particular population. It may be interesting for example to see what buyers at an on-line store "experience" when, at the same time, a "simply-browsing" population is browsing through the products on offer.

Load generator filter

This filter specifies which generators to save among all the generators used during the load test.

Prerequisite

The Load Generator Filter is available when the statistics have been saved for each individual load generator during the test. This can be enabled in the project's preferences, "Runtime parameters" section. See the section called “Statistics”.

Application example

In a test that uses several load generators located in different geographic locations, you may wish to obtain generator-specific, and thus location-specific, statistics. This will highlight any performance glitches due to the user's geographical location with regard to the tested web application.

Error filter

This filter specifies whether or not errors should be taken into account in the filtered results' statistics

Application example

When a server returns errors under a high load ( HTTP 500 errors for example), the server may respond more quickly, since it's quicker to return an HTML page with the HTTP 500 error. In these cases, the statistics will be distorted: the response times are better than in cases where there is no error. Therefore, the results returning an error must be excluded in order to obtain more realistic statistics.

Filtering Test Results

To apply filters to a set of test results:

  1. Go to the "Test Summary" tab in the "Results" section.

  2. Select the test results to be filtered in the drop-down list of results, or open the Results Manager and select the test results to filter.

  3. Click the "Filter" button. The Test Results Filter Wizard is displayed.

  4. Select and configure the filters you wish to apply to the test results.

  5. Check or clear the "Save filtered results" check box. When the box is checked, the filtered results are saved; if it is cleared, the filtered results are deleted when:

    • the NeoLoad application is shut down;

    • the project is closed.

  6. Click "OK" to generate the filtered results.

[Note]Note

The filters applied to a set of test results are displayed in the test's Results Summary.

Generating a Filtered Test Report

Generating a filtered test report is done in the same way as for a standard test report. The filters applied to the results are also shown in the reports.

For more information, see the documentation on generating a report.