<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Waldemar's blog &#187; spoofing</title>
	<atom:link href="http://blog.testsautomation.com/tag/spoofing/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.testsautomation.com</link>
	<description>Live fast, die old...</description>
	<lastBuildDate>Mon, 12 Jul 2010 20:51:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>IP Spoofing with LoadRunner</title>
		<link>http://blog.testsautomation.com/2009/04/ip-spoofing-with-loadrunner/</link>
		<comments>http://blog.testsautomation.com/2009/04/ip-spoofing-with-loadrunner/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 18:40:24 +0000</pubDate>
		<dc:creator>Waldemar</dc:creator>
				<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[load runner]]></category>
		<category><![CDATA[spoofing]]></category>

		<guid isPermaLink="false">http://blog.testsautomation.com/?p=242</guid>
		<description><![CDATA[As described here ip spoofing is a technique for hiding real identity of the attacker on the net. It is mainly used for hacking but it can be helpful for performance tests as well. 
Let’s say we have some fancy network infrastructure that cache some of our requests in the performance test. Because of that [...]]]></description>
			<content:encoded><![CDATA[<p>As described <a href="http://www.securityfocus.com/infocus/1674">here</a> ip spoofing is a technique for hiding real identity of the attacker on the net. It is mainly used for hacking but it can be helpful for performance tests as well. </p>
<p>Let’s say we have some fancy network infrastructure that cache some of our requests in the performance test. Because of that our results may be incorrect. To omit this issue we can change the IP address of each (e.g. HTTP) request that reaches the server and simulate load from multiple users not only on the application level but on the network level as well. In that case cache won’t affect performance tests. Fortunately folks from Mercury/HP implemented special function for IP spoofing in LoadRunner API.</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;">
<ol>
<li class="li1">
<div class="de1">lr_enable_ip_spoofing<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&#8230;</div>
</li>
<li class="li1">
<div class="de1"><span class="me1">lr_disable_ip_spoofing</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
</div>
<p>To use it, first put your code between these to functions calls.<br />
Second (before connecting to load generator!!!) enable IP Spoofer option in LR Controller (Scenario > Enable IP Spoofer).</p>
<p>Let the hacking begin <img src='http://blog.testsautomation.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Tip:<br />
There is an option in Controller (in Expert mode) to choose between multiple IP addresses per process or per thread (Tools > Options).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.testsautomation.com/2009/04/ip-spoofing-with-loadrunner/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
