<?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>LoadRunner TnT &#187; Scenario</title>
	<atom:link href="http://www.loadrunnertnt.com/tag/scenario/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.loadrunnertnt.com</link>
	<description>Performance Testing, LoadRunner Tips &#38; Tricks</description>
	<lastBuildDate>Mon, 08 Mar 2010 07:57:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>4 Points to note for Scenario Execution!</title>
		<link>http://www.loadrunnertnt.com/concepts/4-points-to-note-for-scenario-execution/</link>
		<comments>http://www.loadrunnertnt.com/concepts/4-points-to-note-for-scenario-execution/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 04:53:08 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Concepts]]></category>
		<category><![CDATA[Architecture]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Scenario]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=279</guid>
		<description><![CDATA[Points to note prior or during the scenario execution. This will save you unnecessary trouble looking at logs and reconfiguring the environment
1. First, ensure the environment for load testing is consistent for all participating machines (ie. Controller and Load Generators). As the scripts are sent to the Load Generator to be executed, it must have [...]]]></description>
			<content:encoded><![CDATA[<p>Points to note prior or during the scenario execution. This will save you unnecessary trouble looking at logs and reconfiguring the environment</p>
<p>1. First, ensure the environment for load testing is consistent for all participating machines (ie. <span style="font-weight: bold;">Controller</span> and <span style="font-weight: bold;">Load Generators</span>). As the scripts are sent to the Load Generator to be executed, it must have the same environmental settings of the recorded scripts (in VuGen). For example, if the script was recorded in <span style="font-weight: bold;">RMI-Java</span>, <span style="font-weight: bold;">JDK 1.4</span> exists on the machine that performed the recording. In the same context, the Load Generator will also require the JDK 1.4 to be installed on it for the script to execute properly. Therefore, ensure JDK versions are installed and similar to the recording machine.<span id="more-279"></span></p>
<p>Another example is an activity of uploading of a file by the script. If the script points to a directory that only exists in the recording machine, the Load Generator will require to create the same directory for it to be executed correctly with a copy of the designated file too.</p>
<p>2. Prior the <span style="font-weight: bold;">scenario</span> execution, conduct a trial run of about 10% of the actual load. This will weed out and ensure your scripts and parameters are working.</p>
<p>3. Once you are satisfied with the 10% load, turn off all the logs (especially <span style="font-weight: bold;">Full Extended Log</span>). These options will create an overhead on the entire load test which may skew the final results.</p>
<p>4. <span style="font-weight: bold;">Do not panic</span> when errors occurred during a scenario execution and start posting on <a href="http://tech.groups.yahoo.com/group/LoadRunner/" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">Yahoo Groups</span></span></a> for quick-and-dirty answers. What the tool does is to find out problems, right? When errors start to occur during a scenario execution, what you should do is to scope down the possibility of the errors. Use the following questions to help you with it.</p>
<ol>
<li>Does it happen at the start of the scenario execution?</li>
<li>Does it happen at the middle of the scenario execution?</li>
<li>If (2), is yes, then how many <span style="font-weight: bold;">Vusers</span> were running at that point of time when the errors appeared?</li>
</ol>
<p>With the above, you can determine if the scenario is actually failing due to the following reasons to list a few.</p>
<ol>
<li>The script is not working properly in the first place or configuration of the script failed.</li>
<li>The application is experiencing load during the scenario execution.</li>
<li>Network/server issues not pertaining to load have occurred during the scenario execution.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/concepts/4-points-to-note-for-scenario-execution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What happens when the scenario is executed?</title>
		<link>http://www.loadrunnertnt.com/concepts/264/</link>
		<comments>http://www.loadrunnertnt.com/concepts/264/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 04:34:36 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Concepts]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Scenario]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=264</guid>
		<description><![CDATA[Here, we’ll discuss the basic overview of LoadRunner when the scenario starts execution, during and till the end. Prior to the scenario execution, the Load Generators, amount of Vusers, designated monitoring machine, ramp up timing, so on so forth should be already defined, and we will skip the discussion for it.

When the scenario starts executing, [...]]]></description>
			<content:encoded><![CDATA[<p>Here, we’ll discuss the basic overview of LoadRunner when the scenario starts execution, during and till the end. Prior to the scenario execution, the Load Generators, amount of Vusers, designated monitoring machine, ramp up timing, so on so forth should be already defined, and we will skip the discussion for it.</p>
<p style="float: right; margin-right: 8px;">
<p>When the <span style="font-weight: bold;">scenario</span> starts executing, the <span style="font-weight: bold;">Controller</span> dispatches the Vusers (scripts) to the Load Generators for execution. The Vusers are then executed on the Load Generator in memory with the pre-defined amount on behalf of the Controller. These vusers in terms generate the network traffic towards the application.<span id="more-264"></span>The data generated by the Load Generator prior Collation process (discussed later) is stored in its default temp directory. The <span style="font-weight: bold;">temp directory</span> of the Controller and Load Generator serves different purposes. For the Controller, it stores the entire result data of the scenario execution whereas, the Load Generator stores the data of its own during the scenario execution. This can be configured before the execution under the Load Generator setup if required.</p>
<p>Note that if your load test stretches a (1) long duration, (2) contain additional logs or (3) you foresee a large amount of data to be generated, it is advisable to ensure that you have sufficient space for the temp directory in the Load Generator. It also applies to the Controller temp directory. Either increase the disk size for the temp folder or direct it to a folder that has a larger space.</p>
<p>During the execution, the real time data of the monitored servers are logged as event files in the Load Generators, at the same time, they are displayed in the graphs. At the end of the test, they are collated (in the later section) to be combine as a single result directory.</p>
<p>When the scenario completes, either (1) the Vusers finished execution, (2) you pressed the “Stop” button or (3) the duration of the load test have reached, the Vusers will gradually exit the scenario. Once all Vusers totally exited, the Controller goes into a Collation process.</p>
<p>In the Collation process, data regarding the execution (event files) that are stored in the temp directory of the Load Generator, are been sent back to the Controller to be compiled to one single result data. This is stored in the default folder of the temp directory in Controller, usually in C:\Documents and Settings with the folder name res. The actual file that describes the result is stored as <span style="font-weight: bold;">.lrr</span> file extension. With this file, you can launch Analysis to perform analyzing work of the load test.</p>
<hr title="Page 2 of 2" />To illustrate the scenario execution briefly, you can refer to the following diagram (simplified). Click on illustration to enlarge it.</p>
<p style="text-align: center;"><img class="aligncenter" title="Load Testing Execution" src="http://loadrunnertnt.com/images/Load_Testing_Execution.jpg" alt="" width="566" height="428" /></p>
<p>1. The scenario is started from <strong>Controller</strong>.</p>
<p>2. Scripts are sent from the Controller to the <strong>Load Generators</strong> for execution.</p>
<p>3. Scripts are executed on the Load Generator in <strong>memory</strong>.</p>
<p>4. Network traffic from the scripts (vuser) are generated and sent to the application.</p>
<p>5. While the load test is been executed, transaction timing, monitoring data and information regarding the load test are being created as event files and stored in the temp directory of the Load Generator.</p>
<p>6. When the scenario completes, the event files of each Load Generators are being sent back to the Controller in the <strong>Collation</strong> process to compile as a single result directory in the Controller.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/concepts/264/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
