Introduction
Virutal IP Configurator
batch/shell files provide the ability to generate
virtual clients or allocate a unique IP address for each virtual
user located in the same physical machine. Assigning each virtual
user with a unique IP address emulates a real world browser user simulation.
This enables to place a much more realistic load on the web server to
measure the performance statistics.
|

|
Note: You need to configure
virtual IPs only in cases where you wish to assign unique IP to each virtual
user simulated during load test. If Use
unique IP for each Virtual User option in Play Settings is not
selected then you can ignore this step. |
Creating/Deleting
Virtual IP Address
In Windows
To create virtual IPs:
Run CreateVIP.bat
file from <QEngine_Home>/bin
directory.
Specify the starting
IP address and the number of virtual IPs to be created as the arguments.
The specified number of virtual IPs will be created.
Syntax:
CreateVIP.bat <Starting IP Address> <No. of IP Addresses to be
created>
Example:
CreateVIP.bat 192.168.1.1 100
To delete virtual IPs:
Run DeleteVIP.bat
file from <QEngine_Home>/bin
directory.
Specify the starting
IP address and the number of virtual IPs to be deleted. The specified
number of virtual IPs will be deleted from the system.
Syntax:
DeleteVIP.bat <Starting IP Address> <No. of IP Addresses to be
deleted>
Example:DeleteVIP.bat
192.168.1.1 100
In Linux
To create
virtual IPs:
Run CreateVIP.sh
file from <QEngine_Home>/bin
directory.
Specify the number
of virtual IPs to be created, starting IP address and the etho interface
number as the arguments. The specified number of virtual IPs will be created.
Syntax:
sh CreateVIP.sh <no. of virtual ips to be added> <starting virtual
ip> <etho interface number>"
Example:
sh CreateVIP.sh 100 1.2.3.1 10
To delete virtual IPs:
Run DeleteVIP.sh
file from <QEngine_Home>/bin
directory.
Specify the number
of virtual IPs to be deleted and the starting IP address as the arguments.
The specified number of virtual IPs will be deleted.
Syntax:
sh DeleteVIP.sh <no. of virtual ips to be added> <starting virtual
ip>
Example:
sh DeleteVIP.sh 100 1.2.3.1
|

|
Note: Configure virtual IP addresses
which would be valid on your network; Contact your network administrator
for the list of unused IP addresses on your network. |