<?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>Application Performance Engineering Blog - Shunra Software &#187; Load Generator</title>
	<atom:link href="http://www.shunra.com/shunrablog/index.php/tag/load-generator/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shunra.com/shunrablog</link>
	<description>Supporting application performance management for IT professionals</description>
	<lastBuildDate>Wed, 08 Feb 2012 21:51:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Shunra and the Cloud – It’s here!!</title>
		<link>http://www.shunra.com/shunrablog/index.php/2010/06/23/shunra-and-the-cloud-its-here/</link>
		<comments>http://www.shunra.com/shunrablog/index.php/2010/06/23/shunra-and-the-cloud-its-here/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 04:34:42 +0000</pubDate>
		<dc:creator>Dave Berg</dc:creator>
				<category><![CDATA[Featured Post]]></category>
		<category><![CDATA[Staff Posts]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[Amazon AWS]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[HP]]></category>
		<category><![CDATA[HP LoadRunner]]></category>
		<category><![CDATA[HPSU]]></category>
		<category><![CDATA[HPSWU]]></category>
		<category><![CDATA[Load Generator]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Shunra]]></category>
		<category><![CDATA[Shunra for HP Software]]></category>
		<category><![CDATA[Testing applications]]></category>

		<guid isPermaLink="false">http://www.shunra.com/shunrablog/?p=2098</guid>
		<description><![CDATA[For those of you following my recent posts, this shouldn’t come as much of a shock.  Shunra now has an exclusive offer for beta tester of HP’s LoadRunner in the Cloud  that lets them use Shunra for HP Software FOR FREE!]]></description>
			<content:encoded><![CDATA[<p>For those of you following my recent posts, this shouldn’t come as much of a shock.  Shunra now has an exclusive offer for beta tester of HP’s <a href="http://www.hp.com/go/loadrunnercloud" target="_blank">LoadRunner in the Cloud</a> that lets them use <a href="http://www.shunra.com/shunra_ve_desktop_for_hp_software_overview.php" target="_blank">Shunra for HP Software</a> FOR FREE!</p>
<p>If you’re not familiar with <a href="http://www.hp.com/go/loadrunnercloud" target="_blank">LoadRunner in the Cloud</a>, it’s one of HP’s latest offerings where they partner with <a href="http://aws.amazon.com/hp/" target="_blank">Amazon AWS</a> to offer HP LoadRunner in Amazon’s EC2.  The product is currently in beta and is doing very well.  To read my <a href="http://www.shunra.com/shunrablog/index.php/2010/05/19/loadrunner-and-the-cloud-its-here/" target="_blank">post</a> about it and to get links to join the HP beta, go <a href="http://www.shunra.com/shunrablog/index.php/2010/05/19/loadrunner-and-the-cloud-its-here/" target="_blank">here</a>.</p>
<p>As a long-time partner of HP, Shunra was invited to augment the <a href="http://www.hp.com/hpinfo/newsroom/press/2010/100519xb.html" target="_blank">HP/Amazon partnership</a> by including <a href="http://www.shunra.com/shunra_ve_desktop_for_hp_software_overview.php" target="_blank">Shunra for HP Software</a>.  In our recent <a href="http://www.shunra.com/shunrablog/index.php/2010/06/07/new-application-performance-testing-in-a-virtual-environment/" target="_blank">white paper</a> with SAP and HP, we already showed how testing with WAN emulation is valuable for anyone testing distributed applications AND how it all works swimmingly in virtual environments, so the only hurdle was to package everything together.</p>
<p>That packaging is now done.  We worked with HP to build an <a href="http://aws.amazon.com/ec2/" target="_blank">Amazon Machine Image (AMI)</a> that is based off of HP’s 32 bit Load Generator AMI and includes Shunra’s WAN emulation component by default, and we have defined a very fast and easy process to install our component on the Controller instance.  The Controller component installation for Shunra requires a 15MB download and approximately 90s to install.</p>
<p>Once the new Load Generator is approved internally by HP (in the next few days), it will be added to the list of AMIs available for the HP beta program (again, to request inclusion in the beta program, go <a href="http://www.shunra.com/shunrablog/index.php/2010/05/19/loadrunner-and-the-cloud-its-here/" target="_blank">here</a>).  In the mean time, you can still take advantage of this offer by joining the HP beta program and contacting me directly.  After confirming your participation in the HP program, I’ll send you download and installation instructions for the Load Generator as well as the Controller components from Shunra for HP Software – both are required to use WAN emulation in your LoadRunner in the Cloud tests.</p>
<p>As I mentioned in my previous <a href="http://www.shunra.com/shunrablog/index.php/2010/05/19/loadrunner-and-the-cloud-its-here/" target="_blank">post</a>, HP is waiving their license fees for this beta program.  In that light, Shunra has agreed to do the same.  The only fees you will be responsible for are from Amazon AWS.  From personal experience, I can say that the <a href="http://aws.amazon.com/ec2/" target="_blank">AWS usage fees</a> are quite reasonable.</p>
<p>If you’re not planning to participate in this beta program, but would still like to learn more about application performance testing in the cloud, I encourage you to comment below or send me a message directly.  My contact information is listed at the bottom of this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shunra.com/shunrablog/index.php/2010/06/23/shunra-and-the-cloud-its-here/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hosted Load Testing II</title>
		<link>http://www.shunra.com/shunrablog/index.php/2009/10/30/hosted-load-testing-ii/</link>
		<comments>http://www.shunra.com/shunrablog/index.php/2009/10/30/hosted-load-testing-ii/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 15:34:09 +0000</pubDate>
		<dc:creator>Dave Berg</dc:creator>
				<category><![CDATA[Featured Post]]></category>
		<category><![CDATA[Staff Posts]]></category>
		<category><![CDATA[Application Performance]]></category>
		<category><![CDATA[Application Performance Testing]]></category>
		<category><![CDATA[Application Testing]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[HP LoadRunner]]></category>
		<category><![CDATA[HP Performance Center]]></category>
		<category><![CDATA[HP Software]]></category>
		<category><![CDATA[Load Generator]]></category>
		<category><![CDATA[load generators]]></category>
		<category><![CDATA[Load testing]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Mark Tomlinson]]></category>
		<category><![CDATA[Network Emulation]]></category>
		<category><![CDATA[Performance Test Lab]]></category>
		<category><![CDATA[Shunra]]></category>
		<category><![CDATA[Shunra Software]]></category>
		<category><![CDATA[Skytap]]></category>
		<category><![CDATA[User Experience]]></category>
		<category><![CDATA[WAN Performance]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Performance]]></category>

		<guid isPermaLink="false">http://www.shunra.com/shunrablog/?p=1693</guid>
		<description><![CDATA[My friend Mark Tomlinson from HP recently wrote an informative blog about “Understanding the language of hosted load testing.”  The blog touched on two competing approaches to application performance testing that were referenced as “behind the firewall” and “outside the firewall”.  Behind the firewall testing usually means testing in a lab environment such as a [...]]]></description>
			<content:encoded><![CDATA[<p>My friend Mark Tomlinson from HP recently wrote an informative blog about “<a href="http://www.communities.hp.com/online/blogs/loadrunner/archive/2009/10/27/understanding-the-language-of-real-world-load-testing.aspx">Understanding the language of hosted load testing</a>.”  The blog touched on two competing approaches to application performance testing that were referenced as “behind the firewall” and “outside the firewall”.  Behind the firewall testing usually means testing in a lab environment such as a Performance Test Lab.  Outside the firewall testing means testing over some part of a live network.  As you can imagine, and as Mark pointed out, both approaches have their pros and cons.  Selectively borrowing from Mark and adding some of my own gives us the following:</p>
<p>Performance Test Lab testing</p>
<p>Pros: Controlled, repeatable, relatively easy to debug observed problems</p>
<p>Cons: Expensive to build and maintain, commonly implemented without real world network considerations</p>
<p>Live Network testing</p>
<p>Pros: Cheap, good for periodic sanity checks of performance</p>
<p>Cons: Puts non-revenue generating load on the production network, very difficult to debug, high volume testing is not an accurate depiction of end user performance</p>
<p>The good news is that developments in cloud-based testing and in HP LoadRunner have been able to improve the accuracy of Performance Test Lab testing while also reducing the complexity and overall cost.  By moving HP LoadRunner load generators into a cloud-based testing environment, your testing can immediately benefit from the flexibility and scalability of the cloud.</p>
<p>One specific use case is for Peak Testing.  Peak testing is simply another name for load testing.  What “peak” implies is that it is at a scale that is not common.  If you are running, or want to run a test that is not commonly run in your environment, then it is fair to assume that you’ll need to plan ahead to gather the necessary resources.  Working in a cloud environment makes gathering and configuring extra resources on demand easy.  Need an extra five load generators?  No problem; just clone your existing one and wait for them to start.  Need more RAM?  No problem; just shut the machine down, configure more RAM, and restart the machine.  Working with the latest version of HP LoadRunner with <a href="../../shunra_ve_desktop_for_hp_software.php">WAN emulation</a> makes the story even more compelling.  Need load generation from LA, London, and Tokyo?  No problem; just configure the load generators to emulate those locations and they will.  Sound easy?  It is.  Companies like <a href="http://www.skytap.com/">Skytap</a> already have thought this scenario through and have a great subscription-based model built for you to use today.</p>
<p>The real benefits of peak testing in the cloud are that you can quickly scale your lab up and down without the burden of maintaining a lab large enough to support your peak needs –saving time and money.  It is the end of costly lab build-ups, running tests during maintenance windows in the middle of the night, sending load generators to all corners of the world, and putting test traffic on your production network!</p>
<p>Of course, there are a lot of other ways Cloud Computing can be used in a QA environment; validating new versions of test products and proof of concepts are two that immediately come to mind.  In the end, the same ROI formulae that explain and fuel the explosion of Cloud Computing for hosting applications are also relevant for using Cloud Computing to test your applications with.</p>
<p>Now you know what I think.  What do you think??</p>
<p>P.S. Stay tuned for a coming blog on location-aware deployment testing in the cloud…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shunra.com/shunrablog/index.php/2009/10/30/hosted-load-testing-ii/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Adding Network Analysis to a LoadRunner 9.5 Scenario</title>
		<link>http://www.shunra.com/shunrablog/index.php/2009/03/10/adding-network-analysis-to-a-loadrunner-95-scenario/</link>
		<comments>http://www.shunra.com/shunrablog/index.php/2009/03/10/adding-network-analysis-to-a-loadrunner-95-scenario/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 13:31:31 +0000</pubDate>
		<dc:creator>Amichai Lesser</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Application Performance]]></category>
		<category><![CDATA[Bandwidth]]></category>
		<category><![CDATA[Developer tools]]></category>
		<category><![CDATA[HP LoadRunner]]></category>
		<category><![CDATA[HP Software]]></category>
		<category><![CDATA[Load Generator]]></category>
		<category><![CDATA[Load Test]]></category>
		<category><![CDATA[Load testing]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Packet Loss]]></category>
		<category><![CDATA[VE Analyzer]]></category>
		<category><![CDATA[VE Desktop]]></category>
		<category><![CDATA[VE Desktop for HP Software]]></category>
		<category><![CDATA[VE Reporter]]></category>
		<category><![CDATA[WAN Emulation]]></category>
		<category><![CDATA[WAN Simulation]]></category>

		<guid isPermaLink="false">http://www.shunra.com/shunrablog/?p=837</guid>
		<description><![CDATA[In a previous post I explained how to add network conditions to a LoadRunner scenario, answering the question, &#8220;How will this application perform in a remote site?&#8221;  The results from running a LoadRunner test with network conditions will highlight transactions that perform well under network conditions as well as pinpoint transactions that will degrade in [...]]]></description>
			<content:encoded><![CDATA[<p>In a previous <a href="http://www.shunra.com/shunrablog/index.php/2009/02/26/loadrunner-conditions">post</a> I explained how to add network conditions to a LoadRunner scenario, answering the question, &#8220;How will this application perform in a remote site?&#8221;  The results from running a LoadRunner test with network conditions will highlight transactions that perform well under network conditions as well as pinpoint transactions that will degrade in performance under network conditions.</p>
<p>In this post I will show you how to generate analysis <strong><em>in less than three minutes </em></strong>that addresses the question that naturally follows. <strong>&#8220;Why does this transaction perform well locally, but slows down under network conditions?&#8221;</strong></p>
<p>This analysis can be generated by installing VE Analyzer on the &#8220;remote&#8221; load generator and configuring it with the packet analysis settings (reminder: the &#8220;remote&#8221; load generator is any load generator that has the VE Desktop Professional WAN Emulation client installed on it. This WAN Emulation client enables us to simulate remote network conditions from a local load generator in the lab. Hence the double quotes in &#8220;remote&#8221; since the generator isn&#8217;t physically remote but is simulated to behave that way)</p>
<p>Follow these steps to setup the analysis on the &#8220;remote&#8221; load generator:</p>
<p>In the LoadRunner Controller Design screen click on the Load Generators button</p>
<p><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/load-generator-icon.jpg"><img class="size-full wp-image-782 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/load-generator-icon.jpg" alt="load-generator-icon" width="156" height="30" /></a></p>
<p>Select the &#8220;remote&#8221; load generator</p>
<p><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/setup-generators.jpg"><img class="size-full wp-image-779 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/setup-generators.jpg" alt="setup-generators" width="461" height="327" /></a></p>
<p>Click on details and select the WAN Emulation Tab:</p>
<p><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/define-wan-emulation.jpg"><img class="size-full wp-image-770 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/define-wan-emulation.jpg" alt="define-wan-emulation" width="525" height="412" /></a></p>
<p>Check the &#8220;Enable WAN Emulation&#8221; check box (if not already selected) and click on &#8220;WAN Emulation Settings&#8221;</p>
<p>See the previous <a href="http://www.shunra.com/shunrablog/index.php/2009/02/adding-network-conditions-to-a-loadrunner-95-scenario/">post </a>on how to setup the WAN Emulation parameters in the following screen.</p>
<p><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/setup-wan-emulation.jpg"><img class="size-full wp-image-780 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/setup-wan-emulation.jpg" alt="setup-wan-emulation" width="477" height="367" /></a></p>
<p>Click on the additional settings button</p>
<p><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/03/additional-settings.jpg"><img class="size-full wp-image-840 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/03/additional-settings.jpg" alt="additional-settings" width="457" height="449" /></a></p>
<p>First check the &#8220;Capture Packets&#8221; check box, this enables the packet capturing agent on the VE Desktop Client on the LoadGenerator. I recommend assigning at least 100 MB of buffer space for the capture so at least one iteration of the script will be captured.</p>
<p>For web based applications, select HTTP in the &#8220;Automatically run post-test analysis&#8221; option, for other applications select either TCP or UDP analysis.</p>
<p>Finally, select a folder on the load generator for automatically saving the test results. It is important to re-iterate that this folder is on the &#8220;remote&#8221; load generator, not on the LoadRunner Controller.</p>
<p>It is recommended to setup only 1 virtual user to run from this &#8220;remote&#8221; generator, so the analysis will focus on a single instance of the user. If load is needed as part of the scenario, it should be generated from a second load generator, in this case the analysis will show results of the marginal user.</p>
<p>Adding the analysis capabilities in this example doesn&#8217;t require any changes to the script and can be applied to the same scenario we presented in the previous <a href="http://www.shunra.com/shunrablog/index.php/2009/02/adding-network-conditions-to-a-loadrunner-95-scenario/">post</a>. Running this test results in an analysis report that is generated on the LoadGenerator. This report can be accessed from the VE Reperter that is installed on the &#8220;remote&#8221; load generator.</p>
<p><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/03/loadgenerator-program-bar.jpg"><img class="size-full wp-image-842 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/03/loadgenerator-program-bar.jpg" alt="loadgenerator-program-bar" width="381" height="498" /></a></p>
<p>VE Reporter stores the reports based on the test names and the test run dates, so we are looking for the last test run for our test.</p>
<p><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/03/ve-reporter.jpg"><img class="size-full wp-image-844 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/03/ve-reporter.jpg" alt="ve-reporter" width="432" height="237" /></a></p>
<p>Once the report opens we are mainly interested in 4 reports:</p>
<p>The <strong>Application Efficiency Report</strong> shows us how chatty the application is (application chattiness is directly related to response time slow downs due to network latency) as well as how long it took to download various resources from the server. In this example, we see a resource that took 9 seconds to download, explaining why the entire action took 11 seconds for a remote user Vs, 0.6 seconds for a local user.</p>
<div id="attachment_843" class="wp-caption alignnone" style="width: 524px"><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/03/application-efficiency-report-for-the-whole-script.jpg"><img class="size-full wp-image-843" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/03/application-efficiency-report-for-the-whole-script.jpg" alt="The Application Efficiency Report highlights a resource that took 9.2 seconds to download" width="514" height="361" /></a><p class="wp-caption-text">The Application Efficiency Report highlights a resource that took 9.2 seconds to download</p></div>
<p>The second report is the <strong>Client Network Server Breakdown</strong> that shows how much time the transaction spent on the client, network and server.</p>
<div id="attachment_847" class="wp-caption alignnone" style="width: 524px"><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/03/cns.jpg"><img class="size-full wp-image-847" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/03/cns.jpg" alt="A Client Network Server Breakdown Report" width="514" height="361" /></a><p class="wp-caption-text">A Client Network Server Breakdown Report</p></div>
<p>The 3rd report is the <strong>Bandwidth Analysis </strong>which shows how much bandwidth was used by this single application user.</p>
<p><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/03/bandwidth-analysis.jpg"><img class="alignnone size-full wp-image-851" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/03/bandwidth-analysis.jpg" alt="bandwidth-analysis" width="514" height="361" /></a></p>
<p>Finally, for a real deep dive we can use the <strong>Bounce Diagram</strong> that displays the entire communication between the client and the server as well as the delta times between consecutive packets, high delta times can point out to blocking events within the transaction.</p>
<div id="attachment_848" class="wp-caption alignnone" style="width: 524px"><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/03/bounce-diagram.jpg"><img class="size-full wp-image-848" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/03/bounce-diagram.jpg" alt="The Bounce Diagram shows deep packet analysis data on the transaction" width="514" height="361" /></a><p class="wp-caption-text">The Bounce Diagram shows deep packet analysis data on the transaction</p></div>
<p>In summary, in less than 3 minutes we can generate the above reports on any transaction that seems to be performing poorly over the Wide Area Network. This information can help the developers and network engineers to fine-tune the application and the network to improve the end user experience.</p>
<p>Feel free to suggest additional topics you would like to see covered in this series of posts.</p>
<p>Best,</p>
<p>Amichai</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shunra.com/shunrablog/index.php/2009/03/10/adding-network-analysis-to-a-loadrunner-95-scenario/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Adding Network Conditions to a LoadRunner 9.5 Scenario</title>
		<link>http://www.shunra.com/shunrablog/index.php/2009/02/26/loadrunner-conditions/</link>
		<comments>http://www.shunra.com/shunrablog/index.php/2009/02/26/loadrunner-conditions/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 20:44:17 +0000</pubDate>
		<dc:creator>Amichai Lesser</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Applicatoin performance]]></category>
		<category><![CDATA[HP LoadRunner]]></category>
		<category><![CDATA[HP Software]]></category>
		<category><![CDATA[Load Generator]]></category>
		<category><![CDATA[Load testing]]></category>
		<category><![CDATA[VE Desktop for HP Software]]></category>
		<category><![CDATA[WAN Emulation]]></category>

		<guid isPermaLink="false">http://www.shunra.com/shunrablog/?p=761</guid>
		<description><![CDATA[In the previous post I presented a new solution that increases the accuracy of load tests by easily adding network conditions to the load generators. This will be the first in a series of posts that walks through the steps needed to setup a test scenario that includes end user load and network conditions. By [...]]]></description>
			<content:encoded><![CDATA[<p>In the previous post I presented a new solution that increases the accuracy of load tests by easily adding network conditions to the load generators.</p>
<p>This will be the first in a series of posts that walks through the steps needed to setup a test scenario that includes end user load and network conditions. By the end of this post you will know how to setup a load test that can answer the question: &#8220;How will this application perform for a remote user in [Chicago] compared to a local user?&#8221; [replace with any remote site that is relevant for your enterprise network]</p>
<p>Our setup includes 2 machines:</p>
<p>1. A LoadRunner controller version 9.5 with a license for the <a href="http://www.shunra.com/shunra_ve_desktop_for_hp_software.php" target="_blank">VE Desktop for HP Software.</a> This machine will also serve as a local load generator and is assigned with IP address 172.31.0.143</p>
<p>2. A LoadRunner load generator with the VED for HP injector and VE Reporter for analysis. This machine is assigned with IP address 172.31.0.142 and will simulate the &#8220;remote&#8221; load generator.</p>
<p>Both machines are physically in our center of excellence lab in Philadelphia, and so is the server under test.</p>
<p>We begin with a simple test scenario that will run the same script from the 2 load generators &#8211; 143 will be the local user and 142 will emulate the remote user in Chicago, so we name the 2 groups accordingly:</p>
<p style="text-align: left;"><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/add-remote-group.jpg"><img class="size-full wp-image-767 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/add-remote-group.jpg" alt="add-remote-group" width="467" height="336" /></a><br />
Next we need to setup the &#8220;remote&#8221; load generator with the desired network conditions. The WAN emulation conditions are defined on the load generator details dialog box. These details can be accessed by clicking on the Load Generators Icon (marked with the border), <a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/load-generator-icon.jpg"><img class="size-full wp-image-782 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/load-generator-icon.jpg" alt="load-generator-icon" width="156" height="30" /></a></p>
<p style="text-align: left;">selecting the &#8220;remote&#8221; load generator in the load generators setup page, and clicking the details button:</p>
<p style="text-align: left;"><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/setup-generators.jpg"><img class="size-full wp-image-779 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/setup-generators.jpg" alt="setup-generators" width="461" height="327" /></a></p>
<p style="text-align: left;">You will notice that the Load Generator Details has a WAN Emulation tab. Selecting the tab and checking the Enable WAN Emulation checkbox will allow you to setup the WAN emulation conditions. It is recommended to change the name of the profile to reflect the network conditions, e.g. Chicago, remote site with 512Kbps, Satellite link, etc.</p>
<p style="text-align: left;"><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/define-wan-emulation.jpg"><img class="size-full wp-image-770 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/define-wan-emulation.jpg" alt="define-wan-emulation" width="368" height="288" /></a></p>
<p style="text-align: left;">Clicking on the WAN Emulation settings button will open up the following dialog box:</p>
<p style="text-align: left;">You will notice the 3 setup modes: Basic, Advanced and Professional.</p>
<p style="text-align: left;"><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/setup-wan-emulation.jpg"><img class="size-full wp-image-780 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/setup-wan-emulation.jpg" alt="setup-wan-emulation" width="477" height="367" /></a></p>
<p style="text-align: left;">The Basic mode (shown above) allows you to quickly define a network profile based on predefined settings, the example above sets up a network link from a Chicago user to an Atlanta data center with a T1 link during normal business hours.</p>
<p style="text-align: left;">The advanced mode lets you setup specific network conditions such as latency, packet loss and bandwidth. The Professional mode will be covered in future posts.</p>
<p>Once the desired settings are configured, the test is ready to go. Our test scenario has 1 user from each generator, but the scenario isn&#8217;t limited by the number of users (up to the licensed number of virtual users).</p>
<p style="text-align: left;"><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/running-test.jpg"><img class="size-full wp-image-776 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/running-test.jpg" alt="running-test" width="436" height="315" /></a></p>
<p style="text-align: left;">The scenario can be saved and run like any other LoadRunner scenario.</p>
<p>Once the test completes, we can invoke the analysis and generate the reports we are looking for (reminder, we want to see the response time between the local user and the user in Chicago). The analysis is triggered by clicking on the LoadRunner analysis button:</p>
<p><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/analyze-results-icon.jpg"><img class="size-full wp-image-786 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/analyze-results-icon.jpg" alt="analyze-results-icon" width="99" height="55" /></a></p>
<p style="text-align: left;">By default the analysis results are averaged across all load generators, so we need to group the results by WAN Emulation location which is done in the next 3 steps:</p>
<p style="text-align: left;">Step 1 &#8211; select the transaction response time chart:</p>
<p style="text-align: left;"><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/results-analysis.jpg"><img class="size-medium wp-image-774 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/results-analysis.jpg" alt="results-analysis" width="447" height="336" /></a></p>
<p style="text-align: left;">Step 2 &#8211; Select the Set Filter\Group By option by clicking on (Ctrl T):</p>
<p style="text-align: left;"><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/group-by-icon.jpg"><img class="size-full wp-image-787 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/group-by-icon.jpg" alt="group-by-icon" width="162" height="66" /></a></p>
<p style="text-align: left;">And group by emulated location:</p>
<p style="text-align: left;"><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/group-by-emulated-location.jpg"><img class="size-full wp-image-772 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/group-by-emulated-location.jpg" alt="group-by-emulated-location" width="420" height="293" /></a></p>
<p style="text-align: left;">Step 3 &#8211; We want to present the data as a bar chart, so we select the display options (Ctrl I):</p>
<p style="text-align: left;"><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/display-options-icon.jpg"><img class="size-full wp-image-788 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/display-options-icon.jpg" alt="display-options-icon" width="117" height="32" /></a></p>
<p style="text-align: left;">And setup a Bar chart with the following options:</p>
<p style="text-align: left;"><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/display-options.jpg"><img class="size-full wp-image-771 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/display-options.jpg" alt="display-options" width="416" height="377" /></a></p>
<p style="text-align: left;">Finally, we get the report we were looking for (below), answering the question:</p>
<p style="text-align: left;">&#8220;How will this application perform for a remote user compared to a local user?&#8221;</p>
<p style="text-align: left;">The local user response time is identified by the transactions with the &#8220;No WAN Emulation&#8221; suffix, the Chicago user is identified by the transactions with the Chicago suffix (click on the thumbnail to view the large image).</p>
<p style="text-align: left;"><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/results-graph.jpg"><img class="size-full wp-image-775 alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/02/results-graph.jpg" alt="results-graph" width="430" height="310" /></a></p>
<p style="text-align: left;">Hope this helps, stay tuned for more use cases and tutorials.</p>
<p style="text-align: left;">Best,</p>
<p style="text-align: left;">Amichai</p>
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://www.shunra.com/shunrablog/index.php/2009/02/26/loadrunner-conditions/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Replacing Remote Load Generators</title>
		<link>http://www.shunra.com/shunrablog/index.php/2008/11/19/replacing-remote-load-generators/</link>
		<comments>http://www.shunra.com/shunrablog/index.php/2008/11/19/replacing-remote-load-generators/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 22:25:55 +0000</pubDate>
		<dc:creator>Dave Berg</dc:creator>
				<category><![CDATA[Staff Posts]]></category>
		<category><![CDATA[Load Generator]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Network Emulation]]></category>
		<category><![CDATA[Shunra]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[WAN Emulation]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://applicationtesting.wordpress.com/?p=140</guid>
		<description><![CDATA[Have you ever tried to run a test, only to find that your Load Generators half-way around the world are not responding? If any of that sounds familiar, then you might want to consider using network emulation instead of deploying Load Generators around the globe. By using an emulation solution, you can bring your testing [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">Have you ever tried to run a test, only to find that your Load Generators half-way around the world are not responding?</p>
<p class="MsoNormal">If any of that sounds familiar, then you might want to consider using network emulation instead of deploying Load Generators around the globe. By using an emulation solution, you can bring your testing back into a controlled lab environment. The benefits of doing that include:</p>
<ul>
<li>Repeatability: by controlling your whole environment, you can quickly run and reproduce exactly the tests that you want.</li>
<li>Reduced cost: no need to install and administer remote machines, or the people to maintain them</li>
<li>Reduced time: stable testing environment means less test runs to get reliable results, less setup time – ever try to download a 1GB installer over a slow network?</li>
</ul>
<p class="MsoNormal">And many more…</p>
<p class="MsoNormal">The first question that should come to mind is, “will an emulated solution be as accurate as using the actual production network?” The short answer is yes. The long answer needs to point out that testing over the production network is not “accurate” in the first place. Example: if you run your load tests during off hours, what relevance does that have when the actual users try to work during peak network times? Very little.</p>
<p class="MsoNormal">If you’re still convinced that you need to model you’re production environment to a high level of accuracy, then you’re still in luck. With network emulation, it is possible to closely model production networks. When measuring on average transaction response time, we typically see correlations around 95%. It should be pointed out that, to get these numbers several runs over the production network are needed so a true average can be understood. When running in an emulated network environment, a single test run is usually sufficient.</p>
<p class="MsoNormal">Practically speaking, the 80/20 rule applies here as well. If you can get your emulated network to perform at 80% or closer to the actual conditions that your users will operate in, then you’ll be able to far exceed any testing value that you’re getting out of deploying Load Generators around the network.</p>
<p class="MsoNormal">Remember that network emulation empowers you to return your testing to what it was originally designed to be – a scientific experiment. Once you use network emulation to get all of the variables under your control, you can quickly configure and run tests, troubleshoot, and present results with confidence.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shunra.com/shunrablog/index.php/2008/11/19/replacing-remote-load-generators/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

