<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8242453787408676318</id><updated>2012-01-16T18:16:39.754-08:00</updated><title type='text'>LoadRunner common questions / Issues</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>43</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-5350051161016175374</id><published>2012-01-02T10:20:00.000-08:00</published><updated>2012-01-02T10:20:51.564-08:00</updated><title type='text'>Analysis Report contains transaction numbers instead of transaction names</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Problem statement:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;While generating analysis report the transaction summary has numbers instead of transaction names. This issue is seen mostly in case of test being run in performance Center.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The possible reasons for this&amp;nbsp;behavior&amp;nbsp;are:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Version conflict between controller and Load Injector.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Map file was missing on one of the load generators.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Analysis of the load test run  showed that the load test had exceeded its timeslot and ended with the  error "Executing run failed to stop in a timely manner".&amp;nbsp;Furthermore no load test results were collated for  this load test. As a consequence test result collation was perfomed  manually by setting the collator status to "before collating results"  and then collating the results.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Install correct version of Load generator on all the LG machines.&lt;/span&gt;&lt;br /&gt;&lt;span class="wrapbody"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;In order to resolve this  problem, where no map file is used and all information is written to the  eve file, revert to the old way of writing the results using this  steps:&lt;br /&gt;a) Close all the instances of Controller and make sure no test is running.&lt;br /&gt;b) On the Controller machine search and find the file "Wlrun7.ini". &lt;br /&gt;c) Back up the file to save the original version&lt;br /&gt;d) On the file go to [GENERAL] section and add the line: EveVersion=2, close and save the changes.&lt;br /&gt;e)  Launch the controller and run the LoadTest. If this is controller  machine in Performance Center implementation, perform this operation on  every controller machine that is running a load test.&lt;br /&gt;f) Open the results with analysis and all the transactions should be present.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; This problem is fully resolved in LoadRunner 11 and  Performance Center 11, as information to the MAP file is written during  the load test itself and not only at the end of the load tests&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Alternate Workaround:&lt;/b&gt;&lt;br /&gt;&lt;span class="wrapbody"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="margin: 0in 0in 0pt;"&gt;&lt;span style="background: white;"&gt;Try  the following workaround so that Analysis will display names under  transaction names rather than numbers in the Analysis Report.&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0in 0in 0pt;"&gt;&lt;span style="background: white;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0in 0in 0pt;"&gt;&lt;span style="background: white;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0in 0in 0pt;"&gt;&lt;span style="background: white;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0in 0in 0pt;"&gt;&lt;span style="background: white;"&gt;1.  Open&amp;nbsp;a new analysis session and change the option there&amp;nbsp; in Tools  ---&amp;gt;&amp;nbsp;Options ---&amp;gt; Result collection ---&amp;gt;Choose "Generate  summary data only."&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0in 0in 0pt;"&gt;&lt;span style="background: white;"&gt;&lt;/span&gt;&lt;span style="background: white;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0in 0in 0pt;"&gt;&lt;span style="background: white;"&gt;The default is "Display summary while generating complete data."&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="margin: 0in 0in 0pt;"&gt;&lt;span style="background: white;"&gt;2.  Then, go to File ---&amp;gt; Open ----&amp;gt; Change the "Type of File"&amp;nbsp; to  "LoadRunner Results."&amp;nbsp; The default is "Analysis Session Files."&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;span style="background: white;"&gt;Choose&amp;nbsp;the .lrr file and&amp;nbsp;Click on&amp;nbsp;"Open".&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0in 0in 0pt;"&gt;&lt;span style="background: white;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0in 0in 0pt;"&gt;&lt;span style="background: white;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0in 0in 0pt;"&gt;&lt;span style="background: white;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0in 0in 0pt;"&gt;&lt;span style="background: white;"&gt;3. The Analysis report will be generated.&amp;nbsp; &lt;/span&gt;&lt;span style="background: white;"&gt;Save the .lra file.&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0in 0in 0pt;"&gt;&lt;span style="background: white;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0in 0in 0pt;"&gt;&lt;span style="background: white;"&gt;Open the .lra file and check the Summary report for transaction names.&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-5350051161016175374?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/5350051161016175374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2012/01/analysis-report-contains-transaction.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/5350051161016175374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/5350051161016175374'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2012/01/analysis-report-contains-transaction.html' title='Analysis Report contains transaction numbers instead of transaction names'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-3118848681906898883</id><published>2012-01-02T09:40:00.000-08:00</published><updated>2012-01-02T09:40:24.324-08:00</updated><title type='text'>Error:Unable to create Java VM" when running / recording a Java Vuser</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Problem Statement:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="wrapbody"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;When trying to run (or record with) a Java Virtual User (or java record and replay), the following error message occured: &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; "Error -22994 : Error:Unable to create Java VM. [MsgId: MERR-22994]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Resolution:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="wrapbody"&gt;Check the Java add-in and the System variables Path and Classpath&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;1.  This error usually means that the PATH and the CLASSPATH environment  variables are not set properly. (Check whether any other tools like QTP or Winrunner is not installed on the system previously, as it sets its own custom variables related to java hook and path)&lt;br /&gt;2. Delete ini file for Vugen:&lt;br /&gt;a. Shutdown Vugen.&lt;br /&gt;b. Go to (Window install directory) and look for vugen.ini. Delete  the file. LoadRunner will recreate new configuration file when VuGen is  launched. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;c. Launch VuGen and run the script again.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-3118848681906898883?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/3118848681906898883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2012/01/errorunable-to-create-java-vm-when.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/3118848681906898883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/3118848681906898883'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2012/01/errorunable-to-create-java-vm-when.html' title='Error:Unable to create Java VM&quot; when running / recording a Java Vuser'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-6889279170437906467</id><published>2012-01-02T09:36:00.000-08:00</published><updated>2012-01-02T09:36:13.798-08:00</updated><title type='text'>"java.security.AccessControlException..." during replay</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Problem Statement:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="wrapbody"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The (java / java record n replay) script was recorded without any problems.  During replay, the user receives the error:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="wrapbody"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;System.out: Exception occured: java.security.AccessControlException:  access denied(java.lang.RuntimePermission createClassLoader ) &lt;br /&gt;Notify: System.err: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader )  &lt;br /&gt;Error System.err: at java.security.AccessControlContext.checkPermission(AccessControlContext.java:xx)  &lt;br /&gt;Error System.err: at java.security.AccessController.checkPermission(AccessController.java:xx)  &lt;br /&gt;Error System.err: at java.lang.SecurityManager.checkPermission(SecurityManager.java:xx)  &lt;br /&gt;Error System.err: at java.lang.SecurityManager.checkCreateClassLoader(SecurityManager.java:xx)  &lt;br /&gt;Error System.err: at java.lang.ClassLoader.&lt;init&gt;(ClassLoader.java:xx)  &lt;br /&gt;Error System.err: at DummyClassLoader.&lt;init&gt;(DummyClassLoader.java:xx)  &lt;br /&gt;Error System.err: at DummyClassLoader.setContextClassLoader(DummyClassLoader.java:xx) &lt;br /&gt;Error System.err: at Actions.action(Actions.java:xx)  &lt;br /&gt;Error Error occured: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader ) &amp;nbsp;&lt;/init&gt;&lt;/init&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;init&gt;&lt;init&gt;&lt;br /&gt;&lt;/init&gt;&lt;/init&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;init&gt;&lt;init&gt;&lt;b&gt;Resolution:&lt;/b&gt;&lt;/init&gt;&lt;/init&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;init&gt;&lt;init&gt;&lt;span class="wrapbody"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/init&gt;&lt;/init&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Comment out the section for "Installing RMISecurityManager." &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;/* if (System.getSecurityManager() == null)&lt;br /&gt;System.setSecurityManager(new java.rmi.RMISecurityManager()); */&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-6889279170437906467?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/6889279170437906467/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2012/01/javasecurityaccesscontrolexception.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/6889279170437906467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/6889279170437906467'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2012/01/javasecurityaccesscontrolexception.html' title='&quot;java.security.AccessControlException...&quot; during replay'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-3646325837186800312</id><published>2012-01-02T02:22:00.000-08:00</published><updated>2012-01-02T02:22:32.027-08:00</updated><title type='text'>How to call a custom C# dll in VUGen</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;It’s not possible to directly call a C#.Net code in LR; for that you need to create a wrapper dll around the original dll. Below is a sample example and ways to do it:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;If your core code implementation looks like below:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;*********************************************************************&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;using System;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;namespace intmath&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;public class Class1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;public Class1()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;public static int sum(int a, int b)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;return (a+b);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;}&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;}&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;*********************************************************************&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;And this code creates a dll called as “&lt;strong&gt;intmath.dll&lt;/strong&gt;” which is in c# code. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;1.Launch Visual Studio .NET and create a new C++ Win32 Project. In the application settings, set the application type to "Dll." &lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;2. Set all required configuration properties required for using managed extensions in the project properties. &lt;br /&gt;a.Go to Configuration Properties -&amp;gt; General. &lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;b.Set the "Use Managed Extensions" option to Yes. &lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;c.Go to the properties of the .cpp file, and under Configuration Properties -&amp;gt; C/C++ -&amp;gt; Pre-Compiled headers, set the "Create/Use Precompiled Header" option to "Not Using Precompiled Headers." &lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;3. Add a reference to the managed code library in this project. //In this case it will be “intmath.dll”&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;4. In the projects .cpp file, add methods to make calls to the managed code. Add code in the beginning to include the appropriate namespaces.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Below is a code snippet of the cpp file&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;*************************************************************************&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;#using &lt;mscorlib.dll&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;using namespace System;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;using namespace intmath; &lt;span style="color: #38761d;"&gt;// This is the namespace which is of your original file&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;#include "stdafx.h"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;BOOL APIENTRY DllMain( HANDLE hModule, &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;DWORD ul_reason_for_call, &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;LPVOID lpReserved&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;return TRUE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;extern int Calladd(int, int);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;extern "C"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;__declspec(dllexport) int add(int a, int b)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;return Calladd(a,b);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;int Calladd(int a, int b){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;return Class1::sum(a,b); &lt;span style="color: #38761d;"&gt;// call to the original function written in C#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;***************************************************************************&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;build this project and generate your dll, in this case it will be known as “&lt;strong&gt;mytest.dll&lt;/strong&gt;” (name of your project)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Then I can use this dll in my VUGen script like shown below:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;****************************************************************************&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Action()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;lr_load_dll("mytest.dll"); &lt;span style="color: #38761d;"&gt;// Instead of loading the original “intmath.dll”&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;lr_output_message("add(12, 13) = %d", add(12, 13));&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;return 0;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;*******************************************************************************&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Hope this will help you in resolving issue with dll loading.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-3646325837186800312?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/3646325837186800312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2012/01/how-to-call-custom-c-dll-in-vugen.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/3646325837186800312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/3646325837186800312'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2012/01/how-to-call-custom-c-dll-in-vugen.html' title='How to call a custom C# dll in VUGen'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-6197025116147026921</id><published>2011-12-28T03:26:00.000-08:00</published><updated>2011-12-28T03:26:12.257-08:00</updated><title type='text'>Connection Timed out while replaying HTTPs URLs in VUGen 11</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Problem statement:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-size: 9.5pt;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The following error occurred in the replay log while replaying a script with HTTPS site recorded:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-size: 11px;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Action.c(xx): t=300293ms: Connecting to host [IP_address:]443 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[MsgId: MMSG-26000]&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Action.c(xx): t=312252ms: Inactive socket was closed by [server]:443, probably due to keepalive timeout &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [MsgId: MMSG-26000]&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Action.c(xx): t=312252ms: Closed connection to [server].com:443 after completing 7 requests &amp;nbsp; &amp;nbsp; [MsgId: MMSG-26000]&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Action.c(xx): t=313596ms: Inactive socket was closed by [server]:443, probably due to keepalive timeout &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [MsgId: MMSG-26000]&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Action.c(xx): t=313612ms: Closed connection to usbiuat.[server]443 after completing 6 requests &amp;nbsp; &amp;nbsp; [MsgId: MMSG-26000]&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Action.c(xx): Error -27796: Failed to connect to server "[URL]:443": [10060] Connection timed out &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [MsgId: MERR-27796]&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Action.c(xx): t=321303ms: Closed connection to [URL]:443 after completing 0 requests &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [MsgId: MMSG-26000]&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Action.c(xx): Warning -26000: Empty or no response for URL="[URL]" &amp;nbsp; &amp;nbsp; &amp;nbsp;[MsgId: MWAR-26000]&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Action.c(xx): web_submit_data("your URL") highest severity level was "ERROR", 0 body bytes, 0 header bytes &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [MsgId: MMSG-26388]&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Action.c(xx): Notify: Transaction "Transaction_Name" ended with "Fail" status (Duration: 30.2647 Wasted Time: 0.0156).&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Ending action Action.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Cause:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-size: 9.5pt;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The cause of this error was due to a defect in LoadRunner 9.52. The SSL/NTLM patch did not help.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-size: 9.5pt;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-size: 9.5pt;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Solution&lt;/b&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-size: 9.5pt;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The replay issue was resolved by upgrading from LoadRunner&amp;nbsp; 9.52 to&amp;nbsp;version 11and&amp;nbsp; applying critical patches 1 and 2.&lt;/span&gt;&lt;span style="font-family: Arial, sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-6197025116147026921?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/6197025116147026921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/connection-timed-out-while-replaying.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/6197025116147026921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/6197025116147026921'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/connection-timed-out-while-replaying.html' title='Connection Timed out while replaying HTTPs URLs in VUGen 11'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-1597236855231943753</id><published>2011-12-21T22:18:00.000-08:00</published><updated>2011-12-21T22:18:33.122-08:00</updated><title type='text'>Error -26668: Failed to open console sync file</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Problem Statement:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="wrapbody"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;During replay of a script in LoadRunner we see the following  error:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;div class="MsoNormal" style="margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;Action.c(xxx): [Continuing after] Error -26668: Failed to open console  sync file ("[SCRIPT PATH]\result1\ctrlsink.dat") for output. Internal  error code (errno) was 24&amp;nbsp; [MsgId: MERR-26668] &lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;o:p&gt;This&amp;nbsp;occurs on a web_url() function&amp;nbsp;after the first iteration  passed successfully.&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;o:p&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;Increase the network buffer size parameter from default 12288 to something greater, e.g. 40960 in Run Time Settings-&amp;gt;Preferences-&amp;gt;Options-&amp;gt;Network buffer size&lt;span style="color: #1f497d;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-1597236855231943753?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/1597236855231943753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/error-26668-failed-to-open-console-sync.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/1597236855231943753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/1597236855231943753'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/error-26668-failed-to-open-console-sync.html' title='Error -26668: Failed to open console sync file'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-553806007445665142</id><published>2011-12-07T04:01:00.000-08:00</published><updated>2011-12-07T04:01:37.470-08:00</updated><title type='text'>How to reset the password for diagnostics server</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;If you have lost / forgot the default admin password for diagnostics server then you can do the following to get it fixed or reset:&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Stop and Close the Diagnostics server&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. Go to "Diagnostics_Install_Path"\Server\etc&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. Open the file .htaccess  using a text editor like Notepad or Textpad&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. Search for the admin entry &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;  5. Delete the password for the admin &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6. Make the Entry as shown:&amp;nbsp;admin = Vc3TBN0P/ab8k,,[admin]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7. Save the modified file&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8.  Start/Open the Diagnostics server using User: admin and Password:  admin&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Now you should be able to login to Diagnostics properly... Enjoy...&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-553806007445665142?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/553806007445665142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/how-to-reset-password-for-diagnostics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/553806007445665142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/553806007445665142'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/how-to-reset-password-for-diagnostics.html' title='How to reset the password for diagnostics server'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-7770050538562943632</id><published>2011-12-01T10:48:00.000-08:00</published><updated>2011-12-01T10:48:15.763-08:00</updated><title type='text'>Errors encountered while running vusers in controller regarding illegal names in script files</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="wrapbody"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;While running Vusers in the Controller the  user receives the following errors:  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Error: "&lt;b&gt;82000 One or more of the script's files have illegal  names&lt;/b&gt;. It is possible that two files are using the same name and  directory."&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; Error: "&lt;b&gt;84805 The user files were not transferred to the local  load generator&lt;/b&gt;" &lt;br /&gt;The scripts run fine on the local host but experience the above  error while trying to run on a remote machine&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Resolution&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span class="wrapbody"&gt;Make sure that all the scripts names and  parameters are unique  &lt;/span&gt;&lt;br /&gt;1. Make sure that all the scripts' names and parameters are  unique. Please note that you should not create any script or parameter with a  difference case. For example, "LoadRunner" or "loadrunner" will not make any  difference to the Controller.&lt;br /&gt;2. Make sure that the path where the script is saved does not  exceed&amp;nbsp;Window's maximum path length (260 characters). If it is, try to save the  script in some other location with shorter path.&lt;br /&gt;3. Make sure that all the parameters referencing the same  parameter file use the same case for the file name/file path when it is being  added to the script. If the case for the parameter file name/file path differs,  it might causes problems.&lt;br /&gt;4. Make sure that the "ScriptName".prm file references the  parameter in the script in correct case. If not, it might cause  problems.&lt;br /&gt;5. Make sure that there are no spaces in the parameter file  names.&amp;nbsp; Embedded spaces will work for VuGen but not for Performance  Center.&lt;br /&gt;6. The&amp;nbsp;file name of the parameter file itself (and the path)  should be the same as the Table&amp;nbsp;value in the&amp;nbsp;prm file.&amp;nbsp; If TableLocation is not  "Local", ensure the parameter file exists in the path specified.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-7770050538562943632?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/7770050538562943632/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/errors-encountered-while-running-vusers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/7770050538562943632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/7770050538562943632'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/errors-encountered-while-running-vusers.html' title='Errors encountered while running vusers in controller regarding illegal names in script files'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-8904123009052709101</id><published>2011-12-01T10:42:00.000-08:00</published><updated>2011-12-01T10:42:25.099-08:00</updated><title type='text'>Common Errors with Java Scripts in Controller / Replay</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Below are some common issues / errors that are faced while replaying / running java vuser scripts in loadrunner:&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;"22994 : Error:Unable to create Java VM"&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;This error usually means that the PATH and the CLASSPATH environment  variables are not set properly.&lt;br /&gt;Delete ini file for Vugen:&lt;br /&gt;a. Shutdown  Vugen.&lt;br /&gt;b. Go to "Window install directory" and look for vugen.ini.  Delete the file. LoadRunner will recreate new configuration file when VuGen is  launched. &lt;br /&gt;c. Launch VuGen and run the script again.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;"22997 Java Vuser Compilation failed"&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="wrapbody"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Make sure that LoadRunner and the Java environment are set up  properly.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;1. Ensure the "jdk install dir"\bin and "LoadRunner Install dir"\bin  directories are in the PATH environment variable.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;2. Ensure "LoadRunner Install dir"\classes,&amp;nbsp;"LoadRunner Install dir"\classes\srv, and "JDK install dir"\jre\lib\rt.jar are in the  CLASSPATH environment variable (preferably at the beginning of the  entry).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;3. Add any necessary application CLASSPATHs to the environment  variable.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;4. Remove potentially conflicting entries in both the PATH and  CLASSPATH entries (sometimes having the Java environment set up for QTP &amp;nbsp;will conflict with the LoadRunner compilation process).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;5. If you are running the script on a remote load generator,  make sure that you apply the same update (1-4 ) there, and then, restart the  LoadRunner agent. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;6. Make sure that any classpaths specified in the Run-Time  settings of the script are valid on the load generator machine as  well.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;"22992 Can't find Actions.class"&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="wrapbody"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Make sure that there is a file named "Actions.class" within the  script directory. This is the Java bytecode file generated from compiling  Actions.java. If this file does not exits, there could be a compilation problem.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;If the file exits, verify the folllowing:&lt;br /&gt;1. Ensure the  "JDK Install dir"\bin and&amp;nbsp;"LoadRunner Install dir"\bin directories are in the PATH  environment variable.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;2. Ensure&amp;nbsp;"LoadRunner Install dir"\classes,&amp;nbsp;"LoadRunner Install dir"\classes\srv, and "JDK Install dir"\jre\lib\rt.jar are in the  CLASSPATH environment variable (preferably at the beginning of the  entry).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;3. Add any necessary application CLASSPATHs to environment  variable.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;4. Remove potentially conflicting entries in both the PATH and  CLASSPATH entries (sometimes having the Java environment set up for QTP will conflict with the LoadRunner compilation process).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;5. Make sure to restart the Controller or VuGen in order to have  changes in steps 1-4 registered.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;6. If the script was working and started to throw the above  error for no obvious reasons, try to clean up the initilization files and  reregister LoadRunner's DLL. To reregister the DLLs and recreate the  configuration files:&lt;br /&gt;&lt;br /&gt;a. Make sure all the LoadRunner applications are  closed.&lt;br /&gt;b. Go to&amp;nbsp;"LoadRunner Install dir"\bin directory and execute  register_vugen.bat.&lt;br /&gt;c. Go to C:\Winnt, back up vugen.ini, then delete the  file. LoadRunner will recreate new configuration files when VuGen is launched.  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;7. The JVM is limited to 56 KB per function. If one or more of  the functions within the Actions class is too big, you will get the above error.  To resolve this, break the function up into multiple functions.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-8904123009052709101?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/8904123009052709101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/common-errors-with-java-scripts-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/8904123009052709101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/8904123009052709101'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/common-errors-with-java-scripts-in.html' title='Common Errors with Java Scripts in Controller / Replay'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-1559647769235725524</id><published>2011-12-01T10:30:00.000-08:00</published><updated>2011-12-01T10:30:19.735-08:00</updated><title type='text'>How to Run different JAVA scripts using different JDK versions on same LG</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;Since different JDKs are needed by the different scripts that you need to be run  concurrently from Controller on a single LG you can use Terminal Services as an option.  &lt;br /&gt;1. Launch the LoadRunner Agent as a process. &lt;br /&gt;2. Before launching the  sessions and the respective agents make sure you select Start -&amp;gt;  Programs-&amp;gt; &amp;nbsp;LoadRunner -&amp;gt; Advanced settings -&amp;gt; Agent  Configuration -&amp;gt; Enable Terminal Services.&lt;br /&gt;3. Open a different terminal  session for each JDK environment on the Load Generator machine. Log in as a  different user for each session. You can set up the environment for each user to  point to a different JDK.&lt;br /&gt;4. On each session, launch the Agent process. This  process will pick up the JDK specified in the environment variable.&lt;br /&gt;5.In the  Controller, connect to each session as LG:0, LG:1, LG:2, and come to a "Ready"  state. Then, run each script in the session that has the respective JDK.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-1559647769235725524?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/1559647769235725524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/how-to-run-different-java-scripts-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/1559647769235725524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/1559647769235725524'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/how-to-run-different-java-scripts-using.html' title='How to Run different JAVA scripts using different JDK versions on same LG'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-2286340611183126312</id><published>2011-12-01T09:58:00.000-08:00</published><updated>2011-12-01T09:58:53.087-08:00</updated><title type='text'>How to check the Transactions done by a Vuser in Analysis</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;The Analysis data pulls out the transaction data for all the vusers for your test run. If you are interested in getting data for a particular vuser then you can do that by:&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Go to Transactions Summary Report, right-click on the graph and select filter.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;On the filter page select VuserID filter and give a proper value or range of Vuser to get the appropriate data.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;If you are not sure what is the VuserIDs during your test run then click on vusers button and it will list the VuserID used during your test.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-2286340611183126312?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/2286340611183126312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/how-to-check-transactions-done-by-vuser.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/2286340611183126312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/2286340611183126312'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/how-to-check-transactions-done-by-vuser.html' title='How to check the Transactions done by a Vuser in Analysis'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-8963783382676560201</id><published>2011-12-01T09:46:00.000-08:00</published><updated>2011-12-01T09:46:51.374-08:00</updated><title type='text'>How to check vuser status per script in Analysis</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;To check vuser status (i.e. passed/failed/stopped) per script perform the following:  &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;1. Analyse the results in Analysis&lt;br /&gt;2. Open the Vuser Summary graph.&lt;br /&gt;3. Right-click on the graph, select "Set filter," then select the script  name.&lt;br /&gt;4. Select the Vuser End Status that you are interested in  (Passed/Failed/Error/Stopped).&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-8963783382676560201?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/8963783382676560201/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/how-to-check-vuser-status-per-script-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/8963783382676560201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/8963783382676560201'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/how-to-check-vuser-status-per-script-in.html' title='How to check vuser status per script in Analysis'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-994079860621943274</id><published>2011-12-01T09:05:00.000-08:00</published><updated>2011-12-01T09:05:34.596-08:00</updated><title type='text'>Analysis gives the error "Object reference not set to an instance of an object"</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Reason:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;This error comes when the following files in (Analysis Install dir)\bin\dat\ are corrupted:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; loader2.mdb, loader.mdf, loader.ldf&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;You need to restore these files; take these files from another machine where you have installed the Analysis. Or Re-install the Analysis on your machine after a clean uninstall.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-994079860621943274?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/994079860621943274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/analysis-gives-error-object-reference.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/994079860621943274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/994079860621943274'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/analysis-gives-error-object-reference.html' title='Analysis gives the error &quot;Object reference not set to an instance of an object&quot;'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-3920242505757742581</id><published>2011-12-01T09:00:00.000-08:00</published><updated>2011-12-01T09:00:00.443-08:00</updated><title type='text'>Is Internet Explorer 9 supported by LR or PC 11.x ?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;The base version of LR / PC 11.x doesn't support IE 9 by default; you need to contact customer support to get a patch on top of your base installation. It is known as Patch 3, once installed it will support IE9.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-3920242505757742581?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/3920242505757742581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/is-internet-explorer-9-supported-by-lr.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/3920242505757742581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/3920242505757742581'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/is-internet-explorer-9-supported-by-lr.html' title='Is Internet Explorer 9 supported by LR or PC 11.x ?'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-8572634931142521840</id><published>2011-12-01T04:05:00.000-08:00</published><updated>2011-12-01T04:27:30.952-08:00</updated><title type='text'>Error in loading Extension or DLLs while running LG over firewall</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="wrapbody"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;When running COM/DCOM scripts either from standalone Controller  or from Performance Center, they fail with &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="color: red;"&gt;Error: Extenstion lrcVba was not loaded. You  are running under secure mode and this extension is not  allowed&lt;/span&gt;&lt;br /&gt;The same issue can happen for VB and JAVA user scripts.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;br /&gt;&lt;span class="wrapbody"&gt; &lt;/span&gt;&lt;br /&gt;To be able to run the COM/DCOM scripts on an  InjectorOverFireWall machine, or any other protocol type which is not allowed to  run over the firewall by default, do the following:&lt;br /&gt;1. Open the *.usr file, located in the script directory, using  notepad and find the value for Type=.&lt;br /&gt;2. On the LG machine, go to (pc install dir)\dat\mdrv\lrc_mdrv.dat file and open it in notepad&lt;br /&gt;3. Add the flag  "SecurityMode=on" under the relevant section like [lrc], [lrcVba], [lrcCreplay],  [lrcVbareplay] etc&lt;br /&gt;4. Save the changes and restart the agent process or  service on the LG machine.&lt;br /&gt;5. Run the test again.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-8572634931142521840?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/8572634931142521840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/error-in-loading-extension-or-dlls.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/8572634931142521840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/8572634931142521840'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2011/12/error-in-loading-extension-or-dlls.html' title='Error in loading Extension or DLLs while running LG over firewall'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-7788161371777712550</id><published>2010-11-04T03:39:00.000-07:00</published><updated>2010-11-04T03:39:50.444-07:00</updated><title type='text'>Generate UUID / GUID in LR</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Sometimes in a request it is needed to send some basic encoded strings like UUID or GUID as part of the request. In loadrunner you can generate UUID using the function&amp;nbsp;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;b&gt;lr_generate_uuid();&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;GUID forms a different pattern and it can be generated by the code mentioned on the site:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;a href="http://www.loadtester.com/loadrunner-guid-creator"&gt;http://www.loadtester.com/loadrunner-guid-creator&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-7788161371777712550?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/7788161371777712550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2010/11/generate-uuid-guid-in-lr.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/7788161371777712550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/7788161371777712550'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2010/11/generate-uuid-guid-in-lr.html' title='Generate UUID / GUID in LR'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-2614237652400183972</id><published>2010-08-25T11:07:00.000-07:00</published><updated>2010-08-25T11:08:00.869-07:00</updated><title type='text'>Changing Transaction Order in Analysis Report</title><content type='html'>&lt;h3 class="post-title entry-title" style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 16px; font-weight: bold; line-height: 1.1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; font-weight: normal; line-height: 16px;"&gt;By default the transaction names in the analysis file comes in alphabetical order but if there is requirement to change the order in which the transactions were executed during a test then you can &amp;nbsp;perform some tweaks to do so.&lt;/span&gt;&lt;/h3&gt;&lt;div class="post-body entry-content" style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #990000;"&gt;Solution:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;ul&gt;&lt;li&gt;Open the "AnalysisSummary.asc" file placed at the location &lt;loadrunner dir="" install=""&gt;/bin/dat in wordpad or textpad&lt;/loadrunner&gt;&lt;/li&gt;&lt;li&gt;Go to Section "Line22_Field0" in the file and scroll down to section "JoinedSelectString="&lt;/li&gt;&lt;li&gt;Add the below Query in that&lt;br /&gt;SELECT [Event_map].[Event Name] AS [Event  Name],[Minimum],[Average],[Maximum],StdVal,[Table2].[Value] AS [90 Percent],  Round([PassedT].[CountAll],0) AS Pass, Round([FailedT].[CountAll],0) AS Fail,  Round([StoppedT].[CountAll],0) AS Stop FROM (((((Event_map LEFT JOIN [Table1] ON  [Table1].[Event Name] = [Event_map].[Event Name]) LEFT JOIN (SELECT * FROM  [Table0] WHERE [Transaction End Status] = 'Pass') AS PassedT ON  [Event_map].[Event Name] = [PassedT].[Event Name]) LEFT JOIN (SELECT * FROM  [Table0] WHERE [Transaction End Status] = 'Fail') AS FailedT ON  [Event_map].[Event Name] = [FailedT].[Event Name]) LEFT JOIN (SELECT * FROM  [Table0] WHERE [Transaction End Status] = 'Stop') AS StoppedT ON  [Event_map].[Event Name] = [StoppedT].[Event Name]) LEFT JOIN [Table2] ON  [Event_map].[Event Name] = [Table2].[Event Name]) LEFT JOIN [TempForSummaryRep0]  ON [Event_map].[Event Name] = [TempForSummaryRep0].[Event Name] WHERE  [Event_map].[Event Type] = 'Transaction' and ([Table2].[Percent] = 90 OR  [Table2].[Percent] Is Null) GROUP BY [Event_map].[Event Name],[Event_map].[Event  ID], [Minimum],[Average],[Maximum],StdVal, Round([PassedT].[CountAll],0),  Round([FailedT].[CountAll],0), Round([StoppedT].[CountAll],0),[Table2].[Value]  ORDER BY [Event_map].[Event ID]&lt;/li&gt;&lt;li&gt;Save the File and Open the analysis&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;This will get reflected in your transaction Name order.&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-2614237652400183972?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/2614237652400183972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2010/08/changing-transaction-order-in-analysis.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/2614237652400183972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/2614237652400183972'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2010/08/changing-transaction-order-in-analysis.html' title='Changing Transaction Order in Analysis Report'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-4374334378825265181</id><published>2010-08-13T14:27:00.000-07:00</published><updated>2010-08-13T14:27:25.644-07:00</updated><title type='text'>Create Custom Scripts for DB Queries / Stored Procs</title><content type='html'>&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: small; line-height: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 16px;"&gt;If there is requirement to run queries or stored procs on database and measure the timings it; you can create a custom script either in Java or in .Net protocol and write some code to achieve this.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #990000;"&gt;Solution:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;The below solution was tried and tested for SQL Server, Oracle and Sybase Databases using .Net protocol in LR.&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;ul&gt;&lt;li&gt;Open a new .Net protocol script in Vugen.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Go to Recording Options and choose the recording language to VB .Net.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Launch browser to record. Once it is launched properly stop recording. This will generate a blank script with reference to VB .Net libraries otherwise it will open a blank script with C# libraries.&lt;/li&gt;&lt;li&gt;The use the VB .Net code to create your connection and query the DB. Sample code is given below:&lt;/li&gt;&lt;/ul&gt;***************&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Dim retvalue As String = ""&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Dim Count As String&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Dim reader As OleDbDataReader&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Dim myconnectionstr As String = "Provider=OraOLEDB.Oracle;Data Source=Database_Name;User Id=XYZ;Password="&amp;amp; lr.decrypt(lr.eval_string("{Password_1}")) &amp;amp;";OLEDB.NET=True;"&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Dim objConnection As New OleDbConnection(myconnectionstr)&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;' &amp;nbsp;Query sample&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Dim strSQL As String = "select * from table_Name"&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Dim objCommand As New OleDbCommand(strSQL, objConnection)&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;objConnection.Open()&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;lr.start_transaction ("Query")&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;reader = objCommand.ExecuteReader()&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;if reader.HasRows then&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;lr.end_transaction ("Query", LR.PASS)&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&amp;nbsp;&amp;nbsp; else&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;lr.end_transaction ("Query", LR.FAIL)&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;Msgbox("The Query has returned 0 rows")&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;end if&amp;nbsp;&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;MsgBox(reader.HasRows)&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;If (reader.Read) Then&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;retvalue = reader(3).ToString&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;End If&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;reader.Close()&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;MsgBox(retvalue)&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;objConnection.Close()&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;objConnection = Nothing&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;reader = Nothing&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;objCommand = Nothing&lt;/div&gt;&lt;div&gt;************************&lt;/div&gt;&lt;div&gt;Pre-requisites: Machine should have .Net Framework and Database client drivers&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can create correct connection strings (depending upon the database) by referencing the below site:&lt;/div&gt;&lt;div&gt;&lt;a href="https://xnet.infosys.com/owa/redir.aspx?C=33014e4d5f054861b9d36597109cb969&amp;amp;URL=http%3a%2f%2fwww.connectionstrings.com%2f" target="_blank"&gt;http://www.connectionstrings.com/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-4374334378825265181?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/4374334378825265181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2010/08/create-custom-scripts-for-db-queries.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/4374334378825265181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/4374334378825265181'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2010/08/create-custom-scripts-for-db-queries.html' title='Create Custom Scripts for DB Queries / Stored Procs'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-7760474532903960824</id><published>2010-08-13T13:35:00.000-07:00</published><updated>2010-08-13T13:49:00.670-07:00</updated><title type='text'>Vusers Gets Stalled in Exiting Status</title><content type='html'>&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 16px;"&gt;While stopping the test Vusers go to "Gradual Exiting" status but get stalled there for a long time. Even stopping the test makes the users to go to "Exiting" Status but seem to be there for ever.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #990000;"&gt;Solution:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Immediate resolution:&amp;nbsp;&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;If you are sure that the test is complete and stopping the vuser forcefully won't affect your results then safest way is to do a Stop Now. In case that button is disabled then disconnect the Load Injector from the scenario. This will make the user to error-out. Re-connect the LG and re-collate the test results (in case it didn't collate properly).&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;There are 2 ways to change this value; one is to change the config file or using a function in your script.&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Next thing you need to do is to restart the controller machine and register the controller dlls; this can be done by running the batch file "register_controller.bat"&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;placed at: "&lt;i&gt;LoadRunner Install Dir&lt;/i&gt;\bin"&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Log-off and re-login to the machine.&amp;nbsp;&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;This case can get worsen if you are using CITRIX protocol and you manually tried to stop a vuser who was performing the below two functions at that time:&lt;/div&gt;&lt;div style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;"ctrx_sync_on_bitmap_change" and "ctrx_sync_on_bitmap"&lt;br /&gt;&lt;br /&gt;In case of you have large number of Vusers in your scenario then mention a limit on number of vusers that can stopped at given time also how you stop them. The setting for ramp-down limit is given in the LG properties:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Go to "Run-Time Quota" tab of LG details page and select the check-box for limiting the number of vusers that can be stopped and provide appropriate value in it.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;For setting on how to stop the vusers:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Open Tools -&amp;gt; Options in Controller and go to "Run-Time Settings" tab&lt;/li&gt;&lt;li&gt;Select the appropriate option while stopping the vusers in the second option (depends on your scenario).&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-7760474532903960824?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/7760474532903960824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2010/08/vusers-gets-stalled-in-exiting-status.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/7760474532903960824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/7760474532903960824'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2010/08/vusers-gets-stalled-in-exiting-status.html' title='Vusers Gets Stalled in Exiting Status'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-2090690809097292346</id><published>2010-02-09T04:33:00.000-08:00</published><updated>2010-02-09T04:39:42.028-08:00</updated><title type='text'>How to verify file downloaded properly in web scripts</title><content type='html'>There will be many occurrences where you need to validate whether the script is downloading proper file as part of the request (in web script) or not.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The simple way is to check the size of the download content, if that matches with the size of file then you can confirm that correct file is downloaded properly.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For this you can use the following function to check the download size:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#993300;"&gt;web_get_int_property (&lt;/span&gt;&lt;span class="Apple-style-span"  style="color:#000099;"&gt;HTTP_INFO_DOWNLOAD_SIZE&lt;/span&gt;&lt;span class="Apple-style-span"  style="color:#993300;"&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#993300;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;PS: Place this request after you made call to your main request.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-2090690809097292346?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/2090690809097292346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2010/02/how-to-verify-file-downloaded-properly.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/2090690809097292346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/2090690809097292346'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2010/02/how-to-verify-file-downloaded-properly.html' title='How to verify file downloaded properly in web scripts'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-2570412089480084978</id><published>2010-02-09T02:54:00.000-08:00</published><updated>2010-02-09T03:03:32.282-08:00</updated><title type='text'>Issue in replay due to redirections</title><content type='html'>If your application have redirections in URLs then you might find some issues while replaying as shown below:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;"Action1.c(x): Redirecting "http://xxx.xxx.xxx.com " (redirection  depth=0)&lt;br /&gt;"Action1.c(x): Error: Failed to connect to server..."&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This happens because the redirection depth is set to zero. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="color:#990000;"&gt;Solution:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;There are 2 ways to change this value; one is to change the config file or using a function in your script.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The &lt;b&gt;first option&lt;/b&gt; is mentioned below:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. Go to the &lt;loadrunner&gt;\template\qtweb directory.&lt;br /&gt;2. Edit default.cfg  using a word editor.&lt;br /&gt;3. Locate the [web] section.&lt;br /&gt;4. Add the entry for  MaxRedirectionDepth.&lt;/div&gt;&lt;div&gt;&lt;p&gt;MaxRedirectionDepth=x; where x is the number of redirections desired.&lt;/p&gt;&lt;p&gt;Perform the above steps for the default.cfg in script folder also.&lt;/p&gt;&lt;p&gt;The &lt;b&gt;second option &lt;/b&gt;is to use the web_set_option function as shown below:&lt;/p&gt;&lt;p&gt;web_set_option("MaxRedirectionDepth", "4",  LAST); // Sets the maximum redirection depth to 4.&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-2570412089480084978?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/2570412089480084978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2010/02/issue-in-replay-due-to-redirections.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/2570412089480084978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/2570412089480084978'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2010/02/issue-in-replay-due-to-redirections.html' title='Issue in replay due to redirections'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-7324445330126573186</id><published>2009-04-29T03:34:00.000-07:00</published><updated>2009-04-29T03:36:52.959-07:00</updated><title type='text'>Error: "Vuser failed to initialize extension vbascriptext.dll" when replaying a VB or COM script</title><content type='html'>&lt;span class="wrapbody"&gt;The user receives the following error while replaying a VB  or DCOM script:  &lt;p&gt;"Vuser failed to initialize extension vbascriptext.dll."&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/span&gt;&lt;td align="left" width="10"&gt;&lt;/td&gt;&lt;td valign="top" align="left" width="{$table_wide - 10}"&gt;&lt;h2 class="themeheader"&gt;Solution&lt;/h2&gt;&lt;/td&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt; Troubleshooting vbascriptext.dll error&lt;/p&gt;&lt;span class="wrapbody"&gt;&lt;p&gt;1. Make sure that VBA is installed properly :&lt;br /&gt;    a. Install the VBA  drivers by going to Start -&gt; Programs -&gt; LoadRunner -&gt; Tools -&gt; VBA  Setup.&lt;br /&gt;    b. Complete the install and reboot the machine.&lt;br /&gt;    c. Run your  script again. &lt;/p&gt;&lt;ul&gt;&lt;b&gt;Note:&lt;/b&gt; If you are using older versions of LoadRunner ( before  LoadRunner7.5) please contact Customer Support for the VBA setup install.  &lt;/ul&gt;2. VBA compiler has a limitation of up to 39 characters of the file name.  Since Mercury adds additional characters to the script name, it must be 21  characters or less.  &lt;p&gt;3. If the problem persist, try to run your script though the VBA IDE once. To  do so:&lt;br /&gt;    a. Bring up your script in VuGen.&lt;br /&gt;    b. Go to Vuser -&gt;  Run-time settings -&gt; VBA.&lt;br /&gt;    c. Enable "Debug script through VBA IDE  (VuGen only)."&lt;br /&gt;    d. When you run the script, VB IDE should be launched. If  not, it means VBA driver was not installed (properly). You might need to  reinstall your VBA setup.  &lt;/p&gt;&lt;p&gt;4. If step (3) brings you to the line 'Dim objectHelper As New  LoadRunnerVbs.ObjectFactory', it is an indication that LoadRunner helper object  is not registered. You can manually register lrapihlpr.dll and lrapivbs.dll  under the &lt;loadrunner&gt;\bin directory. After  that, "LoadRunner Protocol Replay Helper" will be checked by default in the  Run-Time Settings -&gt; VBA option.  &lt;/loadrunner&gt;&lt;/p&gt;&lt;p&gt;5. Make sure that you are using the VB function correctly. For example,  LoadRunner function should be referenced as 'lr.' instead of 'lr_'&lt;br /&gt;     &lt;b&gt;Example:&lt;/b&gt; lr.save_string "param_value", "param_name"  &lt;/p&gt;&lt;p&gt;6.Check the security-properties of the  &lt;loadrunner&gt;\bin\vba6_setup\vba6.msi file and make sure 'Everyone' have  full permissions on it. Uninstall the VB Addin by right-clicking on vba6.msi  file and selecting 'uninstall' and re-install the Add-in. &lt;/loadrunner&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;br /&gt;1. You might need to reboot your machine after making these  changes.&lt;br /&gt;2. For running script on a remote machine, please make sure that you  installed the components for the application on all load generator machines.  &lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-7324445330126573186?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/7324445330126573186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/04/error-vuser-failed-to-initialize.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/7324445330126573186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/7324445330126573186'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/04/error-vuser-failed-to-initialize.html' title='Error: &quot;Vuser failed to initialize extension vbascriptext.dll&quot; when replaying a VB or COM script'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-3534440381235715103</id><published>2009-03-24T05:13:00.000-07:00</published><updated>2009-03-24T05:18:40.233-07:00</updated><title type='text'>Monitoring Weblogic using LR</title><content type='html'>Check in the controller available graphs for Weblogic (JMX) type. If it is not present then do the customization to display it:&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;span style="font-size:85%;"&gt;1. edit the file (open with a wordpad)&lt;br /&gt;"HP\LoadRunner\dat\onilne_graphs\online_resource_graphs.rmd"&lt;br /&gt;&lt;br /&gt;2. Look for [WebLogicJMX]&lt;br /&gt;&lt;br /&gt;3. Change:  EnableInUi=1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;span style="font-size:85%;"&gt;Then do the following steps to access the monitors:&lt;br /&gt;&lt;br /&gt;a) Download weblogic.jar from server and put it in &lt;lr&gt;\classes&lt;br /&gt;&lt;br /&gt;b) Remove jmxri.jar from &lt;lr&gt;\classes (keep a backup somewhere)&lt;br /&gt;&lt;br /&gt;c) Install Java on controller and update the &lt;lr&gt;\dat\monitors\WebLogicMon.ini to point to installed java&lt;br /&gt;&lt;br /&gt;JVM="C:\Program Files\Java\j2re1.4.2_18\bin\javaw.exe"&lt;br /&gt;&lt;br /&gt;JavaVersion=1.4.2_18&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then restart your controller and add the measurements to your weblogic graph.&lt;br /&gt;&lt;br /&gt;If you are not able to add the machine and getting a host can't be found error, then do the following steps:&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;span style="font-size:85%;"&gt;********************************************************&lt;br /&gt;&lt;br /&gt;Make sure that the host name and IP can be resolved:&lt;br /&gt;&lt;br /&gt;From Command Prompt (Start -&gt; Run -&gt; type in cmd.exe):&lt;br /&gt;    1. ping with the machine name and take down the returned IP address.&lt;br /&gt;        Example: ping &lt;server&gt;&lt;br /&gt;    2. ping with the IP address returned from (a) with -a option.&lt;br /&gt;        Example: ping -a 111.111.111.111.&lt;br /&gt;&lt;br /&gt;If you have problem on getting the expected information, things you can try includes:&lt;br /&gt;&lt;br /&gt;1. Update the host file.&lt;br /&gt;You can try to add the name and the IP address of the WebLogic Server host machine into the hosts file&lt;br /&gt;    a. Go to c:\winnt\system32\drivers\etc\&lt;br /&gt;    b. Edit hosts in word editor&lt;br /&gt;    c. Add the hostname and IP address to the last line.&lt;br /&gt;        Example:&lt;br /&gt;        127.0.0.1 localhost&lt;br /&gt;        &lt;server&gt; &lt;server&gt;&lt;br /&gt;&lt;br /&gt;After the above changes, try to add the WebLogic monitor again. Please note that you may need to kill the javaw.exe process before adding the monitor. To do so&lt;br /&gt;1. Bring up the Task Manager ( Cntrl-Alt-Delete -&gt; Task manager )&lt;br /&gt;2. Switch to the 'Process' tab.&lt;br /&gt;3. Search for javaw.exe and end the process.&lt;br /&gt;&lt;br /&gt;********************************************************&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Note: Please note that Weblogic (JMX) monitoring can only be used till weblogic version 9.X. For higher version you need to install sitescope and get the data.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-3534440381235715103?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/3534440381235715103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/monitoring-weblogic-using-lr.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/3534440381235715103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/3534440381235715103'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/monitoring-weblogic-using-lr.html' title='Monitoring Weblogic using LR'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-7910701604401665670</id><published>2009-03-13T02:52:00.000-07:00</published><updated>2009-03-13T02:55:21.400-07:00</updated><title type='text'>How to convert a C-Web Vuser script to a Java Vuser script </title><content type='html'>&lt;span class="wrapbody"&gt;Converting a C Vuser to a Java Vuser requires sed.exe and  lrconvertweb.sed&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;b&gt;For LoadRunner 8.0 and above&lt;/b&gt;&lt;br /&gt;1. Record your Web Vuser using  standard HTML/HTTP recording.  &lt;/p&gt;&lt;ul&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;br /&gt;a. Be aware that Java Vusers use different parameter braces;  Web uses "{ }" and Java Vusers use "&lt;&gt;," which can cause some problems  with converted users. Edit the script or the options appropriately.&lt;br /&gt;b. Make  sure that the Java environment is setup properly by running an empty Java Script  first.&lt;/ul&gt;2. Replay your Web Vuser. When it replays correctly, cut  and paste the entire script into a text    document. &lt;ul&gt;&lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;C:\temp\web.txt  &lt;p&gt;&lt;b&gt;Note&lt;/b&gt;: There is a known limitation on the number of lines the sed  utility can process. If you have a large file, break down the script to smaller  chucks, with 1000 lines each. Then, convert each of the segments to Java  &lt;/p&gt;&lt;/ul&gt;3. Make sure that &lt;loadrunner&gt;\bin is in your system's PATH  enviroment. Then open command line and switch to &lt;loadrunner&gt;\dat  directory. Enter the following command:  &lt;ul&gt;   sed -f web_to_java.sed [script_file] &gt; [destination]  &lt;p&gt;&lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;sed -f web_to_java.sed c:\temp\web.txt &gt;  c:\temp\java.txt &lt;/p&gt;&lt;/ul&gt;4. Open the C:\temp\java.txt file, and copy the entire  contents into your Java Vuser's Action section when it is appropriate for your  application. If you are placing the generated Web Java script into a  Java-Template user, you will need to Modify the &lt;b&gt;public int action()&lt;/b&gt; line  to look like &lt;b&gt;public int action() throws Throwable&lt;/b&gt;, otherwise the user may  not run. Recorded Java users (i.e., RMI/Corba) should already have this change.  &lt;p&gt;5. You should now be able to parameterize the script and use it to correlate  with the combined Java Vuser.  &lt;/p&gt;&lt;p&gt;6. After converting the script to Java, you may need to set some Web related  Run-Time Setting. Since 'Internet Protocol' section is missing in Java-Related  template, you can do the following to add the Run-Time Settings:&lt;br /&gt;    a.  Close VuGen&lt;br /&gt;    b. Navigate to the &lt;LoadRunner\dat\protocols  directory.&lt;br /&gt;    c. Edit the relavant .lrp (General-Java.lrp for Java template)  file using a word editor.&lt;br /&gt;    d. Locate the [Vugen] section.&lt;br /&gt;    e. For  the data for CFG_TAB_DLL=, add a comma (,) and add LRWRunTimeSettingsUI.dll to it. &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-7910701604401665670?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/7910701604401665670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-convert-c-web-vuser-script-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/7910701604401665670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/7910701604401665670'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-convert-c-web-vuser-script-to.html' title='How to convert a C-Web Vuser script to a Java Vuser script '/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-2602621958029869522</id><published>2009-03-12T16:01:00.000-07:00</published><updated>2009-03-12T16:06:23.227-07:00</updated><title type='text'>Error: "failed to create agent channel " during Citrix recording with Citrix</title><content type='html'>During Citrix Recording or Replay with Citrix Client 10, the user encounters the following error: "failed to create agent channel".&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;Open a notepad and copy paste the following entries to it:&lt;br /&gt;&lt;br /&gt;**********************&lt;br /&gt;&lt;br /&gt;Windows Registry Editor Version 5.00&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Third Party\CustomVC]&lt;br /&gt;&lt;br /&gt;"VirtualChannels"=""&lt;br /&gt;&lt;br /&gt;[HKEY_CURRENT_USER\SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Third Party\CustomVC]&lt;br /&gt;&lt;br /&gt;"VirtualChannels"=""&lt;br /&gt;&lt;br /&gt;************************************&lt;br /&gt;&lt;br /&gt;save the notepad on desktop as a &lt;span style="font-weight: bold;"&gt;.reg&lt;/span&gt; file (like "citrix.reg")&lt;br /&gt;Then close the notepad and go to desktop and double-click the file you saved.&lt;br /&gt;It will add the entry to your registry. After that re-login to your windows session and record the application again.&lt;br /&gt;You will be able to record now...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-2602621958029869522?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/2602621958029869522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/error-failed-to-create-agent-channel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/2602621958029869522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/2602621958029869522'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/error-failed-to-create-agent-channel.html' title='Error: &quot;failed to create agent channel &quot; during Citrix recording with Citrix'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-12938441517280704</id><published>2009-03-12T04:58:00.000-07:00</published><updated>2009-03-12T05:03:47.385-07:00</updated><title type='text'>How to monitor Unix resources from controller</title><content type='html'>There is no need for any LoadRunner installation to be on a Unix/Linux Machine  to be monitored.&lt;br /&gt;However, the machine must have the default RSTAT daemon  installed and running. The controller establishes a UDP socket connection with  the UNIX machine. It first communicates with port 111 on the Unix machine and  this port is then mapped to the dynamic port on which the rstatd is working. The  controller then queries rstatd and all communication takes place through this  established UDP socket connection.&lt;br /&gt;&lt;br /&gt;&lt;hostname style="font-weight: bold; font-style: italic;"&gt;&lt;/hostname&gt;&lt;span class="wrapbody"&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Starting the rstatd process in Unix&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;To monitor UNIX resources, you must configure the rstatd daemon. Note that  the rstatd daemon might already be configured, because when a machine receives  an rstatd request, the inetd on that machine activates the rstatd automatically.   &lt;/p&gt;&lt;p&gt;&lt;b&gt;To verify whether the rstatd daemon is already configured:&lt;/b&gt;&lt;br /&gt;The rup  command reports various machine statistics, including rstatd configuration. Run  the following command to view the machine statistics:&lt;br /&gt;    &gt;rup host&lt;br /&gt;A  remote host will only respond if it is running the rstatd daemon. If you do not  receive a response, or if you receive an error message, the rstatd daemon is not  configured.  &lt;/p&gt;&lt;p&gt;&lt;b&gt;To configure the rstatd daemon:&lt;/b&gt;&lt;br /&gt;1 Run the command: su root&lt;br /&gt;2  Go to /etc/inetd.conf and look for the rstatd row (it begins with the word  rstatd). If it is commented out (with a #), remove the comment directive, and  save the file.&lt;br /&gt;3 From the command line, run:&lt;br /&gt;    &gt; kill -1 inet_pid &lt;br /&gt;where inet_pid is the pid of the inetd process. This instructs the inetd to  rescan the /etc/inetd.conf file and register all daemons which are uncommented,  including the rstatd daemon. 4 Run rup again.&lt;br /&gt;If the command still does not  indicate that the rstatd daemon is configured, contact your system  administrator.  &lt;/p&gt;&lt;p&gt;&lt;b&gt;Which port is rstatd daemon running on:&lt;/b&gt;&lt;br /&gt;You can run a UNIX utility  called rpcinfo and identify the rstatd's port number. By running&lt;br /&gt;    &gt;  rpcinfo -p &lt;hostname&gt;&lt;br /&gt;you will receive a list of all RPC servers  registered in the host's portmapper, along with the port number. This &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-12938441517280704?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/12938441517280704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-monitor-unix-resources-from.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/12938441517280704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/12938441517280704'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-monitor-unix-resources-from.html' title='How to monitor Unix resources from controller'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-8407701354581278099</id><published>2009-03-11T10:24:00.000-07:00</published><updated>2009-03-11T11:00:42.164-07:00</updated><title type='text'>Working with Firewalls in Loadrunner</title><content type='html'>Working with a firewall means that you can prevent unauthorized access to&lt;br /&gt;or from a private network, on specific port numbers.&lt;br /&gt;&lt;br /&gt;In a regular LoadRunner load test scenario (not over a firewall), the&lt;br /&gt;Controller has direct access to the LoadRunner agents running on remote&lt;br /&gt;machines. This enables the Controller to connect directly to those&lt;br /&gt;machines.&lt;br /&gt;&lt;br /&gt;When running Vusers or monitoring applications over a firewall, this direct&lt;br /&gt;connection is blocked by the firewall. The connection cannot be established&lt;br /&gt;by the Controller, because it does not have permissions to open the firewall.&lt;br /&gt;&lt;br /&gt;LoadRunner solves this problem by using a communication configuration&lt;br /&gt;based on HTTPS or secured TCP/IP. This configuration uses the standard SSL&lt;br /&gt;port on the firewall (port 443).&lt;br /&gt;&lt;br /&gt;A LoadRunner agent is installed on load generators running Vusers over a&lt;br /&gt;firewall, and on Monitor Over Firewall machines that monitor the servers&lt;br /&gt;that are located over a firewall. The agent communicates with the MI&lt;br /&gt;Listener machine through port 443 in the firewall.&lt;br /&gt;&lt;br /&gt;The MI Listener is a component that serves as router between the Controller&lt;br /&gt;and the LoadRunner agent.&lt;br /&gt;&lt;br /&gt;When the LoadRunner agent connects to the MI Listener, the MI Listener&lt;br /&gt;keeps a listing of the connection to the agent using a symbolic name that&lt;br /&gt;the agent passed to it.&lt;br /&gt;When the Controller connects to the MI Listener, it communicates to the&lt;br /&gt;MI Listener through port 50500.&lt;br /&gt;&lt;br /&gt;The following diagram is a basic example of a LoadRunner deployment over&lt;br /&gt;a firewall.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_wijsc-qeu48/Sbf3elEZcVI/AAAAAAAAECc/0h7IS2gvFvE/s1600-h/firewall1.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 207px;" src="http://1.bp.blogspot.com/_wijsc-qeu48/Sbf3elEZcVI/AAAAAAAAECc/0h7IS2gvFvE/s320/firewall1.JPG" alt="" id="BLOGGER_PHOTO_ID_5311986390225482066" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Setting Up your System to Use Firewalls: Basic Steps&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Setting up your system to use firewalls involves the following stages of&lt;br /&gt;configuration:&lt;br /&gt;&lt;br /&gt;Installation and initial configuration&lt;br /&gt;Running Vusers over a firewall&lt;br /&gt;&lt;br /&gt;****************************************&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Installation and initial configuration&lt;/span&gt;&lt;br /&gt;****************************************&lt;br /&gt;&lt;br /&gt;To enable over-firewall communication, ensure that you have installed the&lt;br /&gt;following LoadRunner components:&lt;br /&gt;&lt;br /&gt;MI Listener&lt;br /&gt;Monitor Over Firewall component&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;To perform initial configuration of your over-firewall system:&lt;/span&gt;&lt;br /&gt;1 Configure your system according to TCP or HTTPS.&lt;br /&gt;2 Modify your firewall settings to enable communication between the&lt;br /&gt;machines on either side of the firewall.&lt;br /&gt;3 Configure the MI Listener.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Configuring the MI Listener&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To configure the MI Listener:&lt;br /&gt;&lt;br /&gt;1 Open incoming HTTPS service for port 443. The port settings are set by your&lt;br /&gt;system administrator.&lt;br /&gt;2 Stop the LoadRunner agent on the MI Listener machine by right-clicking its&lt;br /&gt;icon in the system tray and selecting Close from the popup menu.&lt;br /&gt;3 Run MI Listener Configuration from&lt;br /&gt;Start &gt; Programs &gt; LoadRunner &gt; Advanced Settings, or run &lt;loadrunner root="" folder=""&gt;\launch_service\bin\MILsnConfig.exe.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_wijsc-qeu48/Sbf5GCZCbhI/AAAAAAAAECk/ALPC0hVIs0M/s1600-h/firewall2.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 248px;" src="http://4.bp.blogspot.com/_wijsc-qeu48/Sbf5GCZCbhI/AAAAAAAAECk/ALPC0hVIs0M/s320/firewall2.JPG" alt="" id="BLOGGER_PHOTO_ID_5311988167623208466" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4 Set each option as described in the following table:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_wijsc-qeu48/Sbf5ffaXMqI/AAAAAAAAECs/67PmIwsLTJI/s1600-h/firewall3.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 111px;" src="http://2.bp.blogspot.com/_wijsc-qeu48/Sbf5ffaXMqI/AAAAAAAAECs/67PmIwsLTJI/s320/firewall3.JPG" alt="" id="BLOGGER_PHOTO_ID_5311988604910121634" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5 Click OK to save your changes, Cancel to cancel them, or Use Defaults.&lt;br /&gt;6 Restart the LoadRunner agent by double-clicking the shortcut on the&lt;br /&gt;desktop, or choosing Start &gt; Programs &gt; LoadRunner.&lt;br /&gt;7 Make sure that port 443 is free on the MI Listener machine.&lt;br /&gt;&lt;br /&gt;&lt;/loadrunner&gt;**********************************&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Running Vusers over a firewall&lt;/span&gt;&lt;br /&gt;**********************************&lt;br /&gt;&lt;br /&gt;To set up your system to run Vusers over a firewall:&lt;br /&gt;&lt;br /&gt;1 On each load generator machine that will be running over a firewall,&lt;br /&gt;configure the LoadRunner agent to communicate with the MI Listener.&lt;br /&gt;2 Configure the Controller machine to recognize the load generator and MI&lt;br /&gt;Listener machines.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Configuring LoadRunner Agents Over the Firewall&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1 Stop the LoadRunner agent by right-clicking its icon in the system tray and&lt;br /&gt;selecting Close.&lt;br /&gt;2 Run Agent Configuration from Start &gt; Programs &gt; LoadRunner &gt; Advanced&lt;br /&gt;Settings, or run &lt;loadrunner root=""&gt;\launch_service\bin\AgentConfig.exe.&lt;br /&gt;3 Select the Enable Firewall Agent check box, and then click Settings.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_wijsc-qeu48/Sbf60jhGGvI/AAAAAAAAEC0/sx6OI8DUSH4/s1600-h/firewall4.JPG"&gt;&lt;img style="cursor: pointer; width: 295px; height: 129px;" src="http://2.bp.blogspot.com/_wijsc-qeu48/Sbf60jhGGvI/AAAAAAAAEC0/sx6OI8DUSH4/s320/firewall4.JPG" alt="" id="BLOGGER_PHOTO_ID_5311990066300984050" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The Agent Configuration dialog box opens.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_wijsc-qeu48/Sbf6-8ejdYI/AAAAAAAAEC8/LtuqOsVwQO0/s1600-h/firewall5.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 263px;" src="http://4.bp.blogspot.com/_wijsc-qeu48/Sbf6-8ejdYI/AAAAAAAAEC8/LtuqOsVwQO0/s320/firewall5.JPG" alt="" id="BLOGGER_PHOTO_ID_5311990244799903106" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4 Set each option as described in “Agent Configuration Settings”&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_wijsc-qeu48/Sbf7VB8x-OI/AAAAAAAAEDE/suZcjHlcMRw/s1600-h/firewall6.JPG"&gt;&lt;img style="cursor: pointer; width: 265px; height: 320px;" src="http://3.bp.blogspot.com/_wijsc-qeu48/Sbf7VB8x-OI/AAAAAAAAEDE/suZcjHlcMRw/s320/firewall6.JPG" alt="" id="BLOGGER_PHOTO_ID_5311990624225982690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5 Click OK to save your changes, or Cancel to cancel them.&lt;br /&gt;6 Restart the LoadRunner agent by double-clicking the shortcut on the&lt;br /&gt;desktop, or select Start &gt; Programs &gt; LoadRunner &gt; LoadRunner Agent&lt;br /&gt;Service/Process.&lt;br /&gt;7 Check the connection status between the LoadRunner agent and the MI&lt;br /&gt;Listener.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Configuring the Controller for Running over a Firewall&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1 Run the Controller from&lt;br /&gt;Start &gt; Programs &gt; LoadRunner &gt; Applications &gt; Controller and create a&lt;br /&gt;new scenario, or load an existing one.&lt;br /&gt;2 Click Generators to display the Load Generators window. In the Name field,&lt;br /&gt;enter the symbolic name of the server. This is the same name that you&lt;br /&gt;entered in the Local Machine Key setting in the Agent Configuration.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_wijsc-qeu48/Sbf75bqdJZI/AAAAAAAAEDM/TWibqwJKKYs/s1600-h/firewall7.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 158px;" src="http://4.bp.blogspot.com/_wijsc-qeu48/Sbf75bqdJZI/AAAAAAAAEDM/TWibqwJKKYs/s320/firewall7.JPG" alt="" id="BLOGGER_PHOTO_ID_5311991249603732882" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3 Select the Load Generator, and click Details to display the Load Generator&lt;br /&gt;Information.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_wijsc-qeu48/Sbf8Cxo_dQI/AAAAAAAAEDU/FliY8Suqhcw/s1600-h/firewall8.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 247px;" src="http://4.bp.blogspot.com/_wijsc-qeu48/Sbf8Cxo_dQI/AAAAAAAAEDU/FliY8Suqhcw/s320/firewall8.JPG" alt="" id="BLOGGER_PHOTO_ID_5311991410121995522" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4 In the Security tab, enter the MI Listener machine's name in the MI Listener&lt;br /&gt;field. This is the same name that you entered in the MI Listener Name&lt;br /&gt;setting of the Agent Configuration dialog box. In this example, the MI&lt;br /&gt;Listener is bunji.&lt;br /&gt;5 In the Firewall Settings section, select one of the following options:&lt;br /&gt;➤ Enable running Vusers over Firewall. To run Vusers over the firewall.&lt;br /&gt;➤ Enable Monitoring over Firewall. To monitor Vusers over the firewall.&lt;br /&gt;6 Click OK to return to the Load Generators dialog box.&lt;br /&gt;7 Select the load generator and click Connect.&lt;br /&gt;&lt;br /&gt;This will do all the setup required to run your test over the firewall...&lt;br /&gt;&lt;/loadrunner&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-8407701354581278099?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/8407701354581278099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/working-with-firewalls-in-loadrunner.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/8407701354581278099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/8407701354581278099'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/working-with-firewalls-in-loadrunner.html' title='Working with Firewalls in Loadrunner'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_wijsc-qeu48/Sbf3elEZcVI/AAAAAAAAECc/0h7IS2gvFvE/s72-c/firewall1.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-4725622143323705333</id><published>2009-03-11T09:56:00.000-07:00</published><updated>2009-03-11T10:12:54.426-07:00</updated><title type='text'>How to replay Citrix script against a different window size</title><content type='html'>&lt;p class="MsoBodyTextIndent2" style=""&gt;&lt;i style=""&gt;&lt;span style="font-weight: normal;" lang="EN-US"&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;!--[endif]--&gt;&lt;span style="font-weight: normal;" lang="EN-US"&gt;Go to the script directory in Windows Explorer.&lt;span style=""&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoBodyTextIndent2" style=""&gt;&lt;span style="font-weight: normal;" lang="EN-US"&gt;&lt;span style=""&gt; &lt;/span&gt;Open the &lt;span style="font-weight: bold;"&gt;default.cfg&lt;/span&gt; file located inside the script directory and change the window= value under the [CITRIX] section to a valid value that can be seen in the recording options (640 x 480, 800 x 600, 1024 x 768&lt;/span&gt;&lt;span style="font-weight: normal;" lang="EN-US"&gt;,1280 x 1024 and 1600 x 1200)&lt;/span&gt;&lt;span style="font-weight: normal;" lang="EN-US"&gt;&lt;/span&gt;&lt;span style="font-weight: normal;" lang="EN-US"&gt;.&lt;span style=""&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoBodyTextIndent2" style=""&gt;&lt;span style="font-weight: normal;" lang="EN-US"&gt;&lt;span style=""&gt; &lt;/span&gt;Please note that if you have any ctrx_sync_on_bitmap functions recorded it will not replay in the new window setting because the hash value will be different.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-4725622143323705333?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/4725622143323705333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-replay-citrix-script-against.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/4725622143323705333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/4725622143323705333'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-replay-citrix-script-against.html' title='How to replay Citrix script against a different window size'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-6946555367906788451</id><published>2009-03-11T09:09:00.000-07:00</published><updated>2009-03-11T09:48:51.646-07:00</updated><title type='text'>Creating a Basic Script from Server Traffic (Web-Services)</title><content type='html'>While dealing with web-services based application(s), sometimes it is not possible to capture the user actions using Vugen. This might be due to application nature or something else. In this case there is an utility to create a basic LR script by using "analyze traffic" feature of web-services based script.&lt;br /&gt;&lt;br /&gt;The actions needed for this are as follows:&lt;br /&gt;&lt;br /&gt;1. Create a network capture file&lt;br /&gt;2. Open a new web-services script in Vugen and import the WSDL.&lt;br /&gt;3. Use the analyze traffice option to generate the script.&lt;br /&gt;&lt;br /&gt;*************************&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Create the capture file&lt;br /&gt;*************************&lt;br /&gt;&lt;/span&gt;You can obtain a capture file using the command line utility or any existing&lt;br /&gt;capture tool.&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;There is a utility in Vugen's bin directory called as "lrtcpdump.exe"which can be used to create the network traffic capture file.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;To create a capture file on a Windows platform:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1 Choose Start &gt; Run, type cmd and click OK to open a command window.&lt;br /&gt;2 Drag in or enter the full path of the lrtcpdump.exe program located in the&lt;br /&gt;product’s bin directory.&lt;br /&gt;3 Provide a file name for the capture file using the following syntax:&lt;br /&gt;lrtcpdump -f &lt;file&gt;&lt;br /&gt;4 lrtcpdump prompts you to select a network card. If there are multiple&lt;br /&gt;interface cards, it lists all of them. Type in the number of the interface card&lt;br /&gt;(1, 2, 3 etc.) and click Enter.&lt;br /&gt;5 Perform typical actions within your application.&lt;br /&gt;6 Return to the command window and click Enter to end the capture session.&lt;br /&gt;&lt;br /&gt;********************************************************&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Use the analyze traffice option to generate the script.&lt;/span&gt;&lt;br /&gt;********************************************************&lt;br /&gt;&lt;br /&gt;1 Choose File &gt; New and click New Single Protocol Script in the left pane.&lt;br /&gt;2 Select the Web Services protocol and click OK.&lt;br /&gt;3 Click the Analyze Traffic button or choose Vuser &gt; Analyze Traffic. The&lt;br /&gt;wizard opens.&lt;br /&gt;4 Add the WSDL file location/URL and select next (optional)&lt;br /&gt;5 On the next page provide the capture file information and click Finish&lt;br /&gt;&lt;br /&gt;This will generate your basic web-services script for the action(s) performed. Then you can do your customization (parametrization and correlation) to the script.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Note:&lt;/span&gt; Please make sure that while making the capture file, all other TCP application(s) are closed. Only the application under test should be opened.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-6946555367906788451?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/6946555367906788451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/creating-basic-script-from-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/6946555367906788451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/6946555367906788451'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/creating-basic-script-from-server.html' title='Creating a Basic Script from Server Traffic (Web-Services)'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-6962754224873472331</id><published>2009-03-11T08:03:00.000-07:00</published><updated>2009-03-11T08:10:05.682-07:00</updated><title type='text'>How can i check the download size of a file during replay</title><content type='html'>If your application is having a functionality to download a file; and you want to check the size of that file during replay of your script to verify whether the download is happening fine or not.&lt;br /&gt;&lt;br /&gt;You must me thinking whether there is any function in LR or not... well there is a function to check exactly the same. The code snippet is mentioned below:&lt;br /&gt;&lt;br /&gt;********************&lt;br /&gt;int downloadsize;&lt;br /&gt;&lt;br /&gt;web_submit_data(".....");&lt;br /&gt;&lt;br /&gt;downloadsize= &lt;b style="font-weight: bold;"&gt;web_get_int_property&lt;/b&gt;(HTTP_INFO_DOWNLOAD_SIZE) ;&lt;br /&gt;&lt;br /&gt;*******************&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-6962754224873472331?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/6962754224873472331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-can-i-check-download-size-of-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/6962754224873472331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/6962754224873472331'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-can-i-check-download-size-of-file.html' title='How can i check the download size of a file during replay'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-6078992940767735995</id><published>2009-03-11T07:56:00.000-07:00</published><updated>2009-03-13T04:19:05.381-07:00</updated><title type='text'>Error: "-26668: Could not update controller sync file" during a load test</title><content type='html'>&lt;span class="wrapbody"&gt;&lt;p&gt;&lt;b style="color: rgb(153, 0, 0);"&gt;Diagnosis:&lt;/b&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt; When running a script under the Controller and "Snapshot on  error" is selected or when running in VuGen and the Run-Time Browser is opened,  replay needs to write a "sync" file for the application (Vugen/Controller). The  file should be called "ctrlsink.dat" and placed in the scenario result  directory. The error occurs when the opening of the sync file using  fopen(filename, "w") fails.&lt;/p&gt;&lt;/span&gt; &lt;p style="font-weight: bold; color: rgb(153, 0, 0);"&gt;Solution:&lt;/p&gt;&lt;p&gt;&lt;span class="wrapbody"&gt;Verify the disk space and permissions &lt;p&gt;1. Verify if there is enough disk space is available. (Check the environment variable "temp" location, better to have it other than the default user temp location like a temp folder on D-drive or C-drive)&lt;br /&gt;2. Verify if the  user has enough permissions to open a file in the specified directory.&lt;br /&gt;3. If  specified directory is on a remote machine, check if there was a network/remote  machine failure&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;Note:&lt;/span&gt; If you are using LR8.0 or 8.1 make sure you have installed all your feature packs or patches.&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-6078992940767735995?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/6078992940767735995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/error-26668-could-not-update-controller.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/6078992940767735995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/6078992940767735995'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/error-26668-could-not-update-controller.html' title='Error: &quot;-26668: Could not update controller sync file&quot; during a load test'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-1387087618936283455</id><published>2009-03-08T05:30:00.000-07:00</published><updated>2009-03-08T05:31:26.372-07:00</updated><title type='text'>How to view the complete error messages in the Analysis session</title><content type='html'>&lt;span class="wrapbody"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(153, 0, 0);"&gt;Solution:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Add "AdditionalGroupBy=Error Message" to  ErrorsPerSecond.def and ErrorSummary.def &lt;p&gt;To display the complete error messages in the Analysis tool, do the  following:&lt;br /&gt;1. Close Analysis&lt;br /&gt;2. Go to "LoadRunner Install Dir"\bin\dat.&lt;br /&gt;4.  Open ErrorsPerSecond.def using a word editor (notepad/wordpad).&lt;br /&gt;5. Edit the section for "Graph  Definitions."&lt;br /&gt;6. Add an "Error Message" value to the AdditionalGroupBy  key.&lt;br /&gt;&lt;br /&gt;   &lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;   [Graph  Definitions]&lt;br /&gt;   AdditionalGroupBy=Error Message&lt;br /&gt;&lt;br /&gt;7. Repeat Steps 5 and  6 for ErrorSummary.def.&lt;br /&gt;8. Reload the raw analysis session and Add Error  Statistics graph.&lt;br /&gt;9. After the 'Error Statistics' graph is added, right  click on the graph and select ' Set Filter/Group By' option.&lt;br /&gt;10. On the Lower  pane where it says, 'Group By' select 'Error Message' and it should be availabe  in the 'Available Group'&lt;br /&gt;11. On the upper pane where it says 'Filter  Condition', under 'Error Message' or 'Error Type' select all or any of the error  codes or message to be shown on the graph.&lt;br /&gt;12. This will show the error  messages along with the code on the lower half pane where the graph is dsiplayed  and it will exported in any reports that are created.&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-1387087618936283455?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/1387087618936283455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-view-complete-error-messages-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/1387087618936283455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/1387087618936283455'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-view-complete-error-messages-in.html' title='How to view the complete error messages in the Analysis session'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-2279886555556610255</id><published>2009-03-08T05:18:00.000-07:00</published><updated>2009-03-08T05:21:25.406-07:00</updated><title type='text'>The result collation process fails, is it possible to recover the result data?</title><content type='html'>&lt;span class="wrapbody"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 0);"&gt;Solution:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Try the Collate option (Controller -&gt; Results -&gt;  Collate Results) &lt;p&gt;First, try the Collate option: Controller -&gt; Results -&gt; Collate  Results. If this fails, then,&lt;br /&gt;1. On the controller machine, go to Result  -&gt; Results setting to verify the result location.&lt;br /&gt;2. Navigate to the  result directory on the controller.&lt;br /&gt;3. Locate the file named  remote_results.txt and open it in any word editor&lt;br /&gt;4. On remote_results.txt,  you will see the location of the .eve file on remote host. For  example&lt;br /&gt;   MyHost=c:\temp\brr1\netdir\test\myhost_1.eve&lt;br /&gt;5. Go to that  specific host, and copy of the .eve file to the controller machine's result  directory.&lt;br /&gt;6. Open the Result file ( .lrr) in Analysis .&lt;br /&gt;&lt;/p&gt;&lt;p&gt;If the scenario crashed, or ended prematuerly then set "FullData=1" in the  lrr file of the result folder:&lt;br /&gt;1. Open the Result file ( .lrr) in notepad &lt;br /&gt;2. Search for the [Data Collection] section&lt;br /&gt;3. Create/modify the value  or FullData to 1&lt;br /&gt;    &lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;    [Data Collection]&lt;br /&gt;     FullData=1  &lt;/p&gt;&lt;p&gt;This will help in cases that the result files ( *.eve) contains useful data  but the Controller did not manage to write to the lrr that it has the data.  FullData will be zero in this case. Setting it to 1 will enable you to view what  data was saved.  &lt;/p&gt;&lt;p&gt;If the result still failed to come up, it is very likely that the _t_rep.eve  file in the controller is not completely generated. In order to save what can be  saved, run the scenario again, for a short interval(5 mins) saving the results  in a folder different than the old results folder. The _t_rep.eve file and the  .lrr file in the new result directory need to be edited. In the _t_rep.eve file  there is a line (first one) which maybe something like this:&lt;br /&gt;&lt;br /&gt;"28 11  1018300521 2 4627103 22735576 5481115"&lt;br /&gt;&lt;/p&gt;&lt;li&gt;The 11 is the event code for start scenario.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;The 1018300521 is the start time and it needs to be moved backward to match  the beginning of the first load test.  &lt;p&gt;The same must be done for the scenario start time specified in the .lrr file.  For example,&lt;br /&gt;&lt;br /&gt;[Scenario]&lt;br /&gt;Start_time=1018300521&lt;br /&gt;&lt;br /&gt;Put here the same  number.  &lt;/p&gt;&lt;p&gt;After this replace the binary eve files(&lt;host_name&gt;.eve or &lt;host_name&gt;.gzl)  from the new load test result with the ones collected from the LoadGenerators  resulted from old scenario run. Back up the data folder in the new results  directory. Copy the data folder from the old results directory in the new  results directory. Now the results can be analyzed.  &lt;/host_name&gt;&lt;/host_name&gt;&lt;/p&gt;&lt;p&gt;If the exact time of start of the first load test is not known. Select any  start time that will definitely fall before the estimated start time of the  original scenario. For eg; say 10000 seconds less than the one in the new load  test. Make a few iteration until you find out what exactly was the first event's  time.  &lt;/p&gt;&lt;p&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Note:&lt;/span&gt;&lt;br /&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;The duration of scenario in the new result will not be accurate.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;It is advised not to overwrite the old result directory in these cases since  it consists of the summary data and the monitoring data created even before  collation.&lt;br /&gt;&lt;/li&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-2279886555556610255?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/2279886555556610255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/result-collation-process-fails-is-it.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/2279886555556610255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/2279886555556610255'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/result-collation-process-fails-is-it.html' title='The result collation process fails, is it possible to recover the result data?'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-870348358694967506</id><published>2009-03-08T04:35:00.000-07:00</published><updated>2009-03-08T04:37:26.499-07:00</updated><title type='text'>How to execute Analysis with a .lrr or .lra file from command prompt</title><content type='html'>&lt;span class="wrapbody"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 0);"&gt;Solution:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Executing Analysis from the command line &lt;p&gt;Here is the command line that you need to execute to run Analysis from the  command prompt:  &lt;/p&gt;&lt;p&gt;"LoadRunner  Install Dir"\bin\analysisui.exe -RESULTPATH "path to .lrr/.lra  file" &lt;br /&gt;You can as use the flag -TEMPLATENAME templatename to specify the  template you want to use.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;NOTE:&lt;/b&gt; templatename should only contain  the name of the template to be used. The full path is hard coded in a  configuration file. &lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-870348358694967506?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/870348358694967506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-execute-analysis-with-lrr-or-lra.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/870348358694967506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/870348358694967506'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-execute-analysis-with-lrr-or-lra.html' title='How to execute Analysis with a .lrr or .lra file from command prompt'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-3117861656522774975</id><published>2009-03-08T04:29:00.000-07:00</published><updated>2009-03-08T04:33:20.723-07:00</updated><title type='text'>How to specify the number of iterations when executing a VuGen script from the command line</title><content type='html'>&lt;span class="wrapbody"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 0);"&gt;Solution:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Use lr_get_attrib_string() to read the command line  argument &lt;p&gt;VuGen has an -infiniteiterations option to specify the script to run infinite  times. There is not currently a command line option available to specify the  exact number of iterations.  &lt;/p&gt;&lt;p&gt;1. In VuGen, select Run-Time Settings -&gt; Additional attributes.&lt;br /&gt;2.  Create an argument name (for example, "iter"), and give a default argument value  of 2.&lt;br /&gt;3. Use a for loop in the Action item, and repeat the action "iter"  number of times.  &lt;/p&gt;&lt;p&gt;&lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;Action()&lt;br /&gt;{&lt;br /&gt;   int iterations, i;&lt;br /&gt;   iterations =  atoi(lr_get_attrib_string("iter"));&lt;br /&gt;&lt;br /&gt;   for (i = 1; i &lt;= iterations;  i++)&lt;br /&gt;      lr_output_message("This is a test, iteration is %s",  lr_get_attrib_string("iter"));&lt;br /&gt;      return 0;&lt;br /&gt;}  &lt;/p&gt;&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;br /&gt;If you have any parameters declared in the script that are  set to change values for each iteration, you may want to change them to each  occurence so it takes a different value for each time it runs.  &lt;/p&gt;&lt;p&gt;From the command line you can now run the script as  &lt;/p&gt;&lt;p&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: 13px; line-height: 20px; "&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;"LoadRunner install dir" &lt;/span&gt;&lt;/span&gt;&lt;loadrunner&gt;&lt;loadrunner&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\bin\mmdrv.exe -usr &lt;/span&gt;&lt;/span&gt;&lt;path&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; "path to .usr file&lt;/span&gt;&lt;/span&gt;"&lt;/path&gt;&lt;/loadrunner&gt;&lt;/loadrunner&gt;&lt;/span&gt; -out "path_to_output_directory" -iter "no_of_iters" &lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-3117861656522774975?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/3117861656522774975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-specify-number-of-iterations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/3117861656522774975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/3117861656522774975'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-specify-number-of-iterations.html' title='How to specify the number of iterations when executing a VuGen script from the command line'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-507443056375083556</id><published>2009-03-08T04:26:00.001-07:00</published><updated>2009-03-08T04:28:31.320-07:00</updated><title type='text'>How to execute/replay a VuGen script from DOS</title><content type='html'>&lt;span class="wrapbody"&gt;Executing a VuGen script from the command line &lt;p&gt;Here is the command line that you need to execute to run a VuGen script from  the command prompt:  &lt;/p&gt;&lt;p&gt;"LoadRunner install dir" &lt;loadrunner&gt;&lt;loadrunner&gt;\bin\mmdrv.exe -usr &lt;path&gt; "path to .usr file"&lt;/path&gt;&lt;/loadrunner&gt;&lt;/loadrunner&gt;&lt;/p&gt;&lt;p&gt;&lt;loadrunner&gt;&lt;path&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;br /&gt;In order to get all the other options that go with the  command, run mmdrv.exe from the command prompt without any options.&lt;br /&gt;&lt;/path&gt;&lt;/loadrunner&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-507443056375083556?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/507443056375083556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-executereplay-vugen-script-from.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/507443056375083556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/507443056375083556'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-executereplay-vugen-script-from.html' title='How to execute/replay a VuGen script from DOS'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-7339201665789940276</id><published>2009-03-08T04:18:00.000-07:00</published><updated>2009-03-08T04:21:21.631-07:00</updated><title type='text'>How to run a scenario from the command line</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 0);"&gt;Solution:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Command line arguments for the LoadRunner Controller&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="wrapbody"&gt;&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;br /&gt;1. Make sure that the Controller is shut down before  starting the scheduled task.&lt;br /&gt;2. When running the Controller via the Command  Line, Controller will be shut down automatically after the scenario ends.  &lt;/p&gt;&lt;p&gt;Command line parameters are parameters that the Controller receives when it  is invoked. They are used to instruct the Controller on how to behave. When  invoked, the Controller checks all the received parameters and sets its startup  environment accordingly. If no parameters are passed, the Controller uses its  default settings.  &lt;/p&gt;&lt;p&gt;By passing parameters in the command line, you may set the Controller and the  scenario's settings without the need to manually define them in the Controller  UI. For example, you can instruct the Controller whether to connect to  TestDirector on startup by using the ConnectToTD parameter, save the results to  a directory other than that defined in the scenario by using the ResultName  parameter, or invoke Analysis upon scenario termination with the InvokeAnalysis  parameter.  &lt;/p&gt;&lt;p&gt;The most common use of the Command Line is done by TestDirector. TestDirector  includes a special program called "Test Run Scheduler," which was designed for  scheduling the Controller to run scenarios at a specific date and time. It  automatically invokes the Controller and runs scenarios. Results are saved in  the TestDirector database. To do that, TestDirector must set the scenario's  environment by supplying the Controller with specific parameters.  &lt;/p&gt;&lt;p&gt;&lt;b&gt;Predefined rules: &lt;/b&gt; &lt;/p&gt;&lt;ul&gt; &lt;li&gt;When one or more parameters are not passed, the Controller uses its default  settings.  &lt;/li&gt;&lt;li&gt;Results will always be overwritten.  &lt;/li&gt;&lt;li&gt;The Controller will automatically terminate upon scenario termination and  the results will be then collated.  &lt;/li&gt;&lt;li&gt;The Controller's settings are loaded from wlrun5.ini located in the Windows  directory.  &lt;/li&gt;&lt;li&gt;The following parameters are supported on all Windows 9x and Windows NT  platforms. &lt;/li&gt;&lt;/ul&gt;&lt;b&gt;Switches for LoadRunner/TestDirector integration: &lt;/b&gt; &lt;ul&gt; &lt;li&gt;ConnectToTD - Should the Controller connect to TestDirector on startup (0/1  or ON/OFF).  &lt;/li&gt;&lt;li&gt;TDServer - TestDirector server name. Must be a computer name with  TestDirector installed.  &lt;/li&gt;&lt;li&gt;TDDB - Database name. For example, "lrun."  &lt;/li&gt;&lt;li&gt;UserName - User name.  &lt;/li&gt;&lt;li&gt;Password - Password for the user name.  &lt;/li&gt;&lt;li&gt;TestPath - Path to scenario in the TestDirector database. For example,  "[TD]\Subject\LoadRunner\Scenario1." If the path includes white spaces, use  quotation marks.  &lt;/li&gt;&lt;li&gt;TestId - Test ID (for TestDirector only).  &lt;/li&gt;&lt;li&gt;ResultCleanName - For use with ResultCycle only, for example, "Res1."  &lt;/li&gt;&lt;li&gt;ResultCycle - TestDirector cycle, for example, "LR_60_SP1_247." To define  the results path in TestDirector, the Controller must be provided with two  parameters: ResultCycle and ResultCleanName. &lt;/li&gt;&lt;/ul&gt;&lt;b&gt;Run-Time Switches:&lt;/b&gt;   &lt;ul&gt; &lt;li&gt;Run - Runs scenario, dumps all output messages into res_dir\output.txt and  closes the Controller.  &lt;/li&gt;&lt;li&gt;InvokeAnalysis - InvokeAnalysis will set a flag in the Controller, which  will invoke Analysis upon scenario termination (If not used, the scenario value  will be taken).&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;Results Switches (for File System):&lt;/b&gt;  &lt;ul&gt; &lt;li&gt;ResultName - Full results path, for example, "C:\Temp\Res_01."  &lt;/li&gt;&lt;li&gt;ResultCleanName - Results name, for example, "Res_01."  &lt;/li&gt;&lt;li&gt;ResultLocation - Results directory. For example, "C:\Temp".  &lt;/li&gt;&lt;li&gt;&lt;b&gt;Note:&lt;/b&gt;  &lt;ul&gt; &lt;li&gt;If the scenario does not specify a results directory and one of the above  parameters was not passed, the scenario will not run!  &lt;/li&gt;&lt;li&gt;The results will always be automatically collated upon scenario termination.   &lt;/li&gt;&lt;li&gt;The results will always be automatically overwritten.  &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;Command Line Syntax examples:&lt;/b&gt; &lt;ul&gt;&lt;/ul&gt; &lt;li&gt;Wlrun.exe -TestPath C:\Temp\Scenario1.lrs -ResultName C:\Temp\Res1 -Run  -InvokeAnalysis  &lt;/li&gt;&lt;li&gt;Wlrun.exe -TestPath C:\Temp\Scenario1.lrs -ResultLocation C:\Temp  -ResultCleanName Res1 -Run  &lt;/li&gt;&lt;li&gt;Wlrun.exe -ConnectToTD on -TDServer localhost -TDDB lrun -UserName yaniv18  -Passwordb#12GcSA -TestPath "[TD]\Subject\Trash for LR/TD Integration\Scenario1"  -Run  &lt;/li&gt;&lt;li&gt;Wlrun.exe -ConnectToTD 1 -TestPath "[TD]\Subject\Trash for LR/TD  Integration\Scenario1" &lt;/li&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-7339201665789940276?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/7339201665789940276/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-run-scenario-from-command-line.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/7339201665789940276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/7339201665789940276'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-run-scenario-from-command-line.html' title='How to run a scenario from the command line'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-637002600467873470</id><published>2009-03-08T04:13:00.000-07:00</published><updated>2009-03-08T04:15:31.079-07:00</updated><title type='text'>How to run a scenario at a specific time</title><content type='html'>&lt;span class="wrapbody"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;Resolution/Solution:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Use scenario scheduler of Controller or Windows Scheduler &lt;p&gt;&lt;b&gt;Using Scenario Scheduler of Controller:&lt;/b&gt;&lt;br /&gt;&lt;/p&gt;&lt;ol&gt; &lt;li&gt;Open the scenario in the Controller.  &lt;/li&gt;&lt;li&gt;Go to Design Tab -&gt; Edit Schedule -&gt; Scenario Start time and set the  time when you want to start the scenario.  &lt;/li&gt;&lt;li&gt;You need to click on Start Scenario button so that the Controller can  trigger the scenario once the start time comes up.&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;Using Windows  Scheduler:&lt;/b&gt;&lt;br /&gt;Scenario Scheduler of Controller is limited to the effect that  it can only be sheduled to be run at one time. In order to re-run it the  scenario has to be edited again. Instead, you can do the following: &lt;ol&gt; &lt;li&gt;You can have the scenario run from command line in a batch file.  &lt;/li&gt;&lt;li&gt;Then you schedule this batch file to run at different times from the Windows  Scheduler. &lt;/li&gt;&lt;/ol&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-637002600467873470?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/637002600467873470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-run-scenario-at-specific-time.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/637002600467873470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/637002600467873470'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-run-scenario-at-specific-time.html' title='How to run a scenario at a specific time'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-7220174612723081080</id><published>2009-03-06T09:42:00.000-08:00</published><updated>2009-03-06T09:46:03.066-08:00</updated><title type='text'>Common Errors between Controller and Agents</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Ckuma1p%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0cm; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} h3 	{mso-style-link:" Char Char"; 	mso-style-next:Normal; 	margin-top:12.0pt; 	margin-right:0cm; 	margin-bottom:3.0pt; 	margin-left:0cm; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:3; 	font-size:13.0pt; 	font-family:Arial; 	mso-ansi-language:EN-US; 	mso-fareast-language:EN-US;} span.CharChar 	{mso-style-name:" Char Char"; 	mso-style-locked:yes; 	mso-style-link:"Heading 3"; 	mso-ansi-font-size:13.0pt; 	mso-bidi-font-size:13.0pt; 	font-family:Arial; 	mso-ascii-font-family:Arial; 	mso-hansi-font-family:Arial; 	mso-bidi-font-family:Arial; 	mso-ansi-language:EN-US; 	mso-fareast-language:EN-US; 	mso-bidi-language:AR-SA; 	font-weight:bold;} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 90.0pt 72.0pt 90.0pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:97222555; 	mso-list-type:hybrid; 	mso-list-template-ids:1939113232 67698689 134807555 134807557 134807553 134807555 134807557 134807553 134807555 134807557;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:18.0pt; 	mso-level-number-position:left; 	margin-left:18.0pt; 	text-indent:-18.0pt; 	font-family:Symbol;} @list l1 	{mso-list-id:1164391906; 	mso-list-type:hybrid; 	mso-list-template-ids:-601950934 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l1:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:36.0pt; 	mso-level-number-position:left; 	text-indent:-18.0pt; 	font-family:Symbol;} ol 	{margin-bottom:0cm;} ul 	{margin-bottom:0cm;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal" style="margin-left: 18pt; text-indent: -18pt;"&gt;&lt;a name="_Toc76272581"&gt;&lt;/a&gt;&lt;a name="_Toc39913562"&gt;&lt;span style=""&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family: Symbol;" lang="EN-US"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style="" lang="EN-US"&gt;Error -10343: Communication error: Failed to connect to remote host &lt;server&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="" lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;h3 style="margin-left: 18pt; text-align: justify; text-indent: -18pt;"&gt;&lt;a name="_Toc222902219"&gt;&lt;/a&gt;&lt;a name="_Toc76272582"&gt;&lt;/a&gt;&lt;a name="_Toc39913563"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-size: 12pt; font-family: Symbol; font-weight: normal;" lang="EN-US"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;" lang="EN-US"&gt;Error -29989: Process "lr_bridge.exe" was not created on remote host &lt;host&gt;, reason - communication error.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;" lang="EN-US"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;br /&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Ckuma1p%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Sylfaen; 	panose-1:1 10 5 2 5 3 6 3 3 3; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:67110535 0 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0cm; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 90.0pt 72.0pt 90.0pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:260770459; 	mso-list-template-ids:935649646;} @list l0:level1 	{mso-level-number-format:alpha-lower; 	mso-level-tab-stop:36.0pt; 	mso-level-number-position:left; 	text-indent:-18.0pt;} ol 	{margin-bottom:0cm;} ul 	{margin-bottom:0cm;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen; color: maroon;"&gt;Resolution:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen; color: maroon;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;Different problems can cause the above error. Some of the things you can verify include: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;1. Make sure that you apply the same LoadRunner version and Service Pack on the Controller and Load Generator machines.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;br /&gt;2. Make sure that you can ping the Controller and host machine bidirectionally. You may need to &lt;b style=""&gt;add the IP address and machine name on the host&lt;/b&gt; file: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ol style="margin-top: 0cm;" start="1" type="a"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;Go      to the host machine. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;Navigate      to C:\WINNT\system32\drivers\etc\. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;Open      the hosts file in a word editor. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;At      the end of the file, add another line with the IP address and machine name      of the Controller machine. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;Example:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;br /&gt;111.111.111.111 MI_Controller &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ol style="margin-top: 0cm;" start="5" type="a"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;Repeat      steps a - d for all the host machines. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;Repeat      steps a - d for the Controller machine, but adding the IP and machine name      of the hosts machines. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;3. Make sure that the LoadRunner Agent is running either as a process or a service on the remote host machine. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;4. Make sure the Controller and host are connected to the network. In some networks, the Microsoft LOOP back IP address 10.10.10.10 is used when a computer is not connected to the network. As a result, the Controller will not be able to detect the host machine. You will need to stop the loop back service, connect to the network, and make sure that the machine has a valid IP address. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;5. If there are &lt;b style=""&gt;multiple network cards&lt;/b&gt; in the machines. Configure which NIC to be used by the process for communication. See below for some info…&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;==================================&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;Multiple NIC can cause communication problems between the Controller and the host&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;In general, having multiple NICs in a machine could cause a problem with the Controller-Load Generator connectivity. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;The reason is that the communication may not always be tagged with the correct interface when sending a reply to a request from the Controller. If a message is sent out from one NIC to a host machine, but that host knows the Controller by the other, then that message will be considered to have come from a different Controller and ignored as a host can only serve one Controller at a time. Likewise, messages sent from a host machine to the Controller on an NIC other than the one the Controller knows, will not be marked as comming from the correct host. This may cause the Controller to think the host is not responding. In cases like this, the communication gets "lost" and will result in time-out errors or similar. Removing extra interfaces resolves the problem. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;Other possible solutions involve always using the "primary" interface, which is listed under Network and Dial-Up Connections -&gt; Advanced -&gt; Advanced Settings -&gt; Adapters and Bindings in Windows 2000. This dialog allows you to reorder the network interfaces to change their priority. Always reference the top most adapter when connecting with the LoadRunner Controller.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;============================&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;6. It might as well be possible that some network environment issue might be the cause and the network monitor can be used to diagnose the problem. Make sure that you are using the latest driver and firmware for your network cards and routers. Also try to force the network card to use 100Mbs/Full Duplex instead of the 'Detect automatically the best speed settings'. In case of miscommunication with the router or other network device the automatic settings could be set in an inappropriate way and have huge consecuencies on the network performances. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;br /&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Ckuma1p%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Sylfaen; 	panose-1:1 10 5 2 5 3 6 3 3 3; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:67110535 0 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0cm; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 90.0pt 72.0pt 90.0pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;&lt;a name="_Toc222902220"&gt;&lt;/a&gt;&lt;a name="_Toc76272583"&gt;&lt;/a&gt;&lt;a style="font-weight: bold;" name="_Toc39913564"&gt;&lt;span style="font-size: 12pt; font-family: Sylfaen;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;Error -10344: Communication error: Failed to bind socket. A process on the machine is already bound to the same address.”&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Ckuma1p%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Sylfaen; 	panose-1:1 10 5 2 5 3 6 3 3 3; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:67110535 0 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0cm; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 90.0pt 72.0pt 90.0pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen; color: maroon;"&gt;Resolution:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;The LoadRunner Agent Process is trying to connect through a port that is busy &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;LoadRunner Agent Process/service starts itself at port &lt;b style=""&gt;50500&lt;/b&gt; and &lt;b style=""&gt;54345&lt;/b&gt; (For monitoring/running vuser over firewall, it is port &lt;b style=""&gt;443&lt;/b&gt;). Do a netstat -an on the machine and check to see if 54345 and 50500 are occupied. If these ports are in used when you start the agent, you will get the above error. You will need to shut down the application that is using those ports, so that the ports are freed before restarting LoadRunner agent.&lt;br /&gt;&lt;br /&gt;You may also get this error during replay if LoadRunner agent of the host machine is connecting back to the controller using a port that is already bound. By default, this is a dynamic port and LoadRunner agent will automatically try a different port. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Ckuma1p%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0cm; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} h3 	{mso-style-link:" Char Char"; 	mso-style-next:Normal; 	margin-top:12.0pt; 	margin-right:0cm; 	margin-bottom:3.0pt; 	margin-left:0cm; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:3; 	font-size:13.0pt; 	font-family:Arial; 	mso-ansi-language:EN-US; 	mso-fareast-language:EN-US;} span.CharChar 	{mso-style-name:" Char Char"; 	mso-style-locked:yes; 	mso-style-link:"Heading 3"; 	mso-ansi-font-size:13.0pt; 	mso-bidi-font-size:13.0pt; 	font-family:Arial; 	mso-ascii-font-family:Arial; 	mso-hansi-font-family:Arial; 	mso-bidi-font-family:Arial; 	mso-ansi-language:EN-US; 	mso-fareast-language:EN-US; 	mso-bidi-language:AR-SA; 	font-weight:bold;} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 90.0pt 72.0pt 90.0pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:1164391906; 	mso-list-type:hybrid; 	mso-list-template-ids:-601950934 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:36.0pt; 	mso-level-number-position:left; 	text-indent:-18.0pt; 	font-family:Symbol;} ol 	{margin-bottom:0cm;} ul 	{margin-bottom:0cm;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;h3 style="margin-left: 18pt; text-align: justify; text-indent: -18pt;"&gt;&lt;a name="_Toc222902221"&gt;&lt;/a&gt;&lt;a name="_Toc76272584"&gt;&lt;/a&gt;&lt;a name="_Toc39913565"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-size: 12pt; font-family: Symbol; font-weight: normal;" lang="EN-US"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;" lang="EN-US"&gt;Error -29987: Process "traceroute_server.exe was not created..." when connecting to a remote host&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;" lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;  &lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Ckuma1p%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Sylfaen; 	panose-1:1 10 5 2 5 3 6 3 3 3; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:67110535 0 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0cm; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 90.0pt 72.0pt 90.0pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen; color: maroon;"&gt;Resolution:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;Add the host name and IP address to the Hosts file &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;Verify that you are able to ping back and forth between the Controller and the Load Generator machines using both host names as well as IP addresses. If the ping in any one case fails:&lt;br /&gt;1. Add the host name and IP address of Load Generator to the Hosts file on the Controller.&lt;br /&gt;2. Add the host name and IP address of the Controller to the Hosts file on the Load Generator. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;b&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;Note: &lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;br /&gt;The Hosts file is usually under C:\Winnt\system32\driver\etc. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Ckuma1p%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0cm; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 90.0pt 72.0pt 90.0pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;&lt;a name="_Toc222902222"&gt;&lt;/a&gt;&lt;a name="_Toc76272585"&gt;&lt;/a&gt;&lt;a style="font-weight: bold;" name="_Toc39913566"&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;Error -30932: “Failed to open eve file - &lt;file&gt;”&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Ckuma1p%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Sylfaen; 	panose-1:1 10 5 2 5 3 6 3 3 3; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:67110535 0 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0cm; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 90.0pt 72.0pt 90.0pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen; color: maroon;"&gt;Resolution:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;Delete the old .eve files &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;Do the following: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;1. The Load Generator files may be specified in the Controller options to be shared on a network drive, but they are being saved on a local drive. To check this, in the Controller go to Tools -&gt; Options -&gt; RunTime File Storage and select the "On the current Vuser machine" option. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;2. The *.eve file is one which stores transaction times and is coallated at the end of a scenario run. If there are old *.eve file on the host machine it can be a problem. Delete the contents of the C:\temp folder, that will remove any old *.eve files from the machine that were not cleaned up from an earlier scenario run. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Sylfaen;"&gt;3. Shut down Controller. Go to C:\winnt folder. Look for wlrun.* and delete all files that the search returns. Go to &lt;loadrunner&gt;\bin folder and run register_controller.bat. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;br /&gt;&lt;br /&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-7220174612723081080?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/7220174612723081080/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/common-errors-between-controller-and.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/7220174612723081080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/7220174612723081080'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/common-errors-between-controller-and.html' title='Common Errors between Controller and Agents'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-2299429703516641861</id><published>2009-03-06T09:36:00.000-08:00</published><updated>2009-03-06T09:41:07.372-08:00</updated><title type='text'>Vuser memory footprints - LR 8.1</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_wijsc-qeu48/SbFf7X6-ngI/AAAAAAAAEBQ/hsfnfCILU6Q/s1600-h/LR_footprints.bmp"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 108px;" src="http://3.bp.blogspot.com/_wijsc-qeu48/SbFf7X6-ngI/AAAAAAAAEBQ/hsfnfCILU6Q/s320/LR_footprints.bmp" alt="" id="BLOGGER_PHOTO_ID_5310130909284834818" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-2299429703516641861?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/2299429703516641861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/vuser-memory-footprints.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/2299429703516641861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/2299429703516641861'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/vuser-memory-footprints.html' title='Vuser memory footprints - LR 8.1'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_wijsc-qeu48/SbFf7X6-ngI/AAAAAAAAEBQ/hsfnfCILU6Q/s72-c/LR_footprints.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-8557940430573290962</id><published>2009-03-06T09:25:00.000-08:00</published><updated>2009-03-06T09:33:14.575-08:00</updated><title type='text'>Suggested debugging steps when Controller crashes</title><content type='html'>Make sure that you login as a local administrator &lt;br /&gt;&lt;br /&gt;Login to the Controller machine with a local administrator account. Using domain account may cause unexpected behaviors.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Make sure that there are sufficient Disk Space&lt;/span&gt;&lt;br /&gt;Make sure that you have enough disk space available on the controller and load generators. During scenario execution, the events are written onto the Load Generator machines and are saved locally until the scenario finished; where results are send back to the Controller. If the machine does not have enough disk space, it can cause problem.&lt;br /&gt;&lt;br /&gt;Make Sure that the Temp directory is outside the User’s default Temp directory.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Make sure that there are sufficient memory available &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To check available memory on a machine: &lt;br /&gt;Right-click the status bar, and select Task Manager. Select the Performance tab to check the physical memory available. Select the Processes tab to check which processes have high memory consumption in the CPU column. &lt;br /&gt;&lt;br /&gt;To free up memory: &lt;br /&gt;• Close any unnecessary processes running on the machine, and try running the scenario again. &lt;br /&gt;• Restart your computer. &lt;br /&gt;• If the problem persists, reduce the number of virtual users that you are running on the same machine. &lt;br /&gt;&lt;br /&gt;To enlarge the size of your virtual memory: &lt;br /&gt;1. Click Start -&gt; Settings -&gt; Control Panel -&gt; System. &lt;br /&gt;    a. For Windows 2000, select the Advanced tab, and click Performance Options. &lt;br /&gt;    b. For Windows NT, select the Performance tab. &lt;br /&gt;2. In the Virtual memory section, click Change. &lt;br /&gt;3. In the Drive list, click the drive that contains the paging file you want to change. &lt;br /&gt;Under Paging file size for selected drive, type a new paging file size in megabytes in the Maximum size (MB) box, and then click Set. &lt;br /&gt;&lt;br /&gt;To boost performance, and allow more Virtual Users to run on the load generator machine: &lt;br /&gt;•On Windows 2000 machines, select Start -&gt; Settings -&gt; Control Panel -&gt; System -&gt; Advanced -&gt; Performance Options, and select the Background Services option. &lt;br /&gt;On Windows NT machines, select Start -&gt; Settings -&gt; Control Panel -&gt; System Properties &gt; Application Performance. Set Performance boost to "None."&lt;br /&gt;Check if the size of the output.mdb file in the results folder is more than 2 GB&lt;br /&gt;If the output.mdb file becomes greater than 2GB during a load test, Controller is unable to write into it anymore and cause a crash.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Run the Controller’s batch files to register DLLs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Sometimes, DLLs can become unregistered or the registry can become corrupted to a point where a program's DLLs cannot be found.  The purpose of batch files is to reregister them into the system's registry so that the programs can locate them.  Use the following steps to do this:&lt;br /&gt;&lt;br /&gt;1. Shut down the Controller.&lt;br /&gt;2. Navigate to the &lt;LoadRunner&gt;\bin directory, and look for the following files:&lt;br /&gt;• register_controller.bat &lt;br /&gt;• set_mon.bat&lt;br /&gt;3. Create a duplicate copy of the file, in the same location. &lt;br /&gt;4. Open up the duplicated file. In it, you should see several entries like the following:&lt;br /&gt;  regsvr32 /s webbrwsr.dll &lt;br /&gt;Remove the "/s" from each of these statements, but leave a space between the "regsvr32" and the DLL name. &lt;br /&gt;5. Save the changes.&lt;br /&gt;6. Double click on the batch file to run it. You should get several pop-up messages. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Try to recreate the Controller’s initialization file &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Sometimes, the initialization files can become corrupted (e.g. after a crashed). You will have problem in launching or using the Controller after that.  Use the following steps to do delete the initialization file so that a new copy will be created:&lt;br /&gt;1. Shut the Controller.&lt;br /&gt;2. Navigate to the C:\Winnt  ( or C:\Windows for Windows XP machine )&lt;br /&gt;3. Delete all files that begin with wlrun*. For example,  &lt;br /&gt;      wlrun.ini, wlrun5.ini, wlrun7.dft, wlrun7.hst, wlrun7.ini&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Check the temporary environment variables&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Unlike the earlier window’s versions, Window 2000 and Window XP have the default environment set to c:\Document and Settings\&lt;user-name&gt;\Local Settings\Temp instead of c:\Windows\temp. This long path with a space can cause several problems on LoadRunner. To resolve the issue, change to a directory without empty spaces&lt;br /&gt;&lt;br /&gt;Reboot&lt;br /&gt;When programs crash, they leave the system in an unstable state.  This can cause many other problems that seem to have no apparent reason for happening or has not happened before.  When the system is rebooted, it resets the system into a more stable state.  This should be done after any program crashes.&lt;br /&gt;Verify the information in the event viewer&lt;br /&gt;Sometimes, if a program crashes, it does not give any clues for what had happened.  By using the Windows event viewer, it may be possible to find some clue as to what happened when the crash occurred.  The event viewer can be launched from Start -&gt; Programs -&gt; Administrative Tools -&gt; Event Viewer.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Verify other programs are interfering with Controller &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To find out whether hooked DLLs are possibly causing a problem, you can use a third party utility call "Process Explorer."  This utility has the ability to view the DLLs loaded by an application.  It can be downloaded free of charge from the following link:&lt;br /&gt;http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx&lt;br /&gt;&lt;br /&gt;This can be used to see if LoadRunner loaded any other program's DLLs.  Use the following steps to do this:&lt;br /&gt;1. Unzip the .zip file, which was downloaded from the above URL, into a directory where you wish to install Process Explorer.&lt;br /&gt;2. Start the Controller.&lt;br /&gt;3. Run the Process Explorer (procexp.exe) from the directory into which you unzipped it (step a).&lt;br /&gt;4. Select wlrun.exe (Controller) from the top section of Process Explorer.&lt;br /&gt;5. The bottom section should be displaying a list of DLLs.  If it is showing handles for the application, go to the "View" menu and select "DLLs." &lt;br /&gt;&lt;br /&gt;6. Search through the list to see if any other program's DLLs are loaded.  Normally, only DLLs from the &lt;LoadRunner&gt;\bin directory and standard Microsoft directories are loaded.  For example, if you see wbhook32.dll (McAfee VirusScan hooking DLL) loaded by LoadRunner, then you would want to shut down the anti-virus software.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Disable anti-virus software&lt;/span&gt;&lt;br /&gt;It is known that anti-virus software is intrusive when they are set to look for viruses.  However, in searching for viruses, the software can interfere with a program's proper execution.  This could cause problems and sometimes crashes.  This is why, for debugging purposes, it is recommended to turn off the anti-virus software.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-8557940430573290962?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/8557940430573290962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/suggested-debugging-steps-when.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/8557940430573290962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/8557940430573290962'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/suggested-debugging-steps-when.html' title='Suggested debugging steps when Controller crashes'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-591750504927255438</id><published>2009-03-06T09:22:00.001-08:00</published><updated>2009-03-06T09:22:35.903-08:00</updated><title type='text'>What if the number of events does not increase/nothing gets recorded?</title><content type='html'>1. The selected protocol might not be correct &lt;br /&gt;2. The action currently recording does not use the protocol that is being specified in the script. The number of events will not increase till it comes across the protocol that is specified. &lt;br /&gt;3. The activities that are taking place are client side and not server side. This will not get recorded.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-591750504927255438?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/591750504927255438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/what-if-number-of-events-does-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/591750504927255438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/591750504927255438'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/what-if-number-of-events-does-not.html' title='What if the number of events does not increase/nothing gets recorded?'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8242453787408676318.post-7761104902553317633</id><published>2009-03-06T09:18:00.000-08:00</published><updated>2009-03-06T09:21:49.517-08:00</updated><title type='text'>How to display the total number of Vusers in the scenario instead of just the running Vusers</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Ckuma1p%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Sylfaen; 	panose-1:1 10 5 2 5 3 6 3 3 3; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:67110535 0 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0cm; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 90.0pt 72.0pt 90.0pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:172916649; 	mso-list-template-ids:-1386858312;} @list l0:level1 	{mso-level-number-format:alpha-lower; 	mso-level-tab-stop:36.0pt; 	mso-level-number-position:left; 	text-indent:-18.0pt;} @list l1 	{mso-list-id:544752926; 	mso-list-template-ids:-1713711146;} @list l1:level1 	{mso-level-number-format:alpha-lower; 	mso-level-tab-stop:36.0pt; 	mso-level-number-position:left; 	text-indent:-18.0pt;} ol 	{margin-bottom:0cm;} ul 	{margin-bottom:0cm;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=";font-family:Sylfaen;font-size:10;color:black;"   &gt;Displaying the total number of Vusers in the scenario instead of just the running Vusers &lt;/span&gt;&lt;span style=";font-family:Sylfaen;font-size:14;color:black;"   &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Sylfaen;font-size:10;color:black;"   &gt;There are two files that need modifications.&lt;br /&gt;&lt;br /&gt;1. Open VuserStateGraph.def located under &lt;loadrunner&gt;\bin\dat. &lt;/loadrunner&gt;&lt;/span&gt;&lt;span style=";font-family:Sylfaen;font-size:14;color:black;"   &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ol start="1" type="a"&gt;&lt;li class="MsoNormal"  style="color:black;"&gt;&lt;span style=";font-family:Sylfaen;font-size:10;"  &gt;Search for the [AdditionalFilter0] section. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"  style="color:black;"&gt;&lt;span style=";font-family:Sylfaen;font-size:10;"  &gt;Change &lt;i&gt;Values=Run&lt;/i&gt; to &lt;i&gt;Values=Quit&lt;/i&gt;.      &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"  style="color:black;"&gt;&lt;span style=";font-family:Sylfaen;font-size:10;"  &gt;Save the file. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=";font-family:Sylfaen;font-size:10;color:black;"   &gt;2. Open AnalysisSummary.asc located under &lt;loadrunner&gt;\bin\dat. &lt;/loadrunner&gt;&lt;/span&gt;&lt;span style=";font-family:Sylfaen;font-size:14;color:black;"   &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 36pt; text-indent: -18pt;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=";font-family:Sylfaen;font-size:14;color:black;"   &gt;&lt;span style=""&gt;a.&lt;span style=";font-family:&amp;quot;;font-size:7;"  &gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=";font-family:Sylfaen;font-size:10;color:black;"   &gt;Change &lt;i&gt;FieldName=Maximum Running Vusers:&lt;/i&gt; to &lt;i&gt;FieldName=Total Running Vusers:&lt;/i&gt;. &lt;/span&gt;&lt;span style=";font-family:Sylfaen;font-size:14;color:black;"   &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ol start="2" type="a"&gt;&lt;li class="MsoNormal"  style="color:black;"&gt;&lt;span style=";font-family:Sylfaen;font-size:10;"  &gt;Save the file. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=";font-family:Sylfaen;font-size:10;color:black;"   &gt;3. Open up the results file (.lrr) again, it will now display the Total Running Vusers as opposed to Maximum Running Vusers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8242453787408676318-7761104902553317633?l=commonlrissues.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://commonlrissues.blogspot.com/feeds/7761104902553317633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-display-total-number-of-vusers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/7761104902553317633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8242453787408676318/posts/default/7761104902553317633'/><link rel='alternate' type='text/html' href='http://commonlrissues.blogspot.com/2009/03/how-to-display-total-number-of-vusers.html' title='How to display the total number of Vusers in the scenario instead of just the running Vusers'/><author><name>Sunil_Kunu</name><uri>http://www.blogger.com/profile/03131330453709395638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_wijsc-qeu48/Sbg9rQU8FgI/AAAAAAAAEDg/ARhojTYBXeE/S220/Mysnap.jpg'/></author><thr:total>0</thr:total></entry></feed>
