<?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; Packet Loss</title>
	<atom:link href="http://www.shunra.com/shunrablog/index.php/tag/packet-loss/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>Testing 3G Hand Held Inventory Devices using Shunra Virtual Enterprise (VE) Suite</title>
		<link>http://www.shunra.com/shunrablog/index.php/2010/02/08/testing-3g-hand-held-inventory-devices-using-shunra-virtual-enterprise-ve-suite/</link>
		<comments>http://www.shunra.com/shunrablog/index.php/2010/02/08/testing-3g-hand-held-inventory-devices-using-shunra-virtual-enterprise-ve-suite/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 21:50:35 +0000</pubDate>
		<dc:creator>Yigal Gafni</dc:creator>
				<category><![CDATA[Featured Post]]></category>
		<category><![CDATA[Staff Posts]]></category>
		<category><![CDATA[3G carrier]]></category>
		<category><![CDATA[Application Performance]]></category>
		<category><![CDATA[application roll out]]></category>
		<category><![CDATA[application traffic]]></category>
		<category><![CDATA[AT&T 3G]]></category>
		<category><![CDATA[Bandwidth]]></category>
		<category><![CDATA[Data Center Relocation]]></category>
		<category><![CDATA[Inc. WAN Emulation]]></category>
		<category><![CDATA[Latency]]></category>
		<category><![CDATA[Network Emulator]]></category>
		<category><![CDATA[Network Performance]]></category>
		<category><![CDATA[Packet Loss]]></category>
		<category><![CDATA[scan barcodes]]></category>
		<category><![CDATA[Shunra]]></category>
		<category><![CDATA[Shunra Software]]></category>
		<category><![CDATA[Sprint]]></category>
		<category><![CDATA[VE Network Catcher]]></category>
		<category><![CDATA[WAN Performance]]></category>
		<category><![CDATA[Web Performance]]></category>
		<category><![CDATA[wireless infrastructure]]></category>

		<guid isPermaLink="false">http://www.shunra.com/shunrablog/?p=1874</guid>
		<description><![CDATA[I was approached a couple of days ago by one of our large customers, a major food manufacturer, to help them design a testing cycle for an hand-held device, to scan barcodes on their product’s pallets, as they are being unloaded from supply trucks into their regional depots. The devices utilize a LAN based  wireless [...]]]></description>
			<content:encoded><![CDATA[<p>I was approached a couple of days ago by one of our large customers, a major food manufacturer, to help them design a testing cycle for an hand-held device, to scan barcodes on their product’s pallets, as they are being unloaded from supply trucks into their regional depots. The devices utilize a LAN based  wireless infrastructure, but can also switch to a 3G carrier based network, for backup and if they step outside the normal coverage of the WLAN infrastructure. Each device is fitted with a 3G mini card, similar in nature to the ones we all carry on our laptops.  The custom made application is very lead, and send only about 200kbps of traffic. The 3G bandwidth is asynchronous in nature, 1370kbps download, and 512 kbps upload.</p>
<p>Given the application traffic requirements, the challenge is not going to be the amount of traffic (Throughput) , but rather the network conditions, or impairments, that are affecting how the application traffic is going to be transmitted over the network, eventually arriving at the corporate data center south of the nation’s capital.</p>
<p>Using <a href="http://www.shunra.com/ve-network-catcher.php?keyword=VE%20Network%20Catcher" target="_blank">VE Catcher 4.6</a>, a model of the latency and packet loss characteristics was created, for a period of 10 days. Two separate devices where utilized, on one AT&amp;T 3G network, the other, on the Sprint network, to ensure carrier availability (the project call for a 50% split among the networks).  A pilot site, south of the data center, was selected, and <a href="http://www.shunra.com/ve-network-catcher.php?keyword=VE%20Network%20Catcher" target="_blank">VE Catcher</a> created two parallel recordings, one for device “A” and another for device in the alternative carrier.</p>
<p><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2010/02/barcode-scanner-graph1.jpg"><img class="alignnone" src="http://www.shunra.com/shunrablog/wp-content/uploads/2010/02/barcode-scanner-graph1.jpg" alt="" width="530" height="370" /></a></p>
<p>Once the behavioral model has been created, <a href="http://www.shunra.com/ve-appliance.php?keyword=VE%20Appliance" target="_blank">Shunra’s Virtual Enterprise appliance</a> will allow creating a “test-bed” where the application will be sending real traffic to the data center over an emulated link. The network conditions will be imported from VE Catcher and reflect the exact conditions observed at each of the 3G carriers.</p>
<p><a href="http://www.shunra.com/shunrablog/wp-content/uploads/2010/02/barcode-reader-diagram.jpg"><img class="alignleft size-full wp-image-1886" title="barcode-reader-diagram" src="http://www.shunra.com/shunrablog/wp-content/uploads/2010/02/barcode-reader-diagram.jpg" alt="" width="530" /></a></p>
<p>The performance of the application, running over the emulated links will allow the testing team to predict the behavior of the application well before field deployment is completed, and make adjustments required by the application and also predict behavior under extreme conditions, like heavy network traffic, inclement weather or other events.</p>
<p>You may not always use <a href="http://www.shunra.com/wan-emulation.php">WAN emulation,</a> but when you do, use <a href="http://www.shunra.com">Shunra</a>.</p>
<p>Shunra Virtual Enterprise is your guaranty to a successful deployment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shunra.com/shunrablog/index.php/2010/02/08/testing-3g-hand-held-inventory-devices-using-shunra-virtual-enterprise-ve-suite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WAN symptoms within Cloud type Data Centers – Why would we test something like this?</title>
		<link>http://www.shunra.com/shunrablog/index.php/2010/01/25/wan-symptoms-within-cloud-type-data-centers-why-would-we-test-something-like-this/</link>
		<comments>http://www.shunra.com/shunrablog/index.php/2010/01/25/wan-symptoms-within-cloud-type-data-centers-why-would-we-test-something-like-this/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 15:53:39 +0000</pubDate>
		<dc:creator>Alex Weiss</dc:creator>
				<category><![CDATA[Featured Post]]></category>
		<category><![CDATA[Staff Posts]]></category>
		<category><![CDATA[Application Performance]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Cloud computing Data Centers]]></category>
		<category><![CDATA[Data Center]]></category>
		<category><![CDATA[Latency]]></category>
		<category><![CDATA[Network Performance]]></category>
		<category><![CDATA[Packet Loss]]></category>
		<category><![CDATA[Shunra Software]]></category>
		<category><![CDATA[User Experience]]></category>
		<category><![CDATA[WAN]]></category>
		<category><![CDATA[WAN behavior]]></category>
		<category><![CDATA[Web Performance]]></category>

		<guid isPermaLink="false">http://www.shunra.com/shunrablog/?p=1859</guid>
		<description><![CDATA[WAN symptoms in question are latency, packet loss, disconnects, bit errors, etc. usually exist on Wide Area Networks and as a result cause applications performance degradation. But our WAN’s essentially are LAN’s connected with each other and those connections impose geographical distance between those LANs, thus creating “WAN behavior”. Inside individual LANs those issues happen [...]]]></description>
			<content:encoded><![CDATA[<p>WAN symptoms in question are latency, packet loss,  disconnects, bit errors, etc. usually exist on Wide Area Networks and as a  result cause applications performance degradation. But our WAN’s essentially are  LAN’s connected with each other and those connections impose geographical  distance between those LANs, thus creating “WAN behavior”. Inside individual  LANs those issues happen rarely and if they happen – we have teams that are  ready to go and trouble shoot them right away. The issues may be caused by  malfunctioning hardware or faulty software running on the  hardware.</p>
<p>When do these issues become as important in LANs as they are  in WANs? Probably when our LAN becomes huge – such as Cloud computing Data  Centers.</p>
<p>These Data Centers are interconnected with each other and one  of the main differences with our traditional Data Centers is that they are  managed automatically by very complex and smart management systems. These  systems are capable of automatically allocate hardware and software resources  for our applications, maintain these resources and expand/decrease capacity of  the infrastructure based on the application demands almost in real time.</p>
<p>So imagine that the system is scheduled to perform an OS  upgrade on the managed infrastructure: it will download OS images on thousands  of machines thus creating huge traffic congestion within the Data Center. What  will happen to the system that knows only how to work on LAN and was never  tested on coping with delays? Packet Loss? – it might go down partially or  completely. Since it was not tested – how can we know? (Sounds a little like  Skynet scenario in Terminator, doesn’t it?)</p>
<p>The importance of the management system performance becomes  utmost in this case and it makes sense to test how the system will react to the  issues that now might happen within it, doesn’t it?</p>
<p>This is where WAN emulation solution can help – it can create  those conditions within the Data Center or between the Cloud Data Centers and  the “unexpected” can become “expected” and fixed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shunra.com/shunrablog/index.php/2010/01/25/wan-symptoms-within-cloud-type-data-centers-why-would-we-test-something-like-this/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is IPTV coming to your home sooner than expected?</title>
		<link>http://www.shunra.com/shunrablog/index.php/2009/12/22/is-iptv-coming-to-your-home-sooner-than-expected/</link>
		<comments>http://www.shunra.com/shunrablog/index.php/2009/12/22/is-iptv-coming-to-your-home-sooner-than-expected/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 20:03:54 +0000</pubDate>
		<dc:creator>Yigal Gafni</dc:creator>
				<category><![CDATA[Featured Post]]></category>
		<category><![CDATA[Staff Posts]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Application Performance]]></category>
		<category><![CDATA[Bandwidth]]></category>
		<category><![CDATA[IPTV]]></category>
		<category><![CDATA[Jitter]]></category>
		<category><![CDATA[Latency]]></category>
		<category><![CDATA[Load testing]]></category>
		<category><![CDATA[Packet Loss]]></category>
		<category><![CDATA[Shunra]]></category>
		<category><![CDATA[Shunra Software]]></category>
		<category><![CDATA[User Experience]]></category>

		<guid isPermaLink="false">http://www.shunra.com/shunrablog/?p=1802</guid>
		<description><![CDATA[In today’s Business section of the New York Times, there is an article by Brian Stelter (December 22, 2009) about a proposal by Apple computer to offer TV subscription packages via the Internet.  The article points out that ABC and CBS are actively considering joining the Apple venture. Disney, who owns ABC, was the first [...]]]></description>
			<content:encoded><![CDATA[<p>In today’s Business section of the New York Times, there is an article by <a href="http://topics.nytimes.com/topics/reference/timestopics/people/s/brian_stelter/index.html" target="_blank">Brian Stelter</a> (December 22, 2009) about a proposal by Apple computer to offer TV subscription packages via the Internet.  The article points out that ABC and CBS are actively considering joining the Apple venture. Disney, who owns ABC, was the first major network to sell single TV episodes on ITunes four years ago. In another article on the Wall Street Journal Online website, <a href="http://samschechner.com/" target="_blank">Sam Schechner</a> claims that Apple wants to start delivering the package sometime in 2010.  Another source was quoting the projected offering at $30 a month, using the existing ITunes delivery mechanism. (<a href="http://online.wsj.com/article/SB10001424052748703344704574610491399388448.html">View article</a>)</p>
<p>While actual deployment may be month away, it is important to remember that the transport mechanism, open Internet over an IP Core will require substantial testing of the end user experience. <a href="http://www.shunra.com/voip-deployment-services.php" target="_blank">IPTV</a> is a protocol sensitive to network conditions, like latency and packet loss.  Any successful implementation will have to include significant bandwidth allocation testing, as well as load under latency, jitter and packet loss.</p>
<p><img class="aligncenter size-full wp-image-1808" title="yigal post pic2" src="http://www.shunra.com/shunrablog/wp-content/uploads/2009/12/yigal-post-pic22.bmp" alt="yigal post pic2" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shunra.com/shunrablog/index.php/2009/12/22/is-iptv-coming-to-your-home-sooner-than-expected/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building Applications for a Remote Datacenter Part 1. The network impact</title>
		<link>http://www.shunra.com/shunrablog/index.php/2009/10/13/building-applications-for-a-remote-datacenter-part-1-the-network-impact/</link>
		<comments>http://www.shunra.com/shunrablog/index.php/2009/10/13/building-applications-for-a-remote-datacenter-part-1-the-network-impact/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 20:00:00 +0000</pubDate>
		<dc:creator>Amichai Lesser</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Featured Post]]></category>
		<category><![CDATA[Staff Posts]]></category>
		<category><![CDATA[Application Development]]></category>
		<category><![CDATA[Application Performance]]></category>
		<category><![CDATA[Application Performance Management]]></category>
		<category><![CDATA[Application Testing]]></category>
		<category><![CDATA[Bandwidth]]></category>
		<category><![CDATA[glossary]]></category>
		<category><![CDATA[Jitter]]></category>
		<category><![CDATA[Latency]]></category>
		<category><![CDATA[Network Emulation]]></category>
		<category><![CDATA[Network Emulator]]></category>
		<category><![CDATA[Network Performance]]></category>
		<category><![CDATA[Packet Loss]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Performance Engineering]]></category>
		<category><![CDATA[WAN Emulation]]></category>
		<category><![CDATA[WAN Optimization]]></category>
		<category><![CDATA[WAN Performance]]></category>
		<category><![CDATA[WAN Simulation]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Performance]]></category>

		<guid isPermaLink="false">http://www.shunra.com/shunrablog/?p=1666</guid>
		<description><![CDATA[This series of posts is about the day after a data center move. Now that the data center is remote, how does this paradigm shift impact the way we should develop, test, deploy, monitor and troubleshoot applications. I will try to cover as many topics as possible, but the main focus is still going to be around the role application performance management plays in this new paradigm.]]></description>
			<content:encoded><![CDATA[<p>Ten years ago most organizations still had their data center located next to headquarters. Then 9/11 happened and the east cost blackout happened and Katrina, along with heavy increases in energy prices and real estate prices, Sarbanes-Oxley storage requirements, HIPAA security requirements and suddenly it didn&#8217;t make a lot of sense to keep the data center in proximity to headquarters. Therefore, in the past 10 years the IT world has experienced a growing trend of more and more companies migrating their data centers to remote locations (south and central US seem to be popular destinations for hosting data centers for North American companies). I wrote a lot about the impact that such a move has on application performance, there is even a whitepaper here: <a href="http://www.shunra.com/predicting-the-impact-of-data-center-moves-on-application-performance-whitepaper.php">http://www.shunra.com/predicting-the-impact-of-data-center-moves-on-application-performance-whitepaper.php</a></p>
<p>However this series of posts is about the day after a data center move. Now that the data center is remote, how does this paradigm shift impact the way we should develop, test, deploy, monitor and troubleshoot applications. I will try to cover as many topics as possible, but the main focus is still going to be around the role application performance management plays in this new paradigm.</p>
<p>I will start by covering the key reasons behind the performance impact that is experienced when applications are hosted in a remote data center? Those reasons are fairly intuitive, but it is important to understand them in depth in order to adequately plan for those new conditions. Two main things impact how applications perform when application servers are hosted in a remote data center vis a vis their application clients :</p>
<p>1. <strong>The performance of the network link between the client and the remote data center. </strong>This performance is defined by a set of network performance metrics that are <strong>application independent </strong>(for now we will ignore application aware networks, however the following basic concepts still hold in this scenario as well).</p>
<p>2. <strong>The application efficiency, specifically how efficient the application is when transferring data between the client and the remote server </strong>(and other tiers if applicable). This is an application attribute (and some time an attribute of a specific business process within the application). These attributes are <strong>application specific </strong>and are <strong>independent of any underlying network.</strong></p>
<p>Let&#8217;s start with understanding the network performance metrics. Consider the following scenario:</p>
<p>An application is hosted in a NYC data center, with users in 2 places, some are in a NYC headquarters next to that NYC data center and some are in a remote branch that is located in San Francisco. The question is: &#8220;will the application perform the same for both type of users (local users in headquarters and remote users in SF)? In other words will the application be as responsive to the San Francisco user as it is to the NYC user?”</p>
<p>Well the obvious answer is NO, in most cases a NYC user will enjoy a faster more responsive application. What is less obvious is why? What is it about the network that causes remote users to experience a slower application than local users? The rest of this post will cover that question, future posts will address the application specific attributes. Once we cover that we will be ready to examine best practices in building applications for a remote data center.</p>
<p>When I ask this question during my training seminars, I get a variety of answers, many of them are the right ones, but I would like to address one wrong answer that keeps repeating itself for some reason.</p>
<p><strong>Collisions</strong> – there is a general conception that collisions are common phenomena on the network which can explain any bad thing that happens to applications. The truth is that collisions are almost a thing of the past (on Enterprise LANs anyhow) and even when they happen they can’t explain why a remote user has a worst experience than a local user as both will experience a similar collision chance since collisions is a phenomenon that happens on local area Ethernet networks. If there are collisions on the Enterprise LAN it usually points to a configuration issue on a network device (like a duplex miss-match) but is still unrelated to the answer to our question.</p>
<p>Now to the right answers to the question, what is it about the Wide Area Network that causes applications to slow down:</p>
<p>There are 5 key conditions that predominately exist on Wide Area Networks and impact application performance, each in their own way:</p>
<p>1. <a href="http://www.shunra.com/shunrablog/index.php/2009/06/25/network-latency/"><strong>N</strong></a><strong><a href="http://www.shunra.com/shunrablog/index.php/2009/06/25/network-latency/">etwork Latency</a> </strong>– the time it takes a packet to traverse from a source to the destination across the network, measured in milliseconds [msec]. A typical WAN link will introduce latency in the range of 10msec – 500 msec.</p>
<p>2. <a href="http://www.shunra.com/shunrablog/index.php/2009/06/25/bandwidth-a-glossary-post/"><strong>Bandwidth constraints</strong></a> – how fast can data be processed by the network link, measured in bits per second [bps, Kbps, Mbps, Gbps]</p>
<p>3. <a href="http://www.shunra.com/shunrablog/index.php/2009/06/25/bandwidth-a-glossary-post/"><strong>B</strong><strong>andwidth utilization</strong></a><a href="http://www.excellingit.com/?p=14" target="_blank"> </a>(background traffic) – the percentage of bandwidth that is utilized by traffic that already exists on the link (background traffic).</p>
<p>4. <a href="http://www.shunra.com/shunrablog/index.php/2009/06/25/jitter-a-glossary-post/" target="_blank"><strong>Jitter</strong> </a>– the deviation of the inter packet gap of sequential packets across a network link, it is a result of the deviation of the network latency and is sometimes used interchangeably with that standard deviation, measured in milliseconds [msec].</p>
<p>5. <a href="http://www.shunra.com/shunrablog/index.php/2009/06/25/packet-loss-a-glossary-post/" target="_blank"><strong>Packet Loss</strong> </a>– the chance to drop a packet across an end to end network link, measured in %. Sometimes presented as the inverse metric called packet delivery rate.</p>
<p>The above are called network impairments, you can click on each one of the links to learn more about them and their causes.</p>
<p>Network impairments are performance conditions that inhibit the flow of data across a network. Each impairment type has an impact on the performance of business applications and network services. Some applications may be very sensitive to network impairments and some may be almost network agnostic. Sorting applications based on their network sensitivity is one of the important steps in performance engineering</p>
<p>In the next post we will discuss how application design can impact performance across the network. But in the mean time I would like to introduce a question for the group:</p>
<p>“We identified network latency as one of the key reasons that impact application performance; we also said that a typical WAN link will introduce 10 – 500 msec of latency. The question is, why does network latency have a big impact on application performance? surely a user doesn’t notice an increase of a few msec in response time, even 500 msec = ½ second goes by in a flinch. So think about it and let me know what you found based on your experience, why does network latency have such a big impact on application performance?”</p>
<p>Until next time,</p>
<p>Amichai Lesser</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shunra.com/shunrablog/index.php/2009/10/13/building-applications-for-a-remote-datacenter-part-1-the-network-impact/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cloud computing adoption rises so what should you do about it?</title>
		<link>http://www.shunra.com/shunrablog/index.php/2009/09/11/cloud-computing-adoption-rises-so-what-should-you-do-about-it/</link>
		<comments>http://www.shunra.com/shunrablog/index.php/2009/09/11/cloud-computing-adoption-rises-so-what-should-you-do-about-it/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 19:12:13 +0000</pubDate>
		<dc:creator>Amichai Lesser</dc:creator>
				<category><![CDATA[Featured Post]]></category>
		<category><![CDATA[Staff Posts]]></category>
		<category><![CDATA[Application Development]]></category>
		<category><![CDATA[Application Performance Management]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[HP LoadRunner]]></category>
		<category><![CDATA[Network Analysis]]></category>
		<category><![CDATA[Network Simulation]]></category>
		<category><![CDATA[Packet Loss]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Performance Engineering]]></category>
		<category><![CDATA[Shunra]]></category>
		<category><![CDATA[Shunra Software]]></category>
		<category><![CDATA[User Experience]]></category>
		<category><![CDATA[WAN Optimization]]></category>
		<category><![CDATA[WAN Performance]]></category>

		<guid isPermaLink="false">http://www.shunra.com/shunrablog/?p=1623</guid>
		<description><![CDATA[I have been meaning to address the impact that cloud computing has on performance engineering but haven&#8217;t had the time to rigorously tackle this issue. After all, there are serious implications both for vendors that deliver applications and services from the Cloud as well as enterprises that are rapidly migrating more and more services to [...]]]></description>
			<content:encoded><![CDATA[<p>I have been meaning to address the impact that cloud computing has on performance engineering but haven&#8217;t had the time to rigorously tackle this issue. After all, there are serious implications both for vendors that deliver applications and services from the Cloud as well as enterprises that are rapidly migrating more and more services to both internal and external computing clouds.</p>
<p>Which is why I was glad to stumble upon Shamus McGillicuddy article in www.searchenterpriseWAN.com titled &#8220;WAN engineers prepare networks as cloud computing adoption rises&#8221; that can be found <a href="http://searchenterprisewan.techtarget.com/news/article/0,289142,sid200_gci1366102,00.html?track=sy444">here.</a></p>
<p>There are some good observations in the article, I especially appreciate the comment on how application architecture best practices such as minimizing application turns become key when developing applications for the Cloud as well as testing applications for network latency becomes critical as the enterprise is migrating more and more applications to the Cloud.</p>
<p>Many questions still remain though and the impact of Cloud computing on performance engineering is still to be determined. Some of the questions that are on my mind are: (and feel free to chime in with more questions or attempts at answers)</p>
<p>1. How do you manage the performance of an application in the Cloud?</p>
<p>2. What changes if any are needed to the service deployment model and version upgrades?</p>
<p>3. How do you conduct a performance test for an application or a service in the Cloud (internal clouds and external clouds)?</p>
<p>4. How do you troubleshoot a performance issue in the Cloud?</p>
<p>Something to think about&#8230;</p>
<p>Best,</p>
<p>Amichai Lesser</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shunra.com/shunrablog/index.php/2009/09/11/cloud-computing-adoption-rises-so-what-should-you-do-about-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Packet Loss &#8211; a glossary post</title>
		<link>http://www.shunra.com/shunrablog/index.php/2009/06/25/packet-loss-a-glossary-post/</link>
		<comments>http://www.shunra.com/shunrablog/index.php/2009/06/25/packet-loss-a-glossary-post/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 21:17:36 +0000</pubDate>
		<dc:creator>Amichai Lesser</dc:creator>
				<category><![CDATA[Staff Posts]]></category>
		<category><![CDATA[glossary]]></category>
		<category><![CDATA[Packet Loss]]></category>

		<guid isPermaLink="false">http://www.shunra.com/shunrablog/?p=1268</guid>
		<description><![CDATA[Packet Loss: The term “packet loss” is used to describe the probability of dropping a packet at any point across the network link. The key reasons for packet loss across a network are:   When networks get congested over a long period of time the router buffers get saturated which at some point leads to a situation [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 12pt;"><strong>Packet Loss: </strong></span></p>
<div><span style="font-size: 12pt;">The term “packet loss” is used to describe the probability of dropping a packet at any point across the </span><span style="font-size: 12pt;">network link. T</span><span style="font-size: 12pt;">he key reasons for packet loss across a network are:</span></div>
<div> </div>
<ul>
<li><span style="font-size: 12pt;">When networks get congested over a long period of time the router buffers get saturated which at some point leads to a situation where there is no room to store more pakets in the buffers, so new arriving packets get dropped</span></li>
<li><span style="font-size: 12pt;">Some routers implement a mechanism called random early detection, since IP doesn’t provide any explicit way to indicate that the network is congested, <span style="font-size: 12pt;">routers use loss for that purpose. Such loss is a way of communicating back to the users the need to </span><span style="font-size: 12pt;">scale back the offered load on the network. RED is becoming less common as new QoS techniques are used to implement rate control.</span></span></li>
<li><span style="font-size: 12pt;"><span style="font-size: 12pt;">Communications across wireless and cellular networks may encounter packet loss due to interference or a weak signal</span></span></li>
<li><span style="font-size: 12pt;"><span style="font-size: 12pt;">Hardware and cable errors are a common cause of packet loss</span></span></li>
</ul>
<p><span style="font-size: 12pt;">From the network perspective, loss can be categorized as </span><span style="font-size: 12pt;"><strong>random loss </strong></span><span style="font-size: 12pt;">or loss due to </span><span style="font-size: 12pt;"><strong>congestion</strong></span><span style="font-size: 12pt;">. </span><span style="font-size: 12pt;">The average packet loss rate for a network connection gives an overall sense of the quality of the </span><span style="font-size: 12pt;">connection. A connection with less than 1 percent average packet loss is considered a decent </span><span style="font-size: 12pt;">connection. But average loss doesn’t tell the whole story. There is importance to the type, or pattern, </span><span style="font-size: 12pt;">of packet loss. There are at least two kinds of packet loss that should be considered: </span><span style="font-size: 12pt;">‘Random’ loss and ‘Burst’ loss. To explain the difference between them, let’s suppose we are trying to </span><span style="font-size: 12pt;">run 2 Voice over IP conversation over 2 links that have an average of 1 percent packet loss. Call A </span><span style="font-size: 12pt;">loses one packet in every 100 packets over the entire call (random loss) while Call B loses 100 packets in two </span><span style="font-size: 12pt;">incidents &#8211; at the beginning and the end of the call (burst loss). Which call would you rather have? </span><span style="font-size: 12pt;">That’s why it is important to consider not just the average packet loss but also the type of loss and </span><span style="font-size: 12pt;">information on any bursts of packet loss over time.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shunra.com/shunrablog/index.php/2009/06/25/packet-loss-a-glossary-post/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What’s new in LoadRunner 9.5 &#8211; the rest of the story</title>
		<link>http://www.shunra.com/shunrablog/index.php/2009/03/25/whats-new-in-loadrunner-95-the-rest-of-the-story/</link>
		<comments>http://www.shunra.com/shunrablog/index.php/2009/03/25/whats-new-in-loadrunner-95-the-rest-of-the-story/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 20:29:32 +0000</pubDate>
		<dc:creator>Dave Berg</dc:creator>
				<category><![CDATA[Staff Posts]]></category>
		<category><![CDATA[Application Performance Management]]></category>
		<category><![CDATA[Dave Berg]]></category>
		<category><![CDATA[David Berg]]></category>
		<category><![CDATA[HP]]></category>
		<category><![CDATA[HP LoadRunner]]></category>
		<category><![CDATA[HP Performance Center]]></category>
		<category><![CDATA[HP Software]]></category>
		<category><![CDATA[Jitter]]></category>
		<category><![CDATA[Latency]]></category>
		<category><![CDATA[Network Analysis]]></category>
		<category><![CDATA[Network Application Performance]]></category>
		<category><![CDATA[Network Emulation]]></category>
		<category><![CDATA[Network Emulator]]></category>
		<category><![CDATA[Network Modeling]]></category>
		<category><![CDATA[Network Performance]]></category>
		<category><![CDATA[Network Simulation]]></category>
		<category><![CDATA[Network Simulator]]></category>
		<category><![CDATA[Network Test]]></category>
		<category><![CDATA[Packet Loss]]></category>
		<category><![CDATA[Shunra]]></category>
		<category><![CDATA[Shunra Software]]></category>
		<category><![CDATA[VE Desktop]]></category>
		<category><![CDATA[WAN Emulation]]></category>
		<category><![CDATA[WAN Emulator]]></category>
		<category><![CDATA[WAN Optimization]]></category>
		<category><![CDATA[WAN Simulation]]></category>
		<category><![CDATA[WAN Test]]></category>

		<guid isPermaLink="false">http://www.shunra.com/shunrablog/?p=1071</guid>
		<description><![CDATA[One of my favorite partners to work with is LoadTester.  Not only are they competent and efficient, but they are nice and will tell you what they really think.  Their latest update on HP’s latest release of LoadRunner 9.5 goes into a lot more detail than any readme file will, with perspective and colorful commentary [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="color: black; font-family: Arial;"><span style="font-size: small;">One of my favorite partners to work with is </span><a href="http://www.loadtester.com/" target="_blank"><span style="font-size: small;">LoadTester</span></a><span style="font-size: small;">.  Not only are they competent and efficient, but they are nice and will tell you what they really think.  Their latest update on HP’s latest release of </span><a href="https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&amp;cp=1-11-126-17%5E8_4000_100__" target="_blank"><span style="font-size: small;">LoadRunner </span></a><span style="font-size: small;">9.5 goes into a lot more detail than any readme file will, with perspective and colorful commentary around each of the improvements that might be important to you.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;">
<p class="MsoNormal" style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="color: black; font-family: Arial;"><span style="font-size: small;">Of the topics covered, WAN emulation is clearly closest to my heart, but please be sure to read up on Microsoft Vista support, the new RDP agent, and what is happening with LoadRunner’s Analysis API.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="color: black; font-family: Arial;"><span style="font-size: small;">To read the full story, click </span><a href="http://www.loadtester.com/loadrunner-95-whats-new" target="_blank"><span style="font-size: small;">here</span></a><span style="font-size: small;">.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;">
<p class="MsoNormal" style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="color: black; font-family: Arial;"><span style="font-size: small;">Do you plan to move to LoadRunner 9.5 or Performance Center 9.5 in the near future?  Will the integration with </span><a href="http://www.shunra.com/shunra_ve_desktop_for_hp_software.php" target="_blank"><span style="font-size: small;">Shunra’s WAN emulation</span></a><span style="font-size: small;"> motivate you to upgrade or accelerate your upgrade schedule?</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shunra.com/shunrablog/index.php/2009/03/25/whats-new-in-loadrunner-95-the-rest-of-the-story/feed/</wfw:commentRss>
		<slash:comments>0</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>VE Desktop for HP Software 5.0 versus LoadRunner MWE</title>
		<link>http://www.shunra.com/shunrablog/index.php/2009/03/06/ve-desktop-for-hp-software-50-versus-loadrunner-mwe/</link>
		<comments>http://www.shunra.com/shunrablog/index.php/2009/03/06/ve-desktop-for-hp-software-50-versus-loadrunner-mwe/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 17:06:30 +0000</pubDate>
		<dc:creator>Dave Berg</dc:creator>
				<category><![CDATA[Staff Posts]]></category>
		<category><![CDATA[Application Performance Management]]></category>
		<category><![CDATA[HP]]></category>
		<category><![CDATA[HP LoadRunner]]></category>
		<category><![CDATA[HP Performance Center]]></category>
		<category><![CDATA[HP Software]]></category>
		<category><![CDATA[Jitter]]></category>
		<category><![CDATA[Latency]]></category>
		<category><![CDATA[Mercury Tools]]></category>
		<category><![CDATA[Mercury Wan Emulation]]></category>
		<category><![CDATA[MWE]]></category>
		<category><![CDATA[Network Analysis]]></category>
		<category><![CDATA[Network Application Performance]]></category>
		<category><![CDATA[Network Emulation]]></category>
		<category><![CDATA[Network Emulator]]></category>
		<category><![CDATA[Network Modeling]]></category>
		<category><![CDATA[Network Performance]]></category>
		<category><![CDATA[Network Simulation]]></category>
		<category><![CDATA[Network Simulator]]></category>
		<category><![CDATA[Network Test]]></category>
		<category><![CDATA[Packet Loss]]></category>
		<category><![CDATA[Shunra]]></category>
		<category><![CDATA[Shunra Software]]></category>
		<category><![CDATA[VE Desktop]]></category>
		<category><![CDATA[VE Desktop for HP Software]]></category>
		<category><![CDATA[WAN Emulation]]></category>
		<category><![CDATA[WAN Emulator]]></category>
		<category><![CDATA[WAN Optimization]]></category>
		<category><![CDATA[WAN Simulation]]></category>
		<category><![CDATA[WAN Test]]></category>

		<guid isPermaLink="false">http://www.shunra.com/shunrablog/?p=819</guid>
		<description><![CDATA[Earlier this week, Shunra announced the release of a new product, VE Desktop for HP Software 5.0.  This product is embedded into HP’s LoadRunner 9.5 and Performance Center 9.5 products and from the surface, looks a lot like a previous feature in LoadRunner called Mercury WAN Emulation (MWE).  Because of the obvious similarities, there have [...]]]></description>
			<content:encoded><![CDATA[<p style="margin: 0in 0in 0pt;">Earlier this week, Shunra <a href="http://www.shunra.com/pr-09-shunras-wan-emulation-for-hp-software.php" target="_blank">announced the release</a> of a new product, <a href="http://www.shunra.com/shunra_ve_desktop_for_hp_software.php" target="_blank">VE Desktop for HP Software 5.0</a>.  This product is embedded into <a href="http://www.hp.com/hpinfo/newsroom/press/2009/090224xa.html?mtxs=rss-corp-news" target="_blank">HP’s LoadRunner 9.5 and Performance Center 9.5 products</a> and from the surface, looks a lot like a previous feature in LoadRunner called Mercury WAN Emulation (MWE).  Because of the obvious similarities, there have been a number of questions about the differences and any upgrade rights for legacy MWE customers.  This blog will hopefully dispel any uncertainty and give you a clear understanding of how everything works.</p>
<p style="margin: 0in 0in 0pt;">
<p class="MsoNormal" style="margin: 0in 0in 0pt;">
<p class="MsoNormal" style="margin: 0in 0in 0pt;">First off, <strong>VE Desktop for HP Software 5.0</strong> is a new product.  It is in no way related to LoadRunner MWE.  HP/Mercury customers last saw MWE in LoadRunner 8.1 (July 2005) and the feature was removed from the LoadRunner 9.x releases.</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;">
<p class="MsoNormal" style="margin: 0in 0in 0pt;">
<p class="MsoNormal" style="margin: 0in 0in 0pt;">While MWE was indeed “Powered by Shunra,” it was done so through an OEM relationship.  MWE was sold and supported by HP/Mercury.  <strong>VE Desktop for HP Software 5.0</strong> development was a collaboration between Shunra and HP.  The product is the result of both companies learning from our experiences, designing, and co-developing a new solution that would exactly meet the needs of our customers.  <strong>VE Desktop for HP Software 5.0</strong> can do everything LoadRunner MWE could, and much more.  <strong>VE Desktop for HP Software 5.0</strong> is sold and supported by Shunra.</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;">
<p class="MsoNormal" style="margin: 0in 0in 0pt;">
<p class="MsoNormal" style="margin: 0in 0in 0pt;">The top three issues we chose to address were:</p>
<p class="MsoNormal"><strong>1) Accuracy:</strong> Since the MWE did not support bandwidth emulation or jitter, the results of its emulations often did not fully reflect the real-world performance of applications being testing.  To address this, <strong>VE Desktop for HP Software </strong>supports bandwidth emulation (symmetric and asymmetric), jitter, imported network characteristics from Shunra’s <a href="http://www.shunra.com/ve-network-catcher.php" target="_blank">VE Network Catcher</a>, and a host of other network impairments aimed at precisely emulating network links.</p>
<p class="MsoNormal"><strong>2) Reporting: </strong>With MWE, there was no network specific reporting.  If a test was run with multiple locations emulated, the LoadRunner results would still show transaction response time and other metrics averaged across the whole test.  In order to understand how applications fared at individual locations, scripts would have to be modified so the script and transaction names reflected the location they were being run at.  This was very challenging to implement and maintain.  In <strong>VE Desktop for HP Software 5.0,</strong> there are no script changes required for such reporting.  For users of <strong>VE Desktop for HP Software,</strong> HP Analysis added the ability to sort results by “Emulated Location.”  HP also added the automatic import of network statistics on a per Load Generator basis.  Now users can understand their application performance by location and merge that data with network statistics like bandwidth utilization, latency and packet loss.  Finally, users can understand if the network is impacting their application performance and if so, how.</p>
<p class="MsoNormal"><strong>3) Performance Center: </strong>LoadRunner MWE had no compliment in Performance Center.  <strong>VE Desktop for HP Software 5.0 </strong>supports both <strong>LoadRunner 9.5</strong> and <strong>Performance Center 9.5</strong>.  Within Performance Center, dynamic host allocation is fully supported.</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><strong>VE Desktop for HP Software 5.0</strong> provides a lot of other benefits beyond the direct improvements over MWE.  Some of those include a robust API and protocol analysis capabilities, but those are topics for other blog posts.</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;">
<p class="MsoNormal" style="margin: 0in 0in 0pt;">I look forward to your comments on the explanations above and any feedback you have about our latest addition to the Shunra family of products.</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.shunra.com/shunrablog/index.php/2009/03/06/ve-desktop-for-hp-software-50-versus-loadrunner-mwe/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adding Network Conditions to a QTP Script &#8211; Part 1</title>
		<link>http://www.shunra.com/shunrablog/index.php/2009/03/02/adding-network-conditions-to-a-qtp-script-part-1/</link>
		<comments>http://www.shunra.com/shunrablog/index.php/2009/03/02/adding-network-conditions-to-a-qtp-script-part-1/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 20:57:24 +0000</pubDate>
		<dc:creator>Amichai Lesser</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Application Performance]]></category>
		<category><![CDATA[Application Testing]]></category>
		<category><![CDATA[Functional testing tool]]></category>
		<category><![CDATA[HP Software]]></category>
		<category><![CDATA[Latency]]></category>
		<category><![CDATA[Packet Loss]]></category>
		<category><![CDATA[QTP script]]></category>
		<category><![CDATA[Quick Test Pro]]></category>
		<category><![CDATA[Shunra Software]]></category>
		<category><![CDATA[Shunra VE Analyzer]]></category>
		<category><![CDATA[Shunra VE Desktop Professional]]></category>

		<guid isPermaLink="false">http://www.shunra.com/shunrablog/?p=571</guid>
		<description><![CDATA[Quick Test Pro (QTP) is a very useful functional testing tool and now as a result of the Shunra-HP partnership, QTP can integrate with Shunra VE Desktop Professional to automate the testing and analysis of applications under network conditions. In the following series of posts I will walk you through the process of extending QTP scripts [...]]]></description>
			<content:encoded><![CDATA[<p>Quick Test Pro (QTP) is a very useful functional testing tool and now as a result of the Shunra-HP partnership, QTP can integrate with Shunra VE Desktop Professional to automate the testing and analysis of applications under network conditions.</p>
<p>In the following series of posts I will walk you through the process of extending QTP scripts to:</p>
<ol>
<li>Test an application under network conditions such as latency, packet loss and limited bandwidth (this post)</li>
<li>Analyze the performance of application transactions under network conditions (part 2 in this series)</li>
<li>Automatically execute a test for application performance from different simulated network sites (part 3 of this series)</li>
</ol>
<p>This series will be making use of 3 tools which should be installed on the same machine:</p>
<p>Quick Test Pro from HP Software, <a href="http://www.shunra.com/ve-for-hp.php">Shunra VE Desktop Professional </a>and Shunra VE Analyzer (optional)</p>
<p>We will begin with a very simple QTP script recorded against the HP demo server hosted at <a href="http://newtours.demoaut.com">http://newtours.demoaut.com</a>.</p>
<p>In the beginning of the process the script looks like this:</p>
<pre lang="LANGUAGE">Services.StartTransaction "Sign In"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("userName").Set "amichai"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("password").SetSecure "49875eac11258595e0335617ec51bad1590a"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image("Sign-In").Click 21,4
Services.EndTransaction "Sign In"
Services.StartTransaction "SearchFlights"
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").Image("findFlights").Click 42,13
Services.EndTransaction "SearchFlights"
Services.StartTransaction "SignOff"
Browser("Welcome: Mercury Tours").Page("Select a Flight: Mercury").Link("SIGN-OFF").Click
Services.EndTransaction "SignOff"</pre>
<p>The first step in integrating QTP with VE Desktop Professional is to load the VE Desktop Professional COM object, this will be done in a code block that is located before the QTP action steps as follows:</p>
<pre lang="LANGUAGE">'Load the COM interface for VE Desktop API
Set ctrl = CreateObject("ShunraVEAPI.ShunraVEDController")</pre>
<p>Next we will activate the network conditions. This function takes, as input, a value for latency [msec] packet loss [%] and bandwidth [kbps where 0 = unlimited]</p>
<p>(NOTE: For some reason WordPress doesn&#8217;t allow the larger than and less than signs, so if you copy paste the code below, replace the Is Not statement with the appropriate logical operator)</p>
<pre lang="LANGUAGE">'Activate the following network conditions 50 msec latency, 0% packet loss and unlimited bandwidth (0)
returnStatus = ctrl.StartAdvanced(50,0,0)
If returnStatus Is Not 0 Then
	ctrl.GetLastError returnStatus, text
	Reporter.ReportEvent  micFail, "Start Advanced", text
End If</pre>
<p>By adding the 2 function calls above, the same QTP script will now run under the defined network conditions. We now simply have to remove those network conditions at the end of the script and release the COM object.</p>
<pre lang="LANGUAGE">'Stop the network impairments
returnStatus = ctrl.StopTest()
If returnStatus Is Not 0 Then
	ctrl.GetLastError returnStatus, text
	Reporter.ReportEvent  micFail, "StopTest", text
End If

'Release the COM object
Set ctrl = Nothing</pre>
<p>The complete script now looks as follows:</p>
<pre lang="LANGUAGE">'Load the COM interface for VE Desktop API
Set ctrl = CreateObject("ShunraVEAPI.ShunraVEDController")

' Activate the network conditions 50 msec latency, 0% packet loss and unlimited bandwidth (0)
returnStatus = ctrl.StartAdvanced(50,0,0)
If returnStatus Is Not 0 Then
	ctrl.GetLastError returnStatus, text
	Reporter.ReportEvent  micFail, "Start Advanced", text
End If

'BEGINNING OF THE QTP ACTION
Services.StartTransaction "Sign In"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("userName").Set "amichai"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("password").SetSecure "49875eac11258595e0335617ec51bad1590a"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image("Sign-In").Click 21,4
Services.EndTransaction "Sign In"
Services.StartTransaction "SearchFlights"
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").Image("findFlights").Click 42,13
Services.EndTransaction "SearchFlights"
Services.StartTransaction "SignOff"
Browser("Welcome: Mercury Tours").Page("Select a Flight: Mercury").Link("SIGN-OFF").Click
Services.EndTransaction "SignOff"
'END OF THE QTP ACTION

'Stop the network impairments
returnStatus = ctrl.StopTest()
If returnStatus Is Not 0 Then
	ctrl.GetLastError returnStatus, text
	Reporter.ReportEvent  micFail, "StopTest", text
End If

'Release the COM object
Set ctrl = Nothing</pre>
<p>Here is a version of the script with a few safety checks at the beginning.</p>
<p>We first remove any previous network conditions by stopping the VE Desktop test. Then we checkout a license, in case the floating license for the VE Desktop client has expired. At the end of the script we return the floating license to the license server by calling the license checking function. The complete script is presented below:</p>
<pre lang="LANGUAGE">'Load the COM interface for VE Desktop API
Set ctrl = CreateObject("ShunraVEAPI.ShunraVEDController")

'Just in case network conditions are already applied , stop the VED test
returnStatus = ctrl.StopTest()
If returnStatus Is Not 0 Then
	ctrl.GetLastError returnStatus, text
	Reporter.ReportEvent  micFail, "StopTest", text
End If

' check out a license from the VED server
returnStatus = ctrl.LicenseCheckout(5)
If returnStatus Is Not 0 Then
	ctrl.GetLastError returnStatus, text
	Reporter.ReportEvent  micFail, "License Checkout", text
End If

' Activate the network conditions 50 msec latency, 0% packet loss and unlimited bandwidth (0)
returnStatus = ctrl.StartAdvanced(50,0,0)
If returnStatus Is Not 0 Then
	ctrl.GetLastError returnStatus, text
	Reporter.ReportEvent  micFail, "Start Advanced", text
End If

'BEGINNING OF THE QTP ACTION
Services.StartTransaction "Sign In"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("userName").Set "amichai"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("password").SetSecure "49875eac11258595e0335617ec51bad1590a"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image("Sign-In").Click 21,4
Services.EndTransaction "Sign In"
Services.StartTransaction "SearchFlights"
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").Image("findFlights").Click 42,13
Services.EndTransaction "SearchFlights"
Services.StartTransaction "SignOff"
Browser("Welcome: Mercury Tours").Page("Select a Flight: Mercury").Link("SIGN-OFF").Click
Services.EndTransaction "SignOff"
'END OF THE QTP ACTION

'Stop the network impairments
returnStatus = ctrl.StopTest()
If returnStatus Is Not 0 Then
	ctrl.GetLastError returnStatus, text
	Reporter.ReportEvent  micFail, "StopTest", text
End If

returnStatus = ctrl.LicenseCheckin()
If returnStatus Is Not 0 Then
	ctrl.GetLastError returnStatus, text
	Reporter.ReportEvent  micFail, "License Check In", text
End If

'Release the COM object
Set ctrl = Nothing</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.shunra.com/shunrablog/index.php/2009/03/02/adding-network-conditions-to-a-qtp-script-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

