Configuring Real User Behavior in LoadRunner – Locality

Posted: April 21st, 2008 | Author: TnT Admin | Filed under: Concepts | Tags: , | No Comments »

After configuring the time factors that influenced how the virtual users (VU in short) access the application, you can configure the location of where the users come from in the following features:

  1. Machine location
  2. Network speed simulation
  3. IP spoofing
  4. WAN emulation

Again, we will go through them briefly for you to have a basic understanding to implement a load test.

[1] Machine location

Within a LAN, you can decide where you want to install the machine Load Generator (LG) to generate the load from. All you required is to install the agent on the designated LG and be able to connect from your Controller to the LG.

E.g.

You want to emulate the VU accessing from two locations Office A and Office B accessing the payroll system within the same LAN. Install the LoadRunner LG agent in the machines designated as LG in Office A and B. Controller should be able to connect to both machines.

[2] Network Speed Simulation

This configuration is done in Vugen where you specified the speed the VU is accessing, such as limiting it at 14.4Kbps or 512kbps (not limited to the mentioned). This is useful when you have users from various sites coming from different bandwidth. Take note, this is applicable to Internet-related protocols, Citrix ICA, Oracle NCA and Winsock.

E.g.

You want to emulate users from Office A whose network speed is on a low-end modem at 14.4kbps and Office B whose network speed is on a 512Kbps broadband.

[3] IP Spoofing

This configuration is done in Controller where you spoof the IP addresses of each VU. This is useful in circumstances that the load test is simulating access from different IP addresses and also to see how the load balancer is performing.

E.g.

You want to emulate users from an IP range of 172.168.2.10 to 172.168.2.200 and want to see how the load balancer spreads the VU requests based on IP addresses.

[4] WAN Emulation

This configuration also done in Controller where you specify the amount of packets in terms of probability that will be lost in a WAN environment.

E.g.

You need to emulate real users from Office A and Office B where they access the payroll application via the WAN. Probablity of the dropped packets will be based on your best estimation to derive the figure.

Related Posts



Leave a Reply