<?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; Errors</title>
	<atom:link href="http://www.loadrunnertnt.com/category/errors/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>Cannot connect to machine</title>
		<link>http://www.loadrunnertnt.com/errors/cannot-connect-to-machine/</link>
		<comments>http://www.loadrunnertnt.com/errors/cannot-connect-to-machine/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 14:53:50 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Controller]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=145</guid>
		<description><![CDATA[&#8220;Cannot connect to machine &#60;machine name&#62;&#8221;
When adding Windows Resource measurement on the LoadRunner Controller, the add was unsuccessful and returns a &#8220;Cannot  connect to machine&#8230;&#8221; error with a bunch of suggestions to keep you busy&#8230;   Before you move on in this article, do take a look at two articles, namely, &#8220;How-to configure Windows System [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>&#8220;Cannot connect to machine &lt;machine name&gt;&#8221;</p></blockquote>
<p>When adding <strong>Windows Resource</strong> measurement on the LoadRunner Controller, the add was unsuccessful and returns a &#8220;Cannot  connect to machine&#8230;&#8221; error with a bunch of suggestions to keep you busy&#8230;   Before you move on in this article, do take a look at two articles, namely, <a title="How-to configure Windows System Resource monitoring" href="http://www.loadrunnertnt.com/?p=63" target="_blank">&#8220;How-to configure Windows System Resource monitoring&#8221; </a>and <a title="Error: " href="http://support.openview.hp.com/selfsolve/document/KM304905">Document ID: KM304905: Error: &#8220;Monitor name: Windows Resources. Cannot connect to machine&#8230;&#8221;</a> on the configurations required.  Apply them first before moving on.<span id="more-145"></span></p>
<p>If error persists after configuring the <strong>Windows Resource</strong> from the two documents, the next step that you do is to validate the necessary setup from perfmon.  What must be working are, (a) perfmon is running on the target machine and (b) TCP 139 must be opened for the communication on a two-way communication. Some steps here are repetition of the configuration as mentioned above, however, it&#8217;s advisable to re-validate the setup:<a title="Windows Socket Error Codes" href="/" target="_blank"></a></p>
<p><span style="text-decoration: underline;">[1] Validate network setup</span></p>
<ul>
<li>Launch command prompt</li>
<li><strong>Ping</strong> from the command prompt, Run &gt; cmd the SUT from the Controller.  Command as followed: ping &lt;target_machine&gt;.  If the Ping test fail, it&#8217;s straight-forward on the following few possibilities: (a) target machine is not up, (b) firewalls or target machine is preventing network pings.</li>
<li><strong>Telnet</strong> from the command prompt, Run &gt; cmd the SUT from the Controller on port 139. Command as followed: telnet &lt;target_machine&gt; 139.  The expected result that if the connectivity is ok on TCP 139, the command prompt will turn full black.  If it fails, it will return &#8220;Connecting To &lt;target_machine&gt;&#8230;Could not open connection to the host, on port 13<br />
9: Connect failed&#8221; which can be a likely caused of firewall misconfiguration at the (a) network level (e.g. disallow/block ports or IP filtering on firewall) or at the target machine level (e.g. ZoneAlarm or Windows Security).</li>
</ul>
<p><span style="text-decoration: underline;">[2] Validate target machine setup (NTFS)<br />
</span></p>
<ul>
<li>At the target machine, launch perfmon.</li>
<li>Ensure perfmon is running.  If perfmon is not running, it can be caused by corruption of perfmon which may require re-installation of perfmon (Windows OS).</li>
<li>Now, launch perfmon from the Controller, and connect from Controller&#8217;s perfmon to target_machine in &#8220;Select counters from computer:&#8221;.  If it connects, then you will be able to retrieve the counters.  If not, which response with &#8220;Unable to connect to machine&#8221;, you will need to ensure the following to be configured.</li>
<li>In the target_machine, launch the <em>Services.msc</em> from Run.  Ensure the following services are started: <strong>Network DDE DSDM</strong>, <strong>Network DDE</strong> and <strong>Remote Registry</strong>.  Usually they are turned off due to hardening policy.</li>
<li>Launch <em>regedit</em> from Run.  Naviigate to the following registry keys and ensure that READ access is granted to them:
<ul>
<li><strong>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Perflib </strong></li>
<li><strong>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services </strong></li>
<li><strong><strong><strong>HKEY_LOCAL_MACHINE</strong></strong>\SYSTEM\CurrentControlSet\Control\SecurePipeServers\winreg</strong></li>
</ul>
</li>
<li>Disable Simple File Sharing.  Launch Folder Explorer in target_machine &gt; &gt; Tools &gt; Folder Options &gt; View &gt; at the bottom of “View all settings”, disable <strong>“Use simple file sharing (Recommended)”</strong>.</li>
<li>Launch Folder Explorer and type <em>%SYSTEMROOT%</em> in the address bar.  Navigate to <em>%SYSTEMROOT%\System32</em>.  Allow READ access for all users on two files, namely, <em>Perfc009.dat</em> and <em>Perfh009.dat</em>.  (NOTE: Ensure the user being granted the READ rights is the one being used for monitoring from Controller.  If not, do create an additional account for it.)</li>
<li>Now, go back to Controller&#8217;s perfmon and connect to the target_machine again in &#8220;Select counters from computer&#8221;.  You should be able to see the counters from the target machine.</li>
<li>Now, go back to Controller and connect to the target_machine which should have resolve the problem.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/errors/cannot-connect-to-machine/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>undeclared identifier ‘LRMMS_PACKET_QUALITY’</title>
		<link>http://www.loadrunnertnt.com/errors/action-c-10-undeclared-identifier-%e2%80%98lrmms_packet_quality%e2%80%99/</link>
		<comments>http://www.loadrunnertnt.com/errors/action-c-10-undeclared-identifier-%e2%80%98lrmms_packet_quality%e2%80%99/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 04:57:39 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[MMS]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=167</guid>
		<description><![CDATA[Action.c (10): undeclared identifier ‘LRMMS_PACKET_QUALITY’
If you happened to try out the mms_get_property API on a Media Player (MMS) and Web (HTTP/HTML) script, you may get the above error if you missed out on an include entry for the globals.h file. The compilation error is caused with constant, LRMMS_PACKET_QUALITY is not found in the globals.h file. [...]]]></description>
			<content:encoded><![CDATA[<p>Action.c (10): undeclared identifier ‘LRMMS_PACKET_QUALITY’</p>
<p>If you happened to try out the mms_get_property API on a Media Player (MMS) and Web (HTTP/HTML) script, you may get the above error if you missed out on an include entry for the globals.h file. The compilation error is caused with constant, LRMMS_PACKET_QUALITY is not found in the globals.h file. The following snippet of the codes that resulted in the error that occurred was used, based on the Function Reference on mms_get_property API.</p>
<p><span id="more-167"></span>vuser_action()<br />
{<br />
int pack_quality,time_quality,pack_count,pack_rate;</p>
<p>pack_quality=mms_get_property(LRMMS_PACKET_QUALITY);<br />
time_quality=mms_get_property(LRMMS_TIME_QUALITY);<br />
pack_count=mms_get_property(LRMMS_STREAM_COUNT);<br />
pack_rate=mms_get_property(LRMMS_STREAM_RATE);</p>
<p>return 0;<br />
}</p>
<p>What do we need to do to resolve it? You’ve to include mic_media.h in the multi-protocol script in order for it to recognise the constants. A snippet of the globals.h can be found as followed:</p>
<p>#ifndef _GLOBALS_H<br />
#define _GLOBALS_H</p>
<p>//——————————————————————–<br />
// Include Files<br />
#include “lrun.h”<br />
#include “web_api.h”<br />
#include “lrw_custom_body.h”<br />
#include “mic_media.h”</p>
<p>//——————————————————————–<br />
// Global Variables</p>
<p>#endif // _GLOBALS_H</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/errors/action-c-10-undeclared-identifier-%e2%80%98lrmms_packet_quality%e2%80%99/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error -27740: Overlapped transmission of request to &#8230; failed: WSA_IO_PENDING</title>
		<link>http://www.loadrunnertnt.com/errors/error-27740-overlapped-transmission-of-request-to-failed-wsa_io_pending/</link>
		<comments>http://www.loadrunnertnt.com/errors/error-27740-overlapped-transmission-of-request-to-failed-wsa_io_pending/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 13:52:06 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Errors]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=140</guid>
		<description><![CDATA[Error -27740: Overlapped transmission of request to &#8220;www.url.com&#8221; for URL &#8220;http://www.url.com/ProdApp/&#8221; failed: WSA_IO_PENDING
What is WSA_IO_PENDING?  WSA_IO_PENDING 997, is a Windows Socket error that is returned by the  WSAGetLastError function.  It is non-LoadRunner error like &#8220;Error -27728: Step download timeout (999 seconds) has expired when downloading non-resource(s)&#8221; or &#8220;Connection to load generator failed. [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Error -27740: Overlapped transmission of request to &#8220;www.url.com&#8221; for URL &#8220;http://www.url.com/ProdApp/&#8221; failed: WSA_IO_PENDING</p></blockquote>
<p>What is <strong>WSA_IO_PENDING</strong>?  WSA_IO_PENDING 997, is a Windows Socket error that is returned by the  <a onclick="return true;javascript:Track('ctl00_rs1_mainContentContainer_ctl00|ctl00_rs1_mainContentContainer_ctl02',this);" href="http://msdn.microsoft.com/en-us/library/ms741580%28VS.85%29.aspx"><strong>WSAGetLastError</strong></a> function.  It is non-LoadRunner error like &#8220;Error -27728: <em>Step download timeout</em> (999 seconds) has expired when downloading non-resource(s)&#8221; or &#8220;Connection to load generator <em>failed</em>. Error: Process &#8220;<em>lr_bridge</em>.exe&#8221; was not created. Reason: &#8211; communication error. [MsgId: MERR-29996]&#8220;, etc. The error means the overlapped operations will complete later. From Windows Socket perspective, the application has initiated an overlapped operation that cannot be completed immediately.<span id="more-140"></span></p>
<p>A completion indication will be given later when the operation has been completed. This error is returned by the operating system and therefore the error number may change in future releases of Windows. For the complete list of Windows Socket errors, refer to <strong><a title="Windows Socket Error Codes" href="http://msdn.microsoft.com/en-us/library/ms740668(VS.85).aspx" target="_blank">Windows Socket Error Codes</a></strong>.</p>
<p><a title="Windows Socket Error Codes" href="http://msdn.microsoft.com/en-us/library/ms740668(VS.85).aspx" target="_blank">(Source: MSDN Library, Windows Socket Error Codes)</a></p>
<p>However, having mentioned the above, there is still a slight relationship of how the error occur. The transmission of data to the server failed. It could be a network, router, or server problem. The word <strong>Overlapped</strong> refers to the way LoadRunner sends data in order to get a Web Page Breakdown.</p>
<p>To resolve this problem, add the following statement to the beginning of the script to disable the breakdown of the &#8220;First Buffer&#8221; into server and network time:</p>
<p><em>web_set_sockets_option(&#8220;OVERLAPPED_SEND&#8221;, &#8220;0&#8243;);</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/errors/error-27740-overlapped-transmission-of-request-to-failed-wsa_io_pending/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>java.lang.NoClassDefFoundError: jhook/HookMetaData</title>
		<link>http://www.loadrunnertnt.com/errors/java-lang-noclassdeffounderror-jhookhookmetadata/</link>
		<comments>http://www.loadrunnertnt.com/errors/java-lang-noclassdeffounderror-jhookhookmetadata/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 21:22:23 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[jhook]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=170</guid>
		<description><![CDATA[The NoClassDefFoundError for Java-RMI protocol. There are several possibilities that this error occur such as (a) incomplete configuration of the Java environment requirements (refer to &#8220;Working with RMI-Java&#8221;), (b) incomplete reference to the Java libraries (usually located in {loadrunner-installation}\classes and {loadrunner-installation}\classes\srv after the required copy of the application&#8217;s Java classes are placed in them) and [...]]]></description>
			<content:encoded><![CDATA[<p>The <strong>NoClassDefFoundError</strong> for Java-RMI protocol. There are several possibilities that this error occur such as (a) incomplete configuration of the Java environment requirements (refer to <a title="Working with RMI-Java" href="articles/29-how-tos/48-working-with-rmi-java" target="_blank">&#8220;Working with RMI-Java&#8221;</a>), (b) incomplete reference to the Java libraries (usually located in <em>{loadrunner-installation}\classes</em> and <em>{loadrunner-installation}\classes\srv</em> after the required copy of the application&#8217;s Java classes are placed in them) and (c) incorrect -Xbootclasspath to inform VUgen to point to the Java libraries for recording.</p>
<p><span id="more-170"></span>The error message that is thrown upon when the<em> bootclasspath</em> was not specified in the recording options is shown below:</p>
<div class="codecolorer-container dos default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">java.lang.NoClassDefFoundError: jhook/HookMetaData<br />
at java.rmi.Naming.lookup<span style="color: #66cc66;">&#40;</span>Naming.java<span style="color: #66cc66;">&#41;</span><br />
at pie.engine.atp.ClientRMI.getRemoteModuleImpl<span style="color: #66cc66;">&#40;</span>ClientRMI.java:<span style="color: #cc66cc;">256</span><span style="color: #66cc66;">&#41;</span><br />
at pie.engine.atp.ClientATPRemoteEx.getRemoteModule<span style="color: #66cc66;">&#40;</span>ClientATPRemoteEx.java:<span style="color: #cc66cc;">89</span><span style="color: #66cc66;">&#41;</span><br />
at pie.engine.atp.ClientATPRemoteEx.getRemoteModule<span style="color: #66cc66;">&#40;</span>ClientATPRemoteEx.java:<span style="color: #cc66cc;">64</span><span style="color: #66cc66;">&#41;</span><br />
at pie.engine.atp.VirtualRemoteServer.setupPingRemote<span style="color: #66cc66;">&#40;</span>VirtualRemoteServer.java:<span style="color: #cc66cc;">102</span><span style="color: #66cc66;">&#41;</span><br />
at pie.engine.atp.VirtualRemoteServer.pingServer<span style="color: #66cc66;">&#40;</span>VirtualRemoteServer.java:<span style="color: #cc66cc;">166</span><span style="color: #66cc66;">&#41;</span><br />
at pie.engine.atp.CacheTimer$1.run<span style="color: #66cc66;">&#40;</span>CacheTimer.java:<span style="color: #cc66cc;">47</span><span style="color: #66cc66;">&#41;</span><br />
at java.util.TimerThread.mainLoop<span style="color: #66cc66;">&#40;</span>Timer.java:<span style="color: #cc66cc;">432</span><span style="color: #66cc66;">&#41;</span><br />
at java.util.TimerThread.run<span style="color: #66cc66;">&#40;</span>Timer.java:<span style="color: #cc66cc;">382</span><span style="color: #66cc66;">&#41;</span></div></div>
<p>To resolve the error was straight forward, enter the following to (a) the additional startup command to the recording options or (b) add it to the command batch file that is launching the Java application:</p>
<p>-Xbootclasspath/p:&#8221;D:\Program Files\LoadRunner\classes;D:\Program Files\LoadRunner\classes\srv&#8221;</p>
<p><!--adsensestart--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/errors/java-lang-noclassdeffounderror-jhookhookmetadata/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error: C interpreter run time error: vuser_init.c (4): Error — Unresolved symbol : ..</title>
		<link>http://www.loadrunnertnt.com/errors/error-c-interpreter-run-time-error-vuser_init-c-4-error-%e2%80%94-unresolved-symbol-mms_play/</link>
		<comments>http://www.loadrunnertnt.com/errors/error-c-interpreter-run-time-error-vuser_init-c-4-error-%e2%80%94-unresolved-symbol-mms_play/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 19:02:53 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[MMS]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=155</guid>
		<description><![CDATA[Error: C interpreter run time error: vuser_init.c (4): Error — Unresolved symbol : mms_play
Lately, we’ve talk about using Media Player (MMS) protocol with Web (HTTP/HTML) in &#8220;Combining non-standard protocols in a single script that are not listed in Multi-Protocol selection&#8221;. The above error message is a compilation error that I forgotten to mentioned. This error [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Error: C interpreter run time error: vuser_init.c (4): Error — Unresolved symbol : mms_play</p></blockquote>
<p>Lately, we’ve talk about using <strong>Media Player (MMS)</strong> protocol with <strong>Web (HTTP/HTML)</strong> in <a title="Combining non-standard protocols in a single script that are not listed in Multi-Protocol selection" href="http://www.loadrunnertnt.com/?p=91" target="_blank">&#8220;Combining non-standard protocols in a single script that are not listed in Multi-Protocol selection&#8221;</a>. The above <strong>error</strong> message is a compilation error that I forgotten to mentioned. This error occurs when Media Player (MMS) is not included as part of the multiple protocol. From the error message, this may happened with the following context.<span id="more-155"></span></p>
<ol>
<li>Only Web (HTTP/HTML) protocol was selected.</li>
<li>Media Player (MMS) was not selected to be included in the Multi-protocol script.</li>
<li>mms_play API was added in the single Web (HTTP/HTML) protocol script.</li>
</ol>
<p>Of course, this also occurs for other <strong>protocols</strong>. Example, if you put in a FTP function related API in Web (HTTP/HTML) protocol script, the error will occur in a different context where it will alert the unresolved symbol for the FTP API.</p>
<p>What do you need to do to resolve this error? Ensure that the API you are including is part of the protocol you’ve selected with the Function Reference.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/errors/error-c-interpreter-run-time-error-vuser_init-c-4-error-%e2%80%94-unresolved-symbol-mms_play/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parsing error. Details: host localhost,port 1112, line: 1. Reason: Invalid at the top level of the document.</title>
		<link>http://www.loadrunnertnt.com/errors/parsing-error-details-host-localhostport-1112-line-1-reason-invalid-at-the-top-level-of-the-document/</link>
		<comments>http://www.loadrunnertnt.com/errors/parsing-error-details-host-localhostport-1112-line-1-reason-invalid-at-the-top-level-of-the-document/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 15:20:39 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[JMX]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[WebLogic]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=173</guid>
		<description><![CDATA[Parsing error.
Details: host localhost,port 1112, line: 1.
Reason: Invalid at the top level of the document.
.
Contents: java.lang.Exception:java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogoc.admin.mbean, Administrators] [MsgId:MMSG-47587]
Background information: I&#8217;m monitoring 4 WebLogic servers using WebLogic (JMX) Monitor in LoadRunner and adding their JMX stats into Controller. Upon adding the subsequent server, the error appeared after entering the username and password to [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Parsing error.<br />
Details: host localhost,port 1112, line: 1.<br />
Reason: Invalid at the top level of the document.<br />
.<br />
Contents: java.lang.Exception:java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogoc.admin.mbean, Administrators] [MsgId:MMSG-47587]</p></blockquote>
<p>Background information: I&#8217;m monitoring 4 WebLogic servers using WebLogic (JMX) Monitor in LoadRunner and adding their JMX stats into Controller. Upon adding the subsequent server, the error appeared after entering the username and password to the Controller. I&#8217;m using LoadRunner 9.0 and Weblogic 8.1 in this context.<span id="more-173"></span></p>
<p>The principle behind it is that the mini Web server launched by the Controller for monitoring WebLogic JMX listens on port 1112 by default (defined in {LoadRunner}\dat\monitors\weblogicmon.ini). This port is occupied and the mini Web server cannot be started according to <a title="HP Openview Document ID 42701" href="http://support.openview.hp.com/selfsolve/document/KM%20195553">Document ID 42701, Error: &#8220;Failed to connect to XML source on 1112&#8243;</a>. This hinted me on the change of port. As suggested in the document, for every Weblogic server (JMX) that I&#8217;ve added, I change the port number on the file as below <a title="HP Openview Document ID 42701" href="http://support.openview.hp.com/selfsolve/document/KM%20195553" target="_blank">(Source: HP Openview Document ID 42701)</a>:</p>
<p>The solution is to configure the default port to a one not in use</p>
<p>1. Navigate to {LoadRunner}\dat\monitors.<br />
2. Open weblogicmon.ini in Notepad.<br />
3. Change</p>
<p>Weblogic=weblogic.jar<br />
Port=1112</p>
<p>to:</p>
<p>Weblogic=weblogic.jar<br />
Port=1114 {Or any other port that is free on the Controller machine}</p>
<p>4. Save the changes.<br />
5. Close the &#8220;Add Measurement&#8221; dialogue and re-open it. You should be able to add the JMX measurements. Repeat from [1] to [5] in the event that when the error occured for subsequent WebLogic servers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/errors/parsing-error-details-host-localhostport-1112-line-1-reason-invalid-at-the-top-level-of-the-document/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error -10343: Communication error: Failed to connect to remote host [server name: ]. (sys error message &#8211; ) [MsgId: MERR-10343]</title>
		<link>http://www.loadrunnertnt.com/errors/error-10343-communication-error-failed-to-connect-to-remote-host-server-name-sys-error-message-msgid-merr-10343/</link>
		<comments>http://www.loadrunnertnt.com/errors/error-10343-communication-error-failed-to-connect-to-remote-host-server-name-sys-error-message-msgid-merr-10343/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 04:49:09 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Controller]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=153</guid>
		<description><![CDATA[I believed that you would have encountered the following error when you are having load generator connectivity problems.
Error -10343: Communication error: Failed to connect to remote host [server name: ]. (sys error message &#8211; ) [MsgId: MERR-10343]
Error -29989: Process “lr_bridge.exe” was not created on remote host “” ,reason &#8211; communication error. [MsgId: MERR-29989]
Lately, while I [...]]]></description>
			<content:encoded><![CDATA[<p>I believed that you would have encountered the following error when you are having <strong>load generator</strong> <strong>connectivity</strong> problems.</p>
<blockquote><p>Error -10343: Communication error: Failed to connect to remote host [server name: ]. (sys error message &#8211; ) [MsgId: MERR-10343]</p></blockquote>
<blockquote><p>Error -29989: Process “lr_bridge.exe” was not created on remote host “” ,reason &#8211; communication error. [MsgId: MERR-29989]</p></blockquote>
<p>Lately, while I was verifying the upgrade of my <strong>LoadRunner</strong> versions from <strong>8.1</strong> to <strong>9</strong>, I encountered a connectivity problem with the <strong>Controllers</strong> and <strong>Load Generators</strong> but well, it’s been resolved… Anyway, just to share with you like a case study on the steps I took to <strong>troubleshoot</strong> the problem.<span id="more-153"></span></p>
<p>Initially I went to the <a href="http://support.openview.hp.com/" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">support website</span></span></a> in hope to find some information with these generic errors but they weren’t helpful in my context. I’m not implying that they are useless but it wasn’t applicable to me at that point of time. You can look through it too first:</p>
<ul><a href="http://support.openview.hp.com/selfsolve/document/KM180223" target="_blank"><span style="color: #0066cc;"><span style="text-decoration: underline;">Document ID 25162 &#8211; Common connectivity problems between Controller and Generator</span></span></a><br />
<a href="http://support.openview.hp.com/selfsolve/document/KM170132" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">Document ID 11905 &#8211; How-to and troubleshooting guide for setting up a Windows machine as a Load Generator</span></span></a></ul>
<p>To give you a background information, I’ve got 4 machines, one <strong>Controller</strong> and 3 Load Generators (LG). Let’s name them in the following manner for the ease of illustration:</p>
<ul>1. Controller &#8211; CONTROLLER<br />
2. Load Generators &#8211; LG1, LG2 and LG3</ul>
<p>The OS installed for all machines were <strong>Window XP</strong> and <strong>firewall</strong> programs were installed in them, namely <strong>ZoneAlarm</strong> and <strong>Sygate</strong>.</p>
<p>The following steps were taken:</p>
<ul>1. Ping from CONTROLLER to LG1, LG2 and LG3 &#8211; <strong>No problem</strong><br />
2. Ping from LG1, LG2 and LG3 to CONTROLLER &#8211; <strong>No problem</strong><br />
3. Telnet port 54345 from CONTROLLER to LG1, LG2 and LG3 &#8211; <strong>No problem</strong><br />
4. Telnet port 54345 from LG1, LG2 and LG3 to CONTROLLER &#8211; <strong>No problem</strong><br />
5. Turn off Windows XP firewall for all machines &#8211; <strong>Done</strong><br />
6. Allowed firewall access for incoming and outgoing traffic &#8211; <strong>Done</strong><br />
7. Install LoadRunner full suite on LG1 and connect to all other machines via the Controller program &#8211; All machines connected except <strong>unsuccessful connection to CONTROLLER</strong>.</ul>
<p>This is clear that communication in terms of network port from ALL machines were successful. Except CONTROLLER where port establishment from the <strong>LoadRunner</strong> program on CONTROLLER was unsuccessful which signifies that the problem could be caused at the application-level.</p>
<ul>8. Tried launching the Sygate on the CONTROLLER &#8211; <strong>Unsuccessful</strong>; Sygate not launched.</ul>
<p>After trying all the above, my assumption is that <strong>Sygate</strong> is corrupted with the <strong>LoadRunner</strong>, disallowing the it to communicate to the <strong>agents</strong> on the LG. I’m left with two options.</p>
<ul>a. Uninstall <strong>Sygate</strong>.<br />
b. Format the entire machine and start anew with nothing on it.</ul>
<p>I went ahead with [a] before doing the ultimatum [b]. And well, it solves the whole thing! (of course, I installed a new copy of <strong>Sygate</strong> to get things back to normal too.) Anyway, summary of this troubleshooting, it was caused by a corrupted firewall program which may affect you too so do take note in future!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/errors/error-10343-communication-error-failed-to-connect-to-remote-host-server-name-sys-error-message-msgid-merr-10343/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Warning: The installer has detected a system restart is required…</title>
		<link>http://www.loadrunnertnt.com/errors/warning-the-installer-has-detected-a-system-restart-is-required%e2%80%a6/</link>
		<comments>http://www.loadrunnertnt.com/errors/warning-the-installer-has-detected-a-system-restart-is-required%e2%80%a6/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 04:46:18 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[SiteScope]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=149</guid>
		<description><![CDATA[Warning:
The installer has detected a system restart is required.
Click Cancel to exit the installation. After restarting the system, run the installation again.
Lately, I’ve encountered this problem while installing my SiteScope version 8.5 as the monitoring mechanism for my LoadRunner. I couldn’t find any information relating to it and so, logged a support case with HP [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Warning:<br />
The installer has detected a system restart is required.<br />
Click <em>Cancel</em> to exit the installation. After restarting the system, run the installation again.</p></blockquote>
<p>Lately, I’ve encountered this problem while installing my <strong>SiteScope</strong> version 8.5 as the monitoring mechanism for my <strong>LoadRunner</strong>. I couldn’t find any information relating to it and so, logged a support case with <a href="http://support.openview.hp.com/" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">HP Support</span></span></a>. Below is the screenshot of the warning. Click on image to enlarge.<span id="more-149"></span></p>
<div style="text-align: center;"><a href="http://loadrunnertnt.com/images/sitescope_installer_err1.JPG" target="_blank"><img title="sitescope installation error warning" src="http://loadrunnertnt.com/images/sitescope_installer_err1.JPG" border="0" alt="sitescope installation error warning" width="510" height="276" /></a></div>
<p>I’ve attached the log files which was generated during the installation. They are found in the <strong>%TEMP%\Mercury</strong> directory (e.g. C:\Documents and Settings\Administrator\Local Settings\Temp\Mercury). The files should be in the following format.</p>
<ul><em>Mercury_SiteScope.{numeric string}.install.html<br />
</em>Mercury_SiteScope.{numeric string}.install.is.log</ul>
<p>Click on the link to view an example of the content in the log files when the installation warning occur.</p>
<ul><a href="http://loadrunnertnt.com/downloads/Mercury_SiteScope.01.07.11.01.install.html" target="_blank"><span style="color: #0066cc;"><span style="text-decoration: underline;">Mercury_SiteScope.01.07.11.01.install.html</span></span></a><br />
<a href="http://loadrunnertnt.com/downloads/Mercury_SiteScope.01.07.11.01.install.is.log" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">Mercury_SiteScope.01.07.11.01.install.is.log</span></span></a></ul>
<p>The solution provided is as followed (with some minor amendments while I was executing it). It looks at two registry keys namely [1] <strong>PendingFileRenameOperations</strong> and [2] <strong>RunOnce</strong> keys. Perform [1] before proceeding to [2]. Do remember to backup the <strong>registry</strong> before performing the following tasks (if you are unsure of the changes).</p>
<p><span style="text-decoration: underline;">[1] PendingFileRenameOperations Registry<br />
</span></p>
<ul>1. Go to following registry Key:<br />
<strong>HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager</strong>2. Open <strong>PendingFileRenameOperations</strong> key. It will show the file name that will be renamed when you reboot.</p>
<p>3. If the file pointed by the above key doesn’t exist delete PendingFileRenameOperations key and run installation again.</p>
<p>4. If file exist, it means you should reboot the machine at least once and if you still get the message after reboot, you can delete the key.</ul>
<p>If it still fails with the message that you need to reboot, go to [2].</p>
<p><span style="text-decoration: underline;">[2] RunOnce Registry<br />
</span></p>
<ul>1. Go to registry Key:<br />
<strong>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\</strong>2. When you select <strong>RunOnce</strong> key, in the right hand side pane you will see multiple values and the first one is “Default”</p>
<p>3. Make a backup of the entries in the RunOnce key (right click &gt; Export &gt; Save).</p>
<p>4. Delete all other entry except “Default”.</p>
<p>5. If there is only one entry (”Default”), there is no need to delete anything.</p>
<p>6. Repeat same Step 1-5 for <strong>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\</strong></ul>
<p>Both solutions should resolve the problem, but do remember to perform [1] before trying out [2]. Hope this is useful to you!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/errors/warning-the-installer-has-detected-a-system-restart-is-required%e2%80%a6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why are my scripts/vusers failing?</title>
		<link>http://www.loadrunnertnt.com/errors/why-are-my-scriptsvusers-failing/</link>
		<comments>http://www.loadrunnertnt.com/errors/why-are-my-scriptsvusers-failing/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 04:40:51 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Controller]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Vugen]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=147</guid>
		<description><![CDATA[Let’s answer the question systematically. This is sort of a troubleshooting guide for you when your script fails. It covers an overview which will be useful when the event happens. The script can fail in two areas in LoadRunner, in during replay in Vugen and during scenario execution in Controller.
What are the possibilities in Vugen?
1. [...]]]></description>
			<content:encoded><![CDATA[<p>Let’s answer the question systematically. This is sort of a troubleshooting guide for you when your script fails. It covers an overview which will be useful when the event happens. The script can fail in two areas in LoadRunner, in during replay in Vugen and during scenario execution in Controller.</p>
<p>What are the possibilities in Vugen?<span id="more-147"></span></p>
<p><strong><span style="text-decoration: underline;">1. The application that you are replaying against is not running.</span></strong></p>
<p>Simple? But it does happen, as such, when it fails on <span style="font-weight: bold;">replay</span>, take some time and try logging into the application manually and perform the <span style="font-weight: bold;">business processes</span>.</p>
<p style="text-decoration: underline;"><strong>2. There were changes to the application </strong></p>
<p>There were changes to the application in aspect that had affected the script. For a <span style="font-weight: bold;">3-tier architecture</span>, anything could have changed such as the following:</p>
<ul>a. <strong>Presentation layer</strong>: where links or button are removed,<br />
b. <strong>Application layer</strong>: where methods are changed or removed,<br />
c. <strong>Database layer</strong>: where calls or tables are changed or removed.<br />
d. <strong>Architecture level</strong>: where proxies or load balancers are changed or<br />
removed.</ul>
<p>As such, verify with the application and infrastructure team if there were any changes made. You may have to re-script or amend the script accordingly to the changes.</p>
<p style="text-decoration: underline;"><strong>3. There are dynamic values that needs to be correlated. </strong></p>
<p>This is common in applications. They are usually in the form of <strong>Session IDs</strong> or returned values based on <strong>parameterization</strong>. You have two options here:</p>
<ul>
<li>Use the <strong>auto-correlation</strong> feature to detect any dynamic values (which I don’t usually use) or,</li>
<li>Perform <strong>manual correlation</strong> by recording two scripts of the same business process. From the two scripts, compare the <strong>recording logs</strong> and the APIs that had been generated for the differences. If you are new to manual correlation, I would recommend you to go through <a href="http://support.openview.hp.com/selfsolve/document/KM170043" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">Document ID 11806 &#8211; What is correlation and how is it done</span></span></a> from the support website to get a better understanding.</li>
</ul>
<p style="text-decoration: underline;"><strong>4. The parameterization may be causing the problem </strong></p>
<p>The parameterization may be causing the problem in the following manner:</p>
<ul>
<li><strong>Insufficient records</strong>: ensure that you have sufficient records for the replay, especially in iterations.</li>
<li><strong>Incorrect records</strong>: verify with the application or database team that you are holding on the valid values to be passed in as parameters. Parameterization may also result in different set of data being returned by the server as mentioned previously in (3). If that happens, correlate the value accordingly.</li>
</ul>
<p>For (1) to (4), it’s recommended to turn on <strong>Full Extended Log (all options enabled: Advanced Trace, Parameter Subsitution, Data Returned From Server)</strong> in the <strong>Runtime Settings</strong> (Vugen) to verify the data that is been transmitted between the server and the client (script). Through this, you can find out what and where that could have gone wrong in the replay.</p>
<p>What are the possibilities in Controller?</p>
<p style="text-decoration: underline;"><strong>5. Does it happen at the start of the scenario execution? </strong></p>
<p>We are focusing on the script only and leaving out the load testing setups. If the script/vuser fail at the start of the execution, verify the script again in <strong>Vugen</strong>, and if it still fails; it’s a script problem where you have to re-work from the previous point (1) to (4).</p>
<p style="text-decoration: underline;"><strong>6. Does it fail on a particular Load Generator (LG)?</strong></p>
<p>This maybe caused by inconsistent LG across the load testing environment. As such, ensure the following in order for the script to run properly (but not limited to the list):</p>
<ul>
<li><strong>Folder directories</strong> that the script may be accessing to (particularly for file upload and download business processes).</li>
<li><strong>Java</strong> settings like <strong>JVM</strong> and <strong>CLASSPATHs</strong> that can affect Java LoadRunner scripts.</li>
<li>All LGs have the same version as the <strong>Controller</strong> (e.g. <strong>LR9.0</strong> across all LGs in the load testing environment).</li>
</ul>
<p style="text-decoration: underline;"><strong>7. Does it happen at the middle of the scenario execution? </strong></p>
<p>If it is the case, it maybe caused by anything but unlikely script problems (since the script/vuser have already started running successfully at the start of the run in (5). When this happens, the <span style="font-weight: bold;">Application Under Test (AUT)</span> maybe under load and unable to process all requests from the scripts/vusers and therefore returning errors to them. You can verify this with the following.</p>
<ul>
<li>Manually log into your <strong>AUT</strong> again and verify if it is still running or experiencing any lags.</li>
<li>Reduce the amount of <strong>vusers</strong> being generated in the scenario and re-run the test. If a reduced amount results in a error-free or non-script related errors, you are sure that the AUT is under load.</li>
</ul>
<p>The above should be sufficient for you to troubleshoot script/vuser problems in <strong>Vugen</strong> and <strong>Controller</strong>. However, take note that it may not be limited to those and it will be advisable to carefully work the problem step-by-step to eliminate and possibilities.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/errors/why-are-my-scriptsvusers-failing/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>27728: Step download timeout &#8230;</title>
		<link>http://www.loadrunnertnt.com/errors/error-27728-step-download-timeout-120-seconds-has-expired-when-downloading-non-resources-msgid-merr-27728/</link>
		<comments>http://www.loadrunnertnt.com/errors/error-27728-step-download-timeout-120-seconds-has-expired-when-downloading-non-resources-msgid-merr-27728/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 04:30:25 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Step Download Timeout]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=142</guid>
		<description><![CDATA[Error -27728: Step download timeout (120 seconds) has expired when downloading non-resource(s) [MsgId: MERR-27728]
Step Download Timeout means that the step needed to performed for the subsequent step to be performed have reached its timeout limit (default is 120 secs) in LoadRunner. A more detailed explanation can be found in Document ID 15370 &#8211; Error: “-27751: [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Error -27728: Step download timeout (120 seconds) has expired when downloading non-resource(s) [MsgId: MERR-27728]</p></blockquote>
<p><strong>Step Download Timeout</strong> means that the step needed to performed for the subsequent step to be performed have reached its timeout limit (<span style="color: #000099;">default is 120 secs</span>) in <span style="font-weight: bold;">LoadRunner</span>. A more detailed explanation can be found in <a href="http://support.openview.hp.com/selfsolve/document/KM172780" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">Document ID 15370 &#8211; Error: “-27751: Step download timeout (120 seconds) has expired when downloading resource(s)…” even though timeout is set</span></span></a>.<span id="more-142"></span></p>
<p>Having mentioned the above, there are situations we must take note when this error occur. If the <span style="font-weight: bold;">error</span> occurs during the generation of the <span style="font-weight: bold;">script</span> (replay in <span style="font-weight: bold;">Vugen</span>), it could mean that the application is really taking time of more than <span style="font-weight: bold;">120 secs</span> to complete the download of the resources. You may want to configure the timing to suit your application needs.</p>
<p>If the error occurs during a <span style="font-weight: bold;">scenario execution</span> and happens in the middle of the scenario (usually with a large amount of load), the application is handling a lot of load and unable to attend to all the <span style="font-weight: bold;">vuser</span> request, thus (maybe) taking more than the configured download timing. For this,it will be better advisable to look at the <span style="font-weight: bold;">system utilization</span> of the server to seeth out any performance problems.</p>
<p>To determine the initial problem, we can ask the following questions, that is similar to a previous article, &#8220;<a title="Why are my scripts/vusers failing?" href="http://www.loadrunnertnt.com/?p=147" target="_blank">Why are my scripts/vusers failing?</a>&#8220;.</p>
<ul>1. Does the error occur in Vugen?<br />
2. Does the error occur in <span style="font-weight: bold;">Controller</span>?<br />
3. If yes for (2), does it occur in the start of the scenario run or in the middle of the scenario run?<br />
4. If yes for (2), what is the amount of running users when the error occur?</ul>
<p>The above, can scope down to the area of problem and allow you to determine your next course of action.</p>
<p>If you have decided that the <span style="font-weight: bold;">Step Download Timeout</span> needs to be configured, you can configure that in the Runtime Settings of the script. There are other articles that you may find useful should you required to configure the Step Download Timeout:</p>
<ul><a href="http://support.openview.hp.com/selfsolve/document/KM169649"><span style="color: #0066cc;"><span style="text-decoration: underline;">Document ID 11299 &#8211; How to increase the connect , receive and step timeout value for Web Vusers</span></span></a><br />
<a href="http://support.openview.hp.com/selfsolve/document/KM172857"><span style="color: #0066cc;"><span style="text-decoration: underline;">Document ID 15450 &#8211; How to increase the timeout settings in a Web script</span></span></a><br />
<a href="http://support.openview.hp.com/selfsolve/document/KM178280"><span style="text-decoration: underline;"><span style="color: #0066cc;">Document ID 22864 &#8211; How to resubmit a Web request if “Page downloads timeout” is received</span></span></a></ul>
<p>To access the above articles, please ensure that you have a valid user login into the <a href="http://support.openview.hp.com/" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">Support Website</span></span></a>.</p>
<p>Final note, its best to determine the characteristics of your application before applying the configuration. (Do not configure to suit the load test but rather let the load test determine the configuration).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/errors/error-27728-step-download-timeout-120-seconds-has-expired-when-downloading-non-resources-msgid-merr-27728/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
