<?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; How-Tos</title>
	<atom:link href="http://www.loadrunnertnt.com/category/how-tos/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>Do you know you can work on the parameter files directly?</title>
		<link>http://www.loadrunnertnt.com/how-tos/do-you-know-you-can-work-on-the-parameter-files-directly/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/do-you-know-you-can-work-on-the-parameter-files-directly/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 07:57:02 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Parameterization]]></category>
		<category><![CDATA[QTP]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=739</guid>
		<description><![CDATA[Do you know you can work on the parameter files manually both on and LoadRunner (LR) and Quick Test Professional (QTP)?  What we are referring to is that you can make changes to the parameter list via the file system instead of going through the Vugen or QTP interface.  Sometimes when you have a huge [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.loadrunnertnt.com/wp-content/uploads/2010/02/company_hp_logo3.gif"><img class="alignleft size-full wp-image-740" title="company_hp_logo" src="http://www.loadrunnertnt.com/wp-content/uploads/2010/02/company_hp_logo3.gif" alt="" width="64" height="55" /></a>Do you know you can work on the parameter files manually both on and <strong>LoadRunner (LR)</strong> and <strong>Quick Test Professional (QTP)</strong>?  What we are referring to is that you can make changes to the parameter list via the file system instead of going through the Vugen or QTP interface.  Sometimes when you have a huge list of data that you want to test (especially in LoadRunner), it becomes an overwhelming task where you have to manually key in the values into the parameter list.  By knowing how to work with the parameter files directly, you can save a lot of time!<span id="more-739"></span></p>
<p><strong>LoadRunner </strong>– The parameter file is stored in the script directory as .dat file extension.  It can be opened with a simple text editor like Notepad as it is stored in pure text format.  Therefore, you can manipulate the files via the Notepad.  You can also use office applications such as Microsoft Excel or OpenOffice.org Calc to work on the file.  This greatly the amount of work required for maintaining a long list of data.</p>
<p><strong>Quick Test Professional</strong> – The parameter file is also stored in the script directory as an excel file, which will be an .xls file extension.  Being an excel file, it can be opened by office applications like Microsoft Excel.  Again, if you do not have money to purchase a licensed Microsoft product, you can always use open source products like OpenOffice.org Calc as an alternative tool as it is still able to work with .xls files.</p>
<p>We hope that by providing you such tips, you will be able to work efficiently with large list of data (that is especially prevalent in LoadRunner)!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/do-you-know-you-can-work-on-the-parameter-files-directly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tracking Transaction Response Time in GUI Vuser</title>
		<link>http://www.loadrunnertnt.com/how-tos/tracking-transaction-response-time-in-gui-vuser/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/tracking-transaction-response-time-in-gui-vuser/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 08:22:40 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[GUI Vuser]]></category>
		<category><![CDATA[Protocols]]></category>
		<category><![CDATA[QTP]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=721</guid>
		<description><![CDATA[In our earlier post, we’ve mentioned that Quick Test Professional (QTP) scripts can be used in load testing in LoadRunner.  The scripts are developed in QTP and port into LoadRunner for usage where they are called GUI Vuser.  Executing GUI Vuser in a load test requires the GUI Vuser protocol.  One of the key features [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.loadrunnertnt.com/wp-content/uploads/2010/02/company_hp_logo2.gif"><img class="alignleft size-full wp-image-724" title="company_hp_logo" src="http://www.loadrunnertnt.com/wp-content/uploads/2010/02/company_hp_logo2.gif" alt="" width="64" height="55" /></a>In our earlier post, we’ve mentioned that <strong><a href="../concepts/using-qtp-with-loadrunner-for-load-testing/">Quick Test Professional (QTP) scripts can be used in load testing in LoadRunner</a></strong>.  The scripts are developed in QTP and port into LoadRunner for usage where they are called GUI Vuser.  Executing GUI Vuser in a load test requires the GUI Vuser protocol.  One of the key features of LoadRunner scripts is the ability to track the timing of your individual transaction in the script and generally, you will want to perform the same tracking in the GUI Vuser script.<span id="more-721"></span></p>
<p>Now, if you are proficient in LoadRunner, you may miss out on the details of how to go creating the start-stop transaction for the GUI Vuser script as the details are actually found in the QTP User Manual under the section, “Measuring Transaction” of HP Quick Test Professional User Guide – Volume 2 instead of LoadRunner manual.  In anyway, this is possible and only achievable via amending the scripts in QTP because Vugen will not be able open (read) QTP scripts.</p>
<p>Two ways you can insert a transaction.</p>
<ul>
<li>Via <strong>Keyword View</strong> – You can use <strong>Start Transaction </strong>icon <strong>&gt; Insert Transaction</strong> at the step that you want the transaction to start measuring.   Subsequently, you will use Stop Transaction icon to stop the measurement.</li>
<li>Via <strong>Expert View</strong> – You can use Services.StartTransaction &#8220;Transaction Name&#8221; and Services.EndTransaction &#8220;Transaction Name&#8221; to encapsulate where the start and end measurement.  “Transaction Name” is the name you give to defined for the transaction and this will appear when you run the GUI Vuser script in LoadRunner.</li>
</ul>
<p>With the above information, you should be slightly more familiar with <strong>Quick Test Professional (QTP)</strong> integrating with <strong>LoadRunner</strong>.  However, again there may be more things that need to be considered and I may have left out.  Do feel free to feedback and experiences and anything that I missed out when using QTP in load testing!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/tracking-transaction-response-time-in-gui-vuser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How-to verify file downloaded</title>
		<link>http://www.loadrunnertnt.com/how-tos/how-to-verify-file-downloaded/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/how-to-verify-file-downloaded/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 06:17:15 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=586</guid>
		<description><![CDATA[Often there is a need to verify the validity of the file being downloaded by the script.  Under normal circumstances, if the file is a PDF or excel file, it will be returned/transmitted in binary (when you turned on replay log).  In this way, unlike conventional functional tool, LoadRunner is unable to verify if the [...]]]></description>
			<content:encoded><![CDATA[<p>Often there is a need to verify the validity of the file being downloaded by the script.  Under normal circumstances, if the file is a PDF or excel file, it will be returned/transmitted in binary (when you turned on replay log).  In this way, unlike conventional functional tool, LoadRunner is unable to verify if the file downloaded is valid.<span id="more-586"></span></p>
<p>In order to circumvent that, we use web_get_int_property API to retrieve the file size.  This file size will then be used to make comparison with the actual known file size on the server.  For usage of web_get_int_property, you can refer to the Function Reference available in Vugen.</p>
<p>On a brief overview, place the web_get_int_property APT after the request (web_url, web_custom_request, etc.) made for the file (PDF/excel).  I&#8217;ve extracted examples from <a href="http://tech.groups.yahoo.com/group/LoadRunner/message/23641" target="_blank">LoadRunner Yahoo Groups</a> and list them below for your convenience.</p>
<blockquote><p><strong>Example 1:</strong></p>
<p>lr_message(&#8220;%ld&#8221;,web_get_int_property(HTTP_INFO_DOWNLOAD_SIZE));</p>
<p>web_get_int_property(HTTP_INFO_DOWNLOAD_SIZE);</p>
<p>web_get_int_property(HTTP_INFO_DOWNLOAD_TIME);</p></blockquote>
<p>Note, HTTP_INFO_DOWNLOAD_SIZE does not give the actual size of PDF file.  This HTTP_INFO_DOWNLOAD_SIZE gets the body bytes, header bytes, and chunk bytes.  Therefore, you may need to fine tune the script to determine a range value of the PDF file size due to the header and chunk bytes.</p>
<blockquote><p><strong>Example 2:</strong></p></blockquote>
<blockquote><p>float fFileDownloadSize, fFileDownloadTime, fFileDownloadRate;</p></blockquote>
<blockquote><p>funcFileDownload()<br />
{<br />
fFileDownloadSize = (web_get_int_property(HTTP_INFO_DOWNLOAD_SIZE)/1024.);<br />
//in kilobytes<br />
fFileDownloadTime = (web_get_int_property(HTTP_INFO_DOWNLOAD_TIME)/1000.);<br />
//in seconds<br />
fFileDownloadRate = fFileDownloadSize/fFileDownloadTime; //in KB/s</p>
<p>lr_output_message(&#8220;Size of download was %.0f kilobytes; Time of download was %.3f seconds&#8221;, FileDownloadSize, fFileDownloadTime);</p>
<p>lr_output_message(&#8220;Rate of download was %.2f KB/sec&#8221;, fFileDownloadRate);</p>
<p>return 0;<br />
}</p></blockquote>
<blockquote><p><strong>Example 3:</strong></p>
<p>long DSize=0;</p>
<p>float DTime=0;</p>
<p>DSize = web_get_int_property(HTTP_INFO_DOWNLOAD_SIZE);</p>
<p>lr_output_message(&#8220;DSize is: %.2ld Bytes&#8221;, DSize);</p>
<p>lr_output_message(&#8220;File Download size is: %.2ld KB&#8221;, DSize /1024);</p>
<p>DTime = web_get_int_property(HTTP_INFO_DOWNLOAD_TIME);</p>
<p>lr_output_message(&#8220;File Download Time is:%.2f Seconds&#8221;, DTime / 1000);</p></blockquote>
<p><!--adsensestart--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/how-to-verify-file-downloaded/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Transaction &#8211; Percentile Graph</title>
		<link>http://www.loadrunnertnt.com/how-tos/using-transaction-percentile-graph/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/using-transaction-percentile-graph/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 22:53:37 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[Analyze]]></category>
		<category><![CDATA[Graphs]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=133</guid>
		<description><![CDATA[In LoadRunner, the percentile graph is a great graph for understanding how well the system is performing in terms of transaction response time from an overall perspective in a load test.  How is the percentile graph derived?   The mathematical explanation/formula can be found in Wiki, Percentile rank.
90% percentile allows us to know that for a [...]]]></description>
			<content:encoded><![CDATA[<p>In LoadRunner, the percentile graph is a great graph for understanding how well the system is performing in terms of transaction response time from an overall perspective in a load test.  How is the percentile graph derived?   The mathematical explanation/formula can be found in <a href="http://en.wikipedia.org/wiki/Percentile_rank" target="_blank">Wiki, Percentile rank</a>.<span id="more-133"></span></p>
<p>90% percentile allows us to know that for a certain amount of transactions are performing at a certain amount of duration.  Of course it&#8217;s a really abstract description but anyway how is it useful?  Example, if the 90th Percentile is 10secs, what it literally means is that 90% of all transactions are performing at or under 10secs.  While the remaining 10% are performing more than 10secs.  If you have a SLA or performance requirements that is based on 90% of the transactions to perform under 8secs, you have pass this criteria.</p>
<p>The Percentile can also tell you how the system is performing, such that if there is a higher percentage of slow response time transaction and what is the percentage that is performing higher than the expected transaction response time.  In a typical average transaction response time graph, you can see how the (passed) transactions are performing during the entire load test period <span style="text-decoration: underline;">over time</span>.  However, the Percentile graph illustrates the (passed) transactions and their percentage with respect to the <span style="text-decoration: underline;">overall transactions</span>.</p>
<p>In the below example taken from the Analysis User Guide, at the 60th Percentile, tr_amazon_help is at about 4secs, which means 60% and less of tr_amazon_help is responding at 4secs less.  While at the 90th Percentile, 90% of all tr_cnn_weather transactions are responding at 20secs or less.</p>
<p><img class="aligncenter" title="Percentile Graph" src="http://loadrunnertnt.com/images/graph_90percent.JPG" alt="" width="538" height="346" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/using-transaction-percentile-graph/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Function web_reg_save_param and arrays</title>
		<link>http://www.loadrunnertnt.com/how-tos/130/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/130/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 14:10:43 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[web_reg_save_param]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=130</guid>
		<description><![CDATA[There are always situations that required us to work with dynamic data returned by the server through correlation and stored in array.  That is where web_reg_save_param comes into play of capturing a value or list of values based on a defined left boundary and right boundary.  To fully appreciate the power of LoadRunner, VUGen, is to [...]]]></description>
			<content:encoded><![CDATA[<p>There are always situations that required us to work with dynamic data returned by the server through correlation and stored in array.  That is where <strong>web_reg_save_param</strong> comes into play of capturing a value or list of values based on a defined left boundary and right boundary.  To fully appreciate the power of <strong>LoadRunner</strong>, VUGen, is to at best refrain from using those GUI features such as Correlation Studio or Runtime Viewer/Browser.<span id="more-130"></span>Let&#8217;s recap the syntax of web_reg_save_param (also available in Function Reference, &#8220;F1&#8243; key) which looks like the following:</p>
<p>web_reg_save_param(&#8220;p_EmpID&#8221;,<br />
&#8220;LB=Emp_ID=&#8221;,<br />
&#8220;RB=\&#8221;",<br />
&#8220;Ord=ALL&#8221;,<br />
&#8220;RelFrameId=1&#8243;,<br />
&#8220;Search=Body&#8221;,<br />
&#8220;IgnoreRedirections=Yes&#8221;,<br />
LAST);</p>
<p>This is familiar coding where p_EmpID will be captured with LB of EMP_ID= and RB of &#8220;.  However, another parameter to note in <strong>web_reg_save_param</strong> is the ORD, or Ordinal.  This specifies the locaiton of the value to capture if multiple occurrences of LB and RB exists.  By default, the value is ORD=ALL which meant that all occurrences will be captured.  When all occurances are captured, they are stored in an array.  The total number of values captured can be accessed by placing a _count suffix after the parameter name.  Example (note, Total_Employees have to be defined as an integer in the script):</p>
<p>Total_Employees=atoi(atoi(lr_eval_string(&#8220;{p_EmpID_count}&#8221;­));</p>
<p>While to access a specified value in the array, you will put an index after the parameter in _{index} format.  Example illustrates reading the 2nd Employee ID in the array:</p>
<p>Current_EmployeeID=atoi(lr_eval_string(&#8220;{p_Emp_ID_2}&#8221;­));</p>
<p>Of course, these are just methods to read the values extracted for your scripting work.  Hopefully, you will find it easier when you are performing scripting work.</p>
<p>NOTE (21 Oct 2008):  Corrections to the default value of the Ordinal parameter.  It should be ORD=1, meaning the first occurence, instead of ORD=ALL.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/130/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How-to configure Oracle Database monitoring</title>
		<link>http://www.loadrunnertnt.com/how-tos/how-to-configure-oracle-database-monitoring/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/how-to-configure-oracle-database-monitoring/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 06:27:01 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=72</guid>
		<description><![CDATA[Most of the time, with every application, there comes with the Database setup and most of the time, it’s Oracle (being the biggest player in the DB industry). Fundamentally, (1) it requires a Oracle client to be installed on the machine as a native client. (2) A valid account and privileges to the Oracle V$ [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Oracle" src="http://loadrunnertnt.com/images/oracle_logo.jpg" alt="" width="253" height="87" />Most of the time, with every application, there comes with the Database setup and most of the time, it’s Oracle (being the biggest player in the DB industry). Fundamentally, (1) it requires a Oracle client to be installed on the machine as a native client. (2) A valid account and privileges to the Oracle V$ tables that holds statistics. (3) Ensure that you can properly query from the Controller using the SQL tools and extract data from the V$ table and you should be fine with the setup. In this article, we will be providing the a typical connection to the Oracle database for monitoring (i.e. we will not be focusing on counters directly related for analyzing database performance).</p>
<p>Let’s go through an overview for implementing the Oracle DB. Basically, we are doing in this sequence:<span id="more-72"></span></p>
<ol>
<li> Get an account in Oracle and access to the V$ tables that contains the monitoring data.</li>
<li>Install 32-bit Oracle client on the Controller machine.</li>
<li>Ensuring that proper configuration is done to connect to the DB using TNSNAMES.ora and defining the Oracle path.</li>
<li>Login to the DB using SQL*PLUS and run a query to see if you can collect the statistics from the V$ tables.</li>
<li>Launch LoadRunner Controller, configure the monitor and start your load test!</li>
</ol>
<p>Ok, let’s dive into the details!</p>
<p>1. Request for an account and password to be created in the database instance (unless you are the DBA). Example, loadtester, and grant them access to read the following table. These tables consist of the statistic of the database instance.</p>
<ul>
<li> V$SESSTAT</li>
<li>V$SYSSTAT</li>
<li>V$STATNAME</li>
<li>V$INSTANCE</li>
<li>V$SESSION</li>
</ul>
<p>2. Ensure that Oracle client libraries are installed on the Controller. Remembered that in order to monitor, you need local installation of the client in order for LoadRunner to query the monitoring data. If you do not have the client libraries, download it from Oracle Downloads. Download only the 32-bit Oracle client.</p>
<p>3. If you have the client installed, ensure the 32-bit Oracle client is installed on the Controller, not the 16-bit client.</p>
<p>4. Verify that %OracleHome%\bin is included in the path environment. This can be done by going to START &gt; My Computer &gt; Properties &gt; “Advanced Tab” &gt; Enviromental Settings.</p>
<p>5. Configure the TNSNAMES.ora file on the Controller. TNSNAMES.ora file is a SQL*Net configuration file that defines databases addresses for establishing connections to them. This file normally resides in the ORACLE_HOME\NETWORK\ADMIN directory. (Source: OraFaq)</p>
<p>Attached is an example of the TNSNAMES.ora file. Click here to download.</p>
<p>6. Ensure login successful with the created account (e.g. loadtester) with SQL*Plus from the Controller machine.</p>
<p>7. Ensure the privileges are given properly by typing the following command. If they don’t return results or return access rights issues, most probably the steps for prior to this one has not been configured properly. Therefore, approach the Database Administrator for assistance or go back to the previous steps to ensure they are properly configured.</p>
<ul>
<li> SELECT * FROM V$SESSTAT</li>
<li>SELECT * FROM V$SYSSTAT</li>
<li>SELECT * FROM V$STATNAME</li>
<li>SELECT * FROM V$INSTANCE</li>
<li>SELECT * FROM V$SESSION</li>
</ul>
<p>8. Launch LoadRunner Controller as per norm and add the Oracle Database Monitor. When prompt, enter the account name (e.g. loadtester), it’s corresponding password and the destination server name. Statistics should be drawn from the V$ table and displayed in Controller.</p>
<p>With the above, you should be able to successfully configure the monitoring environment and the Controller with minimal difficulty.</p>
<blockquote><p>Note:<br />
You can change the sampling interval for the monitor using the vmon.cfg file located in {loadrunner-installed-dir}\monitors\vmon.cfg</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/how-to-configure-oracle-database-monitoring/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How-to configure Sybase monitoring</title>
		<link>http://www.loadrunnertnt.com/how-tos/122/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/122/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 16:11:38 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Sybase]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=122</guid>
		<description><![CDATA[
To configure Sybase database monitoring, we will require ASE Monitoring Server (not the ASE) to be installed on the Controller (refer to &#8220;How does the monitoring work in LoadRunner?&#8221; for monitoring concepts). Furthermore, we will require an additional DLL in Controller for it to work. From the Monitor Reference, the DLL is named, libct.dll.  [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Sybase" src="http://loadrunnertnt.com/images/sybase_use.jpg" alt="" width="242" height="88" /></p>
<p>To configure <strong>Sybase</strong> database monitoring, we will require <strong>ASE Monitoring Server</strong> (not the ASE) to be installed on the Controller (refer to <a title="How does the monitoring work in LoadRunner?" href="http://www.loadrunnertnt.com/?p=301" target="_blank">&#8220;How does the monitoring work in LoadRunner?&#8221;</a> for monitoring concepts). Furthermore, we will require an additional DLL in Controller for it to work. From the Monitor Reference, the DLL is named, <strong>libct.dll</strong>.  That is for version 12.  While in version 15, it&#8217;s named <strong>libsybct.dll</strong>. ASE in short for Adaptive Server Enterprise is a database product from Sybase. To get the latest copy of the ASE server can be obtained from the <a title="Sybase Adaptive Server Enterprise" href="http://www.sybase.com/products/databasemanagement/adaptiveserverenterprise" target="_blank">Sybase</a> website.<span id="more-122"></span></p>
<ul>
<li>Downloading the installation requires the registration with Sybase. Registration process is hassle-free without any approval needed and you will be able to proceed with download once the registration completes.</li>
<li>Upon full installation, all components are installed which      includes the ASE database and the <strong>ASE Monitoring Server</strong>.  Sample databases are provided in this      installation if you required them.</li>
<li>Both servers are not started by default.  Therefore, you      will need to configure them and start them up manually.</li>
<li>To start the server go to START &gt; Programs &gt; Sybase &gt;      Adaptive Server Enterprise &gt; Server Config.</li>
<li>To start the <strong>ASE Monitoring Server</strong>, go to Service of Windows      and find Sybase MONServer_&lt;ASE Monitoring Server Name&gt;.</li>
<li>Alternatively, the ASE Monitoring Server can be booted from      configuring the ASE Monitoring Server.       Details for booting the ASEMS can be found in the additional      resources.</li>
</ul>
<p><strong><span style="text-decoration: underline;">NOTES</span></strong></p>
<ul>
<li>Controller uses ASE Monitoring Server to monitor and not ASE and therefore, there is a need to ensure the ASE Monitoring Server is started, properly configured and accessible by the Controller.</li>
<li>Login information to configure the ASE and ASE Monitoring Server are; Login: sa, Password: &lt;blank&gt;</li>
<li>There maybe a difference of the filenames for the DLLs being      used by ASE Open Client Connectivity.       The filenames in v15 is <strong>libsybct.dll</strong> as compared to <strong>libct.dll</strong> in      v12.</li>
<li>Replacing the file libct.dll with a renamed libsybct.dll (libsybct.dll renamed to libct.dll) in the Controller does not have any impact to the monitoring.</li>
<li>When configuring the <strong>ASE Monitoring Server</strong> in the Controller, in the Monitored Server Machines, put the machine name on the network (not the Sybase ASE server itself).  In the Resource Measurements on the server machine, put the ASE Monitoring Server name (not the Sybase ASE server itself)</li>
</ul>
<p><strong><span style="text-decoration: underline;">TROUBLESHOOTING</span></strong></p>
<ul>
<li>After installing the Sybase ASE.  Ensure that monitoring can be performed      by the ASE Monitoring Server on the local machine.       Use the Sybase Central console to perform the previous mentioned,      by adding the “Monitor” folder.  If      the monitoring failed, it maybe the case that the ASE Monitoring Server is not started or      configured properly.  From here,      troubleshoot accordingly.</li>
<li>If monitoring was successful from ASE Monitoring Server locally, use <strong>dsedit</strong> tool from Sybase client to ensure connectivity.</li>
<li>If <strong>dsedit</strong> tool locates the ASE and ASE Monitoring Server successfully, but connectivity fails when connecting via Controller, there might be a configuration problem on the Controller-side.</li>
</ul>
<p><strong><span style="text-decoration: underline;">ADDITIONAL RESOURCES</span></strong></p>
<p><span style="text-decoration: underline;"> </span></p>
<ul>
<li><a href="http://www.sypron.nl/main.html">http://www.sypron.nl/main.html</a> -Webpage that contains Sybase ASE information.</li>
<li><a href="http://www.sypron.nl/get_ase_soft.html">http://www.sypron.nl/get_ase_soft.html</a> &#8211; Download information for Sybase ASE</li>
<li><a href="http://www.sybase.com/ase_1500devel">http://www.sybase.com/ase_1500devel</a> &#8211; Downloading Adaptive Server Enterprise version 15.0 Developer&#8217;s Edition</li>
<li><a href="http://www.isug.com/Sybase_FAQ/ASE/section1.6.html#scview">http://www.isug.com/Sybase_FAQ/ASE/section1.6.html#scview</a> &#8211; Information on ASE Monitoring Server</li>
<li><a href="http://manuals.sybase.com/onlinebooks/group-as/asg1250e/monbook">http://manuals.sybase.com/onlinebooks/group-as/asg1250e/monbook</a> &#8211; Monitoring Server; Information on methods of booting the ASE Monitoring Server.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/122/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Unable to login Administrator account in Windows</title>
		<link>http://www.loadrunnertnt.com/how-tos/unable-to-login-administrator-account-in-windows/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/unable-to-login-administrator-account-in-windows/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 16:20:45 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=126</guid>
		<description><![CDATA[
Most of the time we have to work with the administrator account on a Windows environment in a load test or setting up of monitors. A common problem that I encountered is that I&#8217;m unable to login as an administrator to have full privileges to the machine either if some settings have changed throughout the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Microsoft" src="http://loadrunnertnt.com/images/company_microsoft_logo.jpg" alt="" width="146" height="37" /></p>
<p>Most of the time we have to work with the administrator account on a Windows environment in a load test or setting up of monitors. A common problem that I encountered is that I&#8217;m unable to login as an administrator to have full privileges to the machine either if some settings have changed throughout the duration of its usage. In anyway, to login as administrator account, you will need to enable administrator login for the <strong>Windows XP</strong>.<span id="more-126"></span></p>
<p>And in order to do that, you will have to edit the registry.</p>
<ul>
<li>Click Start, Run and type <strong>Regedit.exe</strong></li>
<li>Navigate to the following key: <strong>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList</strong></li>
<li>Use the File, Export option to backup the key (recommended)</li>
<li>Create a new <strong>DWORD</strong> Value named <strong>Administrator</strong></li>
<li>Double-click <strong>Administrator</strong>, and set <strong>1</strong> as its data</li>
<li>Exit the Registry Editor.</li>
<li>Log off the current user and return to the login page again. You should be able to see the administrator login.</li>
</ul>
<blockquote><p>NOTE: This can also be applied to non-administrator account login on the welcome menu.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/unable-to-login-administrator-account-in-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Ping</title>
		<link>http://www.loadrunnertnt.com/how-tos/using-ping/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/using-ping/#comments</comments>
		<pubDate>Sat, 07 Jun 2008 13:31:39 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[Ping]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=120</guid>
		<description><![CDATA[To isolate network problems with ping, follow the steps listed which actually starts from the loopback interface, IP address, name resolution, router connectivity, traceroute to remote machines. You will need to run the ping command repeatedly, changing your destination address so that you work your way through each intermediate device to your destination. Loopback Interface
You [...]]]></description>
			<content:encoded><![CDATA[<p>To isolate <strong>network problems</strong> with <strong><em>ping</em></strong>, follow the steps listed which actually starts from the loopback interface, IP address, name resolution, router connectivity, traceroute to remote machines. You will need to run the <em>ping</em> command repeatedly, changing your destination address so that you work your way through each intermediate device to your destination. <span id="more-120"></span><span style="text-decoration: underline;">Loopback Interface</span></p>
<p>You should begin with your <strong>loopback</strong> interface. Use either <em>localhost</em> or <em>127.0.0.1</em>. Next, ping your interface by IP number. (Run <em>ifconfig –a</em> or <em>ipconfig /all </em>if in doubt.) If either of these fails, you know that you have a problem with the host.</p>
<p><span style="text-decoration: underline;">IP Address (local machine)</span></p>
<p>Next, try a host on a local network that you know is operational. Use its <strong>IP address</strong> rather than its <strong>hostname</strong>. If this fails, there are several possibilities. If other hosts are able to communicate on the local network, then you likely have problems with your connection to the network. This could be your interface, the cable to your machine, or your connection to a hub or switch. Of course, you can’t rule out configuration errors such as media type on the adapter or a bad IP address or mask.</p>
<p><span style="text-decoration: underline;">Hostname (local machine) </span></p>
<p>Next, try to reach the same host by name rather than number. This is to determine if the <strong>DNS</strong> and name resolution is the cause of the problem. If this fails, you almost certain to have problems with name resolution.</p>
<p><span style="text-decoration: underline;">Router Connectivity</span></p>
<p>Try reaching the near and far interfaces of the router. This will turn up any basic routing problems you may have on your host or connectivity problems getting to your router.</p>
<p><span style="text-decoration: underline;">Traceroute Remote Machines</span></p>
<p>If all goes well here, you are ready to ping remote computers. (You will need to know the IP address of the intermediate devices to do this test. If in doubt, use <em>traceroute</em> to determine the machines.) Realize, of course, that if you start having failures at this point, the problem will likely lie beyond your router. For example, your <strong>ICMP ECHO_REQUEST</strong> packets may reach the remote machine, but it may not have a route to your machine to use for the <strong>ICMP ECHO_REPLY</strong> packets.</p>
<p>When faced with failure at this point, your response will depend on who is responsible for the machines beyond your router. If this is still part of your network, you will want to shift your tests to machines on the other side of the router and try to work in both directions.</p>
<p><strong>Before you seek help&#8230; </strong>If these machines are outside your responsibility or control, you will need to enlist the help of the appropriate person. Before you contact this person, you should collect as much as information as you can. There are three things you may want to do. First, go back to using IP numbers if you have been using names. As said before, if things start working, you have a name resolution problem.</p>
<p>Second, if you were trying to ping a device several hops beyond your router, go back to closer machines and try to zero in on exactly where you first encountered the problem.</p>
<p>Finally, be sure to probe form more than one machine. While you may have a great deal of confidence in your local machine at this point, your discussion with the remote administrator may go much more smoothly if you can definitely say that you are seeing this problem from multiple machines instead of just one.</p>
<p><a title="Recommended Books" href="index.php?view=article&amp;catid=38%3Arecommended-resources&amp;id=66%3Abooks&amp;option=com_content&amp;Itemid=41&amp;limitstart=1" target="_blank">(Source: Network Troubleshooting Tools&#8221; by Joseph D. Sloan)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/using-ping/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Resolving Vugen/Controller crash or abnormal behaviors</title>
		<link>http://www.loadrunnertnt.com/how-tos/resolving-vugencontroller-crash-or-abnormal-behaviors/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/resolving-vugencontroller-crash-or-abnormal-behaviors/#comments</comments>
		<pubDate>Wed, 21 May 2008 13:25:14 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[Controller]]></category>
		<category><![CDATA[Crash]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Vugen]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=112</guid>
		<description><![CDATA[In the event that Vugen/Controller crashes or behaves abnormally, the official vendor has provided two documents to assist the user in troubleshooting the problem for each component separately. The documents are rather out-dated but well, better than nothing, is still relevant in some sense. Below are the links to the resources:

Document ID 31731: Troubleshooting guide [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="HP" src="http://loadrunnertnt.com/images/company_hp_logo.gif" alt="" width="64" height="55" />In the event that Vugen/Controller crashes or behaves abnormally, the official vendor has provided two documents to assist the user in troubleshooting the problem for each component separately. The documents are rather out-dated but well, better than nothing, is still relevant in some sense. Below are the links to the resources:<span id="more-112"></span></p>
<ul>
<li><a href="http://support.openview.hp.com/selfsolve/document/KM185544" target="_blank">Document ID 31731: Troubleshooting guide for VuGen (not stable/crashes/freezes/GPF)</a></li>
<li><a href="http://support.openview.hp.com/selfsolve/document/KM170566" target="_blank">Document ID 12532: Troubleshooting guide for Controller ( not stable/crashes/freezes/GPF )</a></li>
</ul>
<p>There are a couple of solutions in both documents, but we would recommend trying out the following that usually resolves the problem.</p>
<ul>
<li>Login as administrator and perform the work with that account.</li>
<li>Run the batch file.</li>
<li>Reinitializing the .ini file or the document term it as &#8220;recreate the initialization file&#8221;.</li>
</ul>
<p>Take note on the terminology of the administrator here, it is the default administrator account on the Windows operating system without any changes to it&#8217;s roles or privileges. If the environment you worked in have default images, or amended administrator account, you may need to use a machine that is &#8220;clean&#8221; to test out and run Vugen or Controller. On top of the given list from the official vendor, we&#8217;ve experiences that certain situations may cause the Vugen and Controller to behave abnormally as well.</p>
<p><strong>Do you have another Mercury/HP product running on the same machine such as QTP or WinRunner?</strong> They may conflict with Vugen and Controller when placed together on the same machine. As such, it is advisable to install only LoadRunner components on the machine while other products are to be installed separately.</p>
<p><img class="alignleft" title="Sysinternals" src="http://loadrunnertnt.com/images/bb545021.hero_windows_sysinternals(en-us,MSDN.10).jpg" alt="" width="265" height="42" />In addition, you can use Process Explorer (as recommended by the document) to find out if there are conflict with the processes. The link is broken in the document as <a href="http://technet.microsoft.com/en-us/sysinternals/default.aspx" target="_blank">Sysinternals</a> have been acquired by Microsoft in July 2006.  Click <a href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx" target="_blank">Process Explorer</a> to be directed to the actual website.</p>
<p><strong>Do you have DEP enabled in your machine?</strong> DEP (Data Execution Prevention) is part of the Windows XP SP2 feature and extends to Windows 2003 and the Vista versions. For more information of DEP, refer to the following resources:</p>
<ul>
<li><a href="http://support.microsoft.com/kb/875352" target="_blank">A detailed description of the Data Execution Prevention (DEP) feature in Windows XP Service Pack 2, Windows XP Tablet PC Edition 2005, and Windows Server 2003</a></li>
<li><a href="http://en.wikipedia.org/wiki/Data_Execution_Prevention" target="_blank">Data Execution Prevention by Wikipedia</a></li>
<li><a href="http://www.updatexp.com/data-execution-prevention.html" target="_blank">Data Execution Prevention by Marc Liron</a></li>
</ul>
<p>To resolve this problem, you have to disable DEP. <a href="http://support.openview.hp.com/selfsolve/document/KM194248" target="_blank">This is as described in Document ID 41489: No events recorded in VuGen when trying to record an application on Windows 2003 SP1 or Windows XP SP2</a>.</p>
<p><strong>What are the technology/protocol used by the application? </strong> Specified to Vugen recording, the third possibility that causes the problem is the type of application that you are working with. Example, if the application runs on RCP (Rich Client Platform) or applets but communicates in HTTP. For this, you&#8217;ve to identify the actual protocol being transmitted and find workarounds to it. In the example of HTTP, you can refer to a previous article, <a href="http://www.loadrunnertnt.com/?p=104" target="_blank">&#8220;Quick-and-Dirty Recording Techniques for Web (HTTP/HTML)&#8221;</a> for more information.</p>
<p>If all else fails, the best suggestion is to get a “clean” machine, login with the default local administrator and perform a re-installation of LoadRunner. Remember, the definition of “clean” means that the machine operating system is not based on a clone image. Well, we&#8217;ve to say that this is not the entire list that the community is experiencing and therefore, if you have a problem relating to the crashing or abnormal behavior, please share with us and we will append to this list accordingly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/resolving-vugencontroller-crash-or-abnormal-behaviors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

