Installation

Contents:

Requirements

Operating systems

The supported Operating Systems are:

NeoLoad is written in Java and should run on any platform with support for Java 1.5:

Installing NeoLoad on an unsupported Unix platform:
  1. follow the installation instruction of the Linux or the Solaris 'no GUI' version.
  2. Replace the bundled JRE (<install_dir>/jre) with a compatible JRE for the given platform. (Java 1.5 required)

Hard Disk space

Both Controller and Load Generator installation need 60 MB.

CPU & Memory

The hardware requirements greatly differ from one test to another. The more the server needs to be stressed, the more the Load Generator needs a powerful hardware. Moreover, requirements increase with scenario complexity. More Load Generators can be installed to generate more load on the server.

The runtime panel allows monitoring the CPU and memory of the Load Generators during the test. If the CPU or Memory are too often over 90%, consider decreasing the number of generated virtual users, increasing the thinktime or using an additional Load Generator on another computer.

A system with at least 256 MB of RAM is recommended.

As an indication, the Controller using its embedded Load Generator needs 75 MB to run a test simulating 250 Virtual Users with 3s as thinktime between pages. A standalone Load Generator need 60 MB to run the same test.

Product Installation

Installing the Controller

Role of the controller:

Note: The controller contains an embedded load generator.

Windows:

launch neoload_windows_<version>.exe

Unix (graphical installer):

launch ./neoload_<platform>_<version>.sh

Unix (no GUI):

untar the archive at the desired installation location:
tar -xzf neoload_<platform>_<version>.tar.gz

Installing the Load Generator

The controller contains an embedded load generator. Install Load Generators on additional machines to generate additional load.

Windows:

launch loadGenerator_windows_<version>.exe
The installer offers to install the Load Generator as a Windows Service.

Unix (graphical installer):

launch ./loadGenerator_<platform>_<version>.sh

Unix (no GUI):

untar the archive at the desired installation location:
tar -xzf loadGenerator_<platform>_<version>.tar.gz

Install the license key

There is two ways to install the license key:

Note that the license key must be installed on controllers only. Standalone Load Generators do not need keys.

Running NeoLoad

Running the Controller

Windows: <install_dir>\bin\NeoLoadGUI.exe
Use NeoLoadCmd.exe when using command line options.

Unix: <install_dir>/bin/NeoLoadGUI
Use NeoLoadCmd when using command line options.

Command line options:

usage: neoload -project <file> -launch <scenario> [-report <file>] [-noGUI]

-project use given project file (*.nlp)
-launch Starts the test with the specified scenario from the project specified by -project .
-report Generates a test report at the end of the test. NeoLoad guesses the report format from the file extension (.html, .pdf, .xml)
-noGUI Launch NeoLoad in non GUI mode
-help print this message

Running the Load Generator

The Load Generator is started for each test by an agent. You never need to start the load generator directly, launch the agent instead:

Windows:

Unix:

Advanced installation

Having a firewall between the Controller and the Load Generator

In a such environment, the firewall must allow the following ports:

NeoLoad and Windows XP SP2 Firewall

Windows XP SP2 has a firewall enabled by default. When launching the Load Generator Agent manually with agent.exe, Windows Firewall correctly prompts the user to add the program to the exception list. When launching the program as a Service, no prompt is displayed: the firewall must be manually configured. Add the following ports to the exception list: 7100 TCP and 1359 UDP.

Increasing the available memory for the Load Generator

As any Java program, the Load Generator has a maximal memory limit. This limit should be raised when the load generator memory indicator exceeds 90% too often during a test.

For each Load Generator:

Edit the file <install_dir>/conf/agent.properties :
Modify the property [LoadGenerator]lg.launcher.vm.parameters to set the appropriate maximal memory limit in Mb.
For example, [LoadGenerator]lg.launcher.vm.parameters=-Xmx96m sets the limit to 96Mb.

Note: the maximal memory limit should never exceed the amount of physical memory to avoid swapping.

Increasing the available memory for the Controller

As any Java program, the NeoLoad Controller has a maximal memory limit. This limit should be raised when the controller handles very large projects or large test results.

The Controller is allowed to use up to 256 Mb of memory. The default value is 196 Mb which should be enough for nearly every projects

Note: the maximal memory limit should never exceed the amount of physical memory to avoid swapping.



© Copyright 2005, Neotys.