Configuring Virtual IP Addresses

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:

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:

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:

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:

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.

 



Copyright © 1999, AdventNet Inc. All Rights Reserved.