tag:blogger.com,1999:blog-8847218331101991559.post5566702122203592830..comments2023-09-13T03:55:02.259-07:00Comments on Performance Testing and Tuning: How to use IP spoofing in LR?Devendra Singhhttp://www.blogger.com/profile/14942966583410683383noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-8847218331101991559.post-29046775975996640942013-09-25T22:52:22.415-07:002013-09-25T22:52:22.415-07:00Thank you so much Devendra. So nice to see your re...Thank you so much Devendra. So nice to see your reply. I just had theoretical knowledge of LR and PT till september and this is the first LR project I am working on. <br /><br />Yesterday I just enabled IP spoofer in the controller and IP's were already configured in the LG machine. The IP spoofing worked perfectly. I did not use lr_enable_ipspoofing() function at all. <br /><br />Also when I used lr_enable_ipspoofing() in the code, I got the following message as well: <br /><br />You cannot enable or disable ipspoofing from command prompt. I could not understand why I got this message. But the job is done for me from deliverable perspective. <br /><br />Your article above really helped. :)<br /><br />Regards,<br />Mouli. Anonymoushttps://www.blogger.com/profile/00593100536212204517noreply@blogger.comtag:blogger.com,1999:blog-8847218331101991559.post-6756561154163278662013-09-25T08:34:16.567-07:002013-09-25T08:34:16.567-07:00Hi Mouli,
Thank you so much for asking.
The lr_e...Hi Mouli,<br /><br />Thank you so much for asking.<br /><br />The lr_enable_ip_spoofing(); and lr_disable_ip_spoofing(); functions are used in script to implement the IP spoofing. But, until or unless you have not done the above settings, the script will not use different IPs.<br /><br />The above explained settings give controller the instruction to take the defined IPs and use them while sending requests to Application under test.<br /><br />Hope this solves your query :).<br /><br />Stay tuned!! Keep reading the blog and enriching it with your valuable comments!!!<br /><br />Thanks,<br />DevendraDevendra Singhhttps://www.blogger.com/profile/14942966583410683383noreply@blogger.comtag:blogger.com,1999:blog-8847218331101991559.post-126917584560709282013-09-25T08:09:11.598-07:002013-09-25T08:09:11.598-07:00Hi,
What is lr_enable_ipspoofing() and lr_disable...Hi,<br /><br />What is lr_enable_ipspoofing() and lr_disable_ipspoofing() functions for? Anonymoushttps://www.blogger.com/profile/00593100536212204517noreply@blogger.com