Scenarios

A scenario contains all the settings necessary to run a load test:

Scenarios

NeoLoad can handle several scenarios by project. By this way, it is easy to switch between several kinds of test: a short one with a ramp-up load, a very long one with load peaks and a one with a very realistic scenario....

The load simulated in a scenario is defined by duration and by a number of Virtual Users. Each virtual user simulated plays its web pages definition then ends. Then, NeoLoad launches a new Virtual User of the same kind to keep the load at the desired volume.

The Duration policy

Set the duration of the test: unlimited, a specified amount of time or by iterations.
One iteration represents one Virtual User complete playback. When choosing the duration by iteration, each population execution duration must be defined by setting the number of iteration in the Load Policy panel.
In all cases the test can be stopped at any time by clicking the "stop test" buttons.

The Load Policy

Specify the number and the variation of Virtual Users to generate.
Choose one or more populations to test and each population's load policy:

In iteration mode:

The population will be played for a iterations number defined in this panel. Each simulated user is launched for the specified number of iterations and doesn't wait between 2 iterations. When the end of the test is near, some users have finished all their iterations, others are still playing. This can explain that the load is falling down until all users are terminated.
For the Ramp up and the peak, the launching of new users after a volume step is made when all previous users have terminated their iterations. So before each step, depending on the definition of virtual users, the load can be falling down near 0.

Load Generator Hosts

The Load Generator is the program that simulates the Virtual Users.
Each NeoLoad controller contains a Load Generator. Load Generators can be installed as separate programs on different computers.
Load Generator Hosts lists the registered Load Generators. All the Load Generators running in the local network are automatically detected on NeoLoad Controller start up. Press "Discover" to auto discover Load Generators started since (May need a few seconds to be detected).
Load Generators can be manually declared: enter hostname or IP address.
Running Load Generators get a green sign while undetected ones get a red sign.

Choose the Load Generators used to play the test. The controller will distribute the Virtual Users to simulate among the selected active Load Generators.

Advanced Host Configuration

  • Ip Spoofing tab
  • All the detected Network Interfaces of the LoadGenerator are listed here. For hosts acting as router on several networks, you can choose the network card used by the LoadGenerator.
    On the selected interface, all the IP addresses of the host are listed.
    By default, when only one IP address is selected, all virtual users generated by the Load Generator Host use this IP address.

    Defining multiple IP addresses allows the testing of applications behind a load balancer based on the IP address.
    In that case, a randomly chosen IP address is assigned to each Virtual user.
    The IP addresses must be available in the network i.e. not used by other computers of the network. Ensures theses addresses can be used with your administrator.

    To define IP addresses in the list, you have to define additional IP addresses in the Load Generator Operating System settings.

    Operating System configuration
    Theses settings will modify the network configuration of the Load generator. Please consult your administrator before modifying the host configuration. The multiple IP addresses settings are also called virtual IP settings in some documentation.
  • Load Balancing tab
  • The virtual users simulated in the test are distributed among the available Load Generators. By default, all the Load Generators create the same number of virtual users.
    By increasing the load factor, you increase the number of virtual users that will be created on this Load Generator.
    For example, if you have a Load Generator "A" with a factor of "3" and a Load Generator "B" with a factor of "2", "A" creates 3 virtual users while "B" creates 2 virtual users.
    The most powerful computers should be parameterized to generate more Virtual Users.

    Advanced

    Runtime Policy

    Allows defining:

    Monitors

    Declare and use performance counters. These counters allow monitoring any Windows machine during the test, tracking any issues on the web server, application server or database server.

    Pick and rename Windows performance counters.
    Note: to access a remote computer, you must log on as Administrator or as a member of the Administrators group. If the computer on which the controller is running is not logged with the Administrator account, launch the controller with the appropriate account by using the "Execute as..." option of the right click menu on NeoLoadGUI.exe.

    On a typical server, important basic counters are:

    When declared, the performance counters are available for all scenarios within the same project. Select which counters to use for each scenario.

    Unix counters will be supported soon.



    © Copyright 2005, Neotys.