When you run a scenario, the Vusers on each host machine use the host’s IP address.
You can define multiple IP addresses on a host machine to emulate a real- life situation where users sit on different machines.
This appendix describes: Adding IP Addresses to a Host Using the IP Wizard Updating the Routing Table Enabling Multiple IP Addressing from the Controller The multiple IP address feature is applicable to the Web and WinSocket protocols.
server and router optimizations do not reflect real. The server and router recognize the Vusers as coming from different machines and as a result. Network routers try to cache source and destination information to optimize throughput.
LoadRunner’s multiple IP address feature enables Vusers running on a single machine to be identified by many IP addresses. The application server often caches information about clients coming from the same machine. If many users have the same IP address.
.life situations. Since Vusers on the same host machine have the same IP address. the testing environment is more realistic.About Multiple IP Addresses Application servers and network devices use IP addresses to identify clients. both the server and the routers try to optimize.
You add new IP addresses to a machine once and use the addresses for all scenarios.Adding IP Addresses to a Host LoadRunner includes an IP Wizard program that you run on each host machine to create multiple IP addresses.
. 3 Update the server’s routing table with the new addresses.
The following procedure summarizes how to add new IP addresses to a host: 1 Run the IP Wizard on the host machine to add a specified number of IP addresses. 4 Enable this feature from the Controller. 2 Re. Refer to see Enabling Multiple IP Addressing from the Controller.start the host machine. if necessary.
To add new IP addresses to a host machine: 1 Invoke the IP Wizard from the LoadRunner program group.Using the IP Wizard The IP Wizard resides on each host machine. and cannot connect to the internet. This range of addresses are the default used by the IP Wizard.
. The new addresses can be a range of addresses defined by the Internet Assignment Numbers Authority. You run this process one time to create and save new IP addresses. They are for internal use only.
select New Settings . 4 Click Next to proceed to the next step. If you have more than one network card. select Load settings from file and choose the file.choose the card to use for IP addresses and click Next .2 If you have an existing file with IP address settings. The optional Web server IP address step enables the IP Wizard to check the server’s routing table to see if it requires updating after the new IP addresses are added to the host. 3 If you are defining new settings.
a netid and hostid. Click Add to define the range of addresses. 6 Click Next to see a list of the machine’s IP address(es). Refer to see Updating the Routing Table. enter the server IP address.
IP addresses include two components.5 To check the server’s routing table directly after adding the addresses.
. The submask determines where the netid portion of the address stops and where the hostid begins.
If some addresses are in use. After the IP Wizard creates the new addresses. the summary dialog box lists all of the IP addresses.
. 9 Click OK to proceed.7 Select a class that represents the correct submask for the machine’s IP addresses. the IP Wizard will only add the addresses not in use. 8 Specify the number of addresses to create. Select Verify that new IP addresses are not already in use to instruct the IP Wizard to check the new addresses.
bat file and check Reboot now to update routing tables to initialize the NT device drivers with the new addresses. The IP Wizard Summary dialog box is dispalyed.
11 Note the address of the .
.10 Click Finish to exit the IP Wizard.
. 14 Update the Web Server routing table.bat file by inserting your IP address instead of CLIENT. IP. 13 Edit the .12 Click OK .
It the server and client share the same netmask. select Scenario > Enable Multiple IP Addresses . Enabling Multiple IP Addressing from the Controller Once you define multiple IP addresses.Updating the Routing Table Now that the client machine has new IP addresses. you set an option to tell the Controller to use this feature. 2 Use the General Settings of the Controller Expert Mode to specify how the Controller should implement this feature. the server’s routing table does not require modification.
. IP class and network. so it can recognize the route back to the client. To enable multiple IP addressing from the Controller: 1 In the Controller Scenario Window. the server needs the addresses in its routing table.