<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>qaPages &#187; HP Mercury LoadRunner</title>
	<atom:link href="http://www.qapages.org/category/loadrunner/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.qapages.org</link>
	<description>qaPages - a collection of Software Testing &#38; Quality pages...</description>
	<lastBuildDate>Tue, 10 Nov 2009 10:36:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Configuring LoadRunner Monitors on the Controller</title>
		<link>http://www.qapages.org/configuring-loadrunner-monitors-on-controller/</link>
		<comments>http://www.qapages.org/configuring-loadrunner-monitors-on-controller/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 09:15:12 +0000</pubDate>
		<dc:creator>duke</dc:creator>
				<category><![CDATA[HP Mercury LoadRunner]]></category>
		<category><![CDATA[Controllers]]></category>
		<category><![CDATA[Monitors]]></category>

		<guid isPermaLink="false">http://www.qapages.org/?p=47</guid>
		<description><![CDATA[To use the following monitors, you must first install or configure monitoring components on the server machine:
COM+, Citrix, DB2, IBM WebSphere MQ, iPlanet (NAS), J2EE &#38; .NET Diagnostics, Network Delay, Oracle, PeopleSoft (Tuxedo), SAPGUI, SAP Portal, SAP CCMS, Siebel Server Manager, Siebel Web Server, SiteScope, Tuxedo, UNIX, WebLogic (JMX), WebSphere Application Server
To obtain performance data for a monitor, you need to configure the monitor from the Controller, and indicate which statistics and measurements you want to monitor. You select these counters using the monitor&#8217;s Add Measurements dialog box.
To set up ...]]></description>
			<content:encoded><![CDATA[<p>To use the following monitors, you must first install or configure monitoring components on the server machine:</p>
<p>COM+, Citrix, DB2, IBM WebSphere MQ, iPlanet (NAS), J2EE &amp; .NET Diagnostics, Network Delay, Oracle, PeopleSoft (Tuxedo), SAPGUI, SAP Portal, SAP CCMS, Siebel Server Manager, Siebel Web Server, SiteScope, Tuxedo, UNIX, WebLogic (JMX), WebSphere Application Server</p>
<p>To obtain performance data for a monitor, you need to configure the monitor from the Controller, and indicate which statistics and measurements you want to monitor. You select these counters using the monitor&#8217;s Add Measurements dialog box.</p>
<p>To set up a monitor, you need to perform the following:</p>
<ul>
<li>Add a monitored server to the Controller by selecting the server whose monitors you want to configure</li>
<li>For SiteScope monitors, configure the remote server</li>
<li>Configure the monitor by selecting the measurements that you want to monitor</li>
</ul>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.qapages.org/configuring-loadrunner-monitors-on-controller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a Vuser Script with Visual C</title>
		<link>http://www.qapages.org/creating-a-vuser-script-with-visual-c/</link>
		<comments>http://www.qapages.org/creating-a-vuser-script-with-visual-c/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 09:00:50 +0000</pubDate>
		<dc:creator>Raveen Sharma</dc:creator>
				<category><![CDATA[HP Mercury LoadRunner]]></category>

		<guid isPermaLink="false">http://www.qapages.org/?p=43</guid>
		<description><![CDATA[Vuser scripts can be created using Visual C 6.0 or higher. To create a Vuser script with Visual C, please follow the below steps:

In Visual C, create a new project &#8211; dynamic link library (dll). Select File &#62; New and click the Projects tab.
In the Wizard, select empty dll
Add a new cpp file with 3 exported function: init, run, end
Add library file lrun50.lib
Select the C/C++ tab and select Code generation (Category) &#62; Use Run Time library (List). Change it to: Multithreaded dll
Select the C/C++ tab and select Preprocessor (Category) &#62; Preprocessor definitions ...]]></description>
			<content:encoded><![CDATA[<p>Vuser scripts can be created using Visual C 6.0 or higher. To create a Vuser script with Visual C, please follow the below steps:</p>
<ol>
<li>In Visual C, create a new project &#8211; dynamic link library (dll). Select <strong>File &gt; New</strong> and click the Projects tab.</li>
<li>In the Wizard, select <em>empty dll</em></li>
<li>Add a new <em>cpp</em> file with 3 exported function: <em>init</em>, <em>run</em>, <em>end</em></li>
<li>Add library file lrun50.lib</li>
<li>Select the C/C++ tab and select <strong>Code generation</strong> (Category) <strong>&gt; Use Run Time library</strong> (List).<strong> </strong>Change it to: <strong>Multithreaded dll</strong></li>
<li>Select the C/C++ tab and select <strong>Preprocessor</strong> (Category) &gt; <strong>Preprocessor definitions</strong> (edit field) Remove _DEBUG</li>
<li>Add code from your client application, or program as you normally would</li>
<li>Enhance your script with Vuser API functions. For example, <strong>lr_output_message</strong> to issue messages, <strong>lr_start_transaction</strong> to mark transactions, and so forth</li>
<li>Build the project. The output will be a DLL</li>
<li>Create a directory with the same name as the DLL and copy the DLL to this directory</li>
<li>In the <strong>lrvuser.usr</strong> file in the <em>Template</em> directory, Update the USR file key <em>BinVuser</em> with the DLL name: <span>BinVuser=&lt;</span><em>DLL_name</em><span>&gt;</span></li>
</ol>
<p><span>In the following example, the lr_output_messsage function issues messages indicating which section is being executed. The lr_eval_string function retrieves the name of the user. To use the following sample, verify that the path to the Vuser API include file, lrun.h is correct</span></p>
<blockquote><p><span style="FONT-WEIGHT: normal; VERTICAL-ALIGN: baseline; FONT-STYLE: normal; TEXT-DECORATION: none">#include &#8220;c:\lrun_5\include\lrun.h&#8221;</span></p>
<p>extern &#8220;C&#8221; {</p>
<p>int __declspec(dllexport) Init (void *p)</p>
<p>{</p>
<p>lr_output_message(&#8220;in init&#8221;);</p>
<p>return 0;</p>
<p>}</p>
<p>int __declspec(dllexport) Run (void *p)</p>
<p>{</p>
<p>const char *str = lr_eval_string(&#8220;&lt;name&gt;&#8221;);</p>
<p>lr_output_message(&#8220;in run and parameter is %s&#8221;, str);</p>
<p>return 0;</p>
<p>}</p>
<p>int __declspec(dllexport) End (void *p)</p>
<p>{</p>
<p>       lr_output_message(&#8220;in end&#8221;);</p>
<p>return 0;</p>
<p>}</p>
<p>} //extern C end</p></blockquote>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.qapages.org/creating-a-vuser-script-with-visual-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
