NeoLoad – Populations

After the completion of script recording and enhancement (i.e. correlation, parameterisation etc.), the next step is to define Populations under the Design section of the NeoLoad tool. Actually, a population is a group of Virtual User types having the same or different set of business and network behaviour.

NeoLoad tool is known for its simplicity and ease of configuration. ‘Populations’ feature is one of them. The idea behind the ‘Populations’ concept is to separate out the virtual user setting from the others. It represents the properties of the virtual user associated with different user paths or a set of user paths. Several different populations can be configured within the same project by setting virtual user load percentage, type of browser, WAN emulation etc. Later on, you can select the appropriate Populations while creating the scenario and run the test. Let’s try to understand the features and use of populations in detail.

Steps to create ‘Populations’

  1. Once the ‘User Paths’ created and validated successfully then click on ‘Populations’ tab under ‘Design’ section.
NeoLoad - Populations Tab
Figure 01
  1. On creating the ‘Populations’ first-time leads a warning pop-up forcing you to create the population. So, click ‘OK’.
NeoLoad - Populations
Figure 02
  1. Provide the name of the ‘Population’ and select the appropriate option among these three:
    1. Create a Population with all defined User Paths (For multiple test cases)
    2. Create a Population with a single User Path (For single test case)
    3. Do not create any Population
NeoLoad - Populations Wizard
Figure 03

Let’s divide it into 3 cases and try to understand each case along with examples:

Case 1: Create a Population with all defined User Paths

Consider there are 5 user paths under a project with the following details:

Test CaseUser Load %
Purchase_Product_Unregistered_User_Mobile10%
Purchase_Product_Unregistered_User_Desktop20%
Purchase_Product_Registered_User_Mobile20%
Purchase_Product_Registered_User_Desktop30%
Complain_Portal_Desktop20%
Total100%
NeoLoad - User Paths
Figure 04

To create the ‘Populations’ for the above case, you need to select the first option i.e. Create a Population with all defined User Paths, provide the name of the populations (say Mixed_Populations) and click ‘OK’

NeoLoad - Populations Creation
Figure 05

You will get the equally distributed user load percentage and default setting for all the user paths. Refer to the below screenshot.

NeoLoad - Populations parameter setting
Figure 06

Use the ‘Parameter’ section to set:

  1. User Load Percentage
  2. Type of Browser
  3. WAN Emulation
  4. Handle cache
NeoLoad - Populations Parameters
Figure 07

After setting all the parameters as per the given requirement, the populations will look like this:

NeoLoad - Populations
Figure 08

Case 2: Create a Population with single User Path

Consider there is only one user path named Purchase_Product_Registered_User with no specific browser or network requirement. To create the ‘Populations’ for this case, you need to select the second option, i.e. Create a Population with single User Paths, and provide the populations’ name (say Purchase_Product_Single_Scenario_Populations) and click the ‘OK’ button. In case there are multiple user paths available then select the appropriate user path from the list (dropdown).

NeoLoad - Populations with single user path
Figure 09

You can see the default parameter values along with 100% user load allocated to the selected user path. Refer to the below screenshot:

Figure 10

You can change the value of the following ‘Parameters’ as per the requirement else use the default setting for:

  1. User Load Percentage
  2. Type of Browser
  3. WAN Emulation
  4. Handle cache

Case 3: Do not create any population

On selecting this option a blank ‘Populations’ tab opens.

Figure 11

You can add a new population by clicking the ‘+’ sign at the bottom of the left pane then a pop-up will appear asking for the Population name. Provide the name of the population and click the ‘OK’ button.

Figure 12

A new population will get generated with the default parameters as same as Figure 10.

So, you got the information about ‘How to create the Population in NeoLoad tool?’ Use any of the above-described methods and distribute the user load as per your requirement.


You may be interested:


Leave a Reply

Your email address will not be published. Required fields are marked *