SPONSORS:






View RSS Feed

DevendraSingh

Using IP Spoofing in Loadrunner

Rate this Entry
by , 01-18-2013 at 04:38 AM (17761 Views)
IP of client machine's is identity used by Servers and Network devices like routers to recognize them and then to cache the information and optimize themselves.
Sometimes we need to use different IPs to emulate the real world scenarios to make servers and devices see as if users are coming from different sources.

But this task is not as simple as pressing button on vending machine and grabbing your cappuccino .
Kidding!!!!!!!!!!!

Our job here is to fool the devices and it requires three simple steps:

1. Run IP Wizard (Start > Program Files > LoadRunner > Tools > IP Wizard) on LG to add the IPs you want to emulate in scenario.

2. Update the server’s routing table with new 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 not need of modification is required.
To update the table edit the batch file in IP wizard summary use route command as below to update:
“route ADD [IPs you want to add] MASK 255.255.255.255 [Your_IP] METRIC1”
“route ADD [IPs you want to add] MASK 255.255.255.255 [Your_IP] METRIC2”
Now run this .bat file on server to update.

3. Enable IP Spoofing ( Scenario > Enable IP Spoofer ) from Controller, before connecting to LG.

Hey congrats!!!! Its done

Comments

  1. DevendraSingh's Avatar
    • |
    • permalink
    For more articles on Loadrunner and performance testing please visit my blog My Blog: Performance Testing and Tuning

    Thanks,
    Devendra Singh
    My Blog: Performance Testing and Tuning
    My Profile: LinkedIn
    You may write me at: devendrasinghhbti@gmail.com
  2. vinodfg's Avatar
    • |
    • permalink
    For load testing in my company to generate load i need to create scenario to post from different systems and i do not know how to do that so by seeing your post only i came to know how to do that
    DevendraSingh likes this.
  3. DevendraSingh's Avatar
    • |
    • permalink
    Glad to hear that Vinod!!!!

    For more articles on Loadrunner and performance testing please visit my blog My Blog: Performance Testing and Tuning

    Thanks,
    Devendra Singh
    My Blog: Performance Testing and Tuning
    My Profile: LinkedIn
    You may write me at: devendrasinghhbti@gmail.com
    Updated 09-24-2013 at 02:14 AM by DevendraSingh

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 05:36 AM.

Copyright BetaSoft Inc.