IP Spoofing in HP Load runner
About IP Spoofing:
In order to replicate
real world scenario when you do performance tests , it is required to test by
enabling IP spoofing.
Usually network
routers and application servers identify the client requests by their IP
address and it will get cached.
So Load runner LG's ,
when you test requests will be made from the same IP address ( assuming your
test scenario have only one LG). So network routers and application
servers will cache the requests for better throughput and which in term miss
the real life situations. To overcome this HP load runner have this
feature ( IP Spoofing ) to make fool the devices that requests are coming
from different IP address.
So you setup the fake IP
address from the LG machine and enable this feature in Controller.
How to setup IP Spoofing.
1) Run IP Wizard (Start > Program Files
> Load Runner > Tools > IP Wizard) on LG machines to add the
static IPs that we want to emulate in scenario.
how many static IPs ?(based on number
of Vusers to be executed on tests, if we use 100 users for scenarios, than 100
static IP's).
2) Update the Load balancer/web
servers routing table with new static IPs, this is done so that servers are
able trace back to the client. If client and server are in same network and
subnet mask then no need of modification is required.
3) Re-start the LG’s where static IP’s are
set to make modifications effect.
4) Enable IP Spoofing (
Scenario > Enable IP Spoofer ) from Controller, before connecting to LG
Hope this helps :)
how many static IPs ?(based on number of Vusers to be executed on tests, if we use 100 users for scenarios, than 100 static IP's).
2) Update the Load balancer/web servers routing table with new static IPs, this is done so that servers are able trace back to the client. If client and server are in same network and subnet mask then no need of modification is required.
3) Re-start the LG’s where static IP’s are set to make modifications effect.
4) Enable IP Spoofing ( Scenario > Enable IP Spoofer ) from Controller, before connecting to LG
Hope this helps :)
No comments:
Post a Comment