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

<channel>
	<title>LoadRunner TnT &#187; Protocols</title>
	<atom:link href="http://www.loadrunnertnt.com/tag/protocols/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.loadrunnertnt.com</link>
	<description>Performance Testing, LoadRunner Tips &#38; Tricks</description>
	<lastBuildDate>Mon, 08 Mar 2010 07:57:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tracking Transaction Response Time in GUI Vuser</title>
		<link>http://www.loadrunnertnt.com/how-tos/tracking-transaction-response-time-in-gui-vuser/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/tracking-transaction-response-time-in-gui-vuser/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 08:22:40 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[GUI Vuser]]></category>
		<category><![CDATA[Protocols]]></category>
		<category><![CDATA[QTP]]></category>
		<category><![CDATA[Scripting]]></category>

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

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=682</guid>
		<description><![CDATA[In this post, we shall cover the basic knowledge of using Quick Test Professional (QTP) for load testing with LoadRunner.   Unlike conventional protocols in LoadRunner where you record in Vugen, modify, port into Controller and run the execute button, you will need to do a few more stuff in order to get the setup right [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.loadrunnertnt.com/wp-content/uploads/2010/02/company_hp_logo.gif"><img class="alignleft size-full wp-image-684" title="company_hp_logo" src="http://www.loadrunnertnt.com/wp-content/uploads/2010/02/company_hp_logo.gif" alt="" width="64" height="55" /></a>In this post, we shall cover the basic knowledge of using <strong>Quick Test Professional (QTP) </strong>for load testing with <strong>LoadRunner</strong>.   Unlike conventional protocols in LoadRunner where you record in Vugen, modify, port into Controller and run the execute button, you will need to do a few more stuff in order to get the setup right and running.   This knowledge will aid you in planning, budgeting, finding resources and minimizing any hiccups when setting up for such load test.<span id="more-682"></span></p>
<ul>
<li><strong>QTP scripts are developed in QTP not in LoadRunner Vugen</strong> – You won’t be able to record and replay a QTP script in Vugen.  All the recording and modification has to be done on QTP.  Once the modification of the QTP script is completed, it will be ported into LoadRunner Controller as GUI Vuser for load testing.</li>
<li><strong>QTP is required to install in the Load Generators (LG) </strong>– The load generators will be required to install QTP as they are used to run the scripts.</li>
<li><strong>Load Generators will be required to set the same resolution to the machine that developed the QTP script </strong>– As QTP is object sensitive, the resolution of the LG is required to be the same with the machine that was initially used to develop the QTP script to avoid any problems arising from missing objects (due to a different resolution)</li>
<li><strong>[1] GUI Vuser license is required for LoadRunner and QTP concurrent license is required for QTP </strong>– This is the 1<sup>st</sup> setup approach and budgeting for your licenses.  The total amount of Vuser that you wanted to generate will be the same for both LoadRunner and QTP.  Meaning, if you want to run 50 concurrent users using GUI Vuser protocol, you will need 50 GUI Vuser license and 50 QTP Concurrent license.  In this setup, the LG will create 50 instances of QTP to run the GUI Vuser.  This is described in “What licenses are required to run a scenario with GUI Vusers” from <a href="http://support.openview.hp.com/support.jsp">HP Software Support</a>.</li>
<li><strong>[2] GUI Vuser license is required for LoadRunner, QTP seat/concurrent license is required for QTP and Windows Terminal License is required for Windows </strong>– This is the 2<sup>nd</sup> setup approach and budgeting for your licenses.   For a 50 concurrent user load test, you will need 50 GUI Vuser protocol, <em>50 Windows Terminal License</em> and 1 QTP license.  In this setup, the QTP license is merely used to develop the script.  The LG will create 50 remote desktop connections and each of these connections will run 1 GUI Vuser.  This setup utilizes remote desktop functionality to emulate the virtual users.  I believed that HP Support does not really state about the licenses required from Windows Terminal and this is additional cost for you to factor if you are going though this mode.  Personally, I experimented using Windows Server 2003 (that is capable of 3 remote connections by default) with this approach and it works for me.  On the server, the remote connections are established and the QTP script launches the browser for testing.  (I wonder if this is permissible in the first place and like to know if anyone else is doing it.  If you got some input on this, please feel free to shout it here!)</li>
</ul>
<p>With the above information, you should be slightly more familiar with <strong>Quick Test Professional (QTP)</strong> integrating with <strong>LoadRunner</strong>.  However, there may be more things that need to be considered and I may have left out.  Do feel free to feedback and experiences and anything that I missed out when using QTP in load testing!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/concepts/using-qtp-with-loadrunner-for-load-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing SAPGUI protocol in LoadRunner</title>
		<link>http://www.loadrunnertnt.com/concepts/introducing-sapgui-protocol-in-loadrunner/</link>
		<comments>http://www.loadrunnertnt.com/concepts/introducing-sapgui-protocol-in-loadrunner/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 22:54:39 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Concepts]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Protocols]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[SAPGUI]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=219</guid>
		<description><![CDATA[
Performance testing recording and execution for SAPGUI relies on the SAP Scripting API and ActiveX the SAP R/3 application server and on all SAP GUI clients that are participating in the load test. As of date of this article, LoadRunner documentation does not have updated details on configuring SAPGUI for scripting such as supported versions.  [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="SAP" src="http://loadrunnertnt.com/images/company_sap_logo.jpg" alt="" width="82" height="40" /></p>
<p>Performance testing recording and execution for SAPGUI relies on the SAP Scripting API and ActiveX the SAP R/3 application server and on all SAP GUI clients that are participating in the load test. As of date of this article, LoadRunner documentation does not have updated details on configuring SAPGUI for scripting such as supported versions.  However, the configurations are somewhat similar to other performance testing product which in this article, we refered to IBM instead.</p>
<p><span id="more-219"></span>The basic requirements for LoadRunner (or performance testing tools) to record SAPGUI is on two things: (a) the client machines to have the entire SAPGUI Client installed and (b) the SAP server to have scripting enabled.  (c) Other than the configurations, you may have to take note of the ports used by the SAPGUI, namely, TCP32## where ## represent the System Number.  This is especially important if the environment you are in is tight on opening of ports.</p>
<p><span style="text-decoration: underline;">[1] Ensure client scripting enabled<br />
</span></p>
<ul>
<li>To ensure that scripting is available on the client-end, check that there is a Scripting directory located in the SAP GUI installation directory.  If this directory does not exist, then the SAP Scripting API is not installed and you must reinstall SAP GUI with the SAP Scripting API option.</li>
</ul>
<p><span style="text-decoration: underline;">[2] Ensure server scripting enabled</span></p>
<ul>
<li>Logon to SAP with a user with administrator privileges.  Administrator privileges is required to enable scripting on the server.</li>
<li>In SAP, run the transaction<em> rz11</em>, and enter parameter name <em>sapgui/user_scripting</em>.</li>
<li>If the parameter is not found, ensure that you have the correct support package level from SAP and contact SAP should you require further guidance on this.</li>
<li>If the parameter exists, enable the parameter with the Current value changed to TRUE.  Save it and scripting will be enabled the next time you log on.</li>
</ul>
<p><a title="IBM, Configuring SAP R/3 for performance testing" href="http://publib.boulder.ibm.com/infocenter/rpthelp/v7r0m0/index.jsp?topic=/com.ibm.rational.test.lt.sap.doc/topics/tsapconfig.html" target="_blank">(Source: IBM, Configuring SAP R/3 for performance testing)</a></p>
<p><span style="text-decoration: underline;">[3] Ensure communication between SAPGUI with SAP servers </span></p>
<p>Ensure that you have connectivity on TCP32##.  This is the port number used by SAPGUI to communicate to the dispatcher.</p>
<p>Also, before starting the scripting, for newbies, you may like to gather the following information as they will be used for the scripting work.  The user account used in the scripting (accessing the SAP system) should have sufficient privileges to the transactions.</p>
<ul>
<li>SAP Client</li>
<li>System Number</li>
<li>Authorization User Name</li>
<li>Authorization Password</li>
<li>SAP Router String (Optional)</li>
</ul>
<p>In summary,</p>
<ul>
<li>Ensure client scripting enabled</li>
<li>Ensure server scripting enabled</li>
<li>Ensure communication between SAPGUI with SAP servers</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/concepts/introducing-sapgui-protocol-in-loadrunner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Which protocol to use?</title>
		<link>http://www.loadrunnertnt.com/concepts/which-protocol-to-use/</link>
		<comments>http://www.loadrunnertnt.com/concepts/which-protocol-to-use/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 05:33:52 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Concepts]]></category>
		<category><![CDATA[Protocols]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=305</guid>
		<description><![CDATA[Typically for newbies, the question after getting their first copy of LoadRunner and installation of Vugen will be, “Which protocol to use?”. They post online or to the support to ask, “I’ve got a Java/.NET applicaton, and there are many protocols from the list of Vugen. Which Protocol should I choose ” or “…can you [...]]]></description>
			<content:encoded><![CDATA[<p>Typically for newbies, the question after getting their first copy of <strong>LoadRunner</strong> and installation of Vugen will be, “Which protocol to use?”. They post online or to the support to ask, “I’ve got a <strong>Java/.NET</strong> applicaton, and there are many protocols from the list of Vugen. Which Protocol should I choose ” or “…can you advise on the protocol to use?”.</p>
<p>The fact is that it doesn’t really matter the type of language that was used to developed the application, but rather the type of communication method or protocol that the application is talking to the server. Previously, in <a title="What’s LoadRunner?" href="http://www.loadrunnertnt.com/?p=17" target="_blank">&#8220;What&#8217;s LoadRunner?&#8221;</a>, we mentioned that the tool captures network traffic while recording which is the core understanding that we must align when using this tool.<span id="more-305"></span></p>
<p>For example, an application can be developed using <strong>.NET 2.0</strong> framework, is window-based (<strong>Win32</strong>). This application can be part of a N-Tier architecture that utilizes <strong>HTTP</strong> or <strong>HTTPS</strong> to communicate to the middle-tiers or a 2-Tier architecture that talks to the database directly using <strong>ODBC</strong>,<strong> ADO</strong> or <strong>JDBC-ODBC</strong>.</p>
<p>Similarly, an application can be developed using Java, but it talks to the middle-tier using <strong>RMI-Java</strong> or <strong>HTTP</strong>, or to its database using <strong>JDBC</strong>.</p>
<p>Despite the language or the type of of Applications (Java or <strong>Win32</strong>, etc.), the Load Tester must understand the communication method in order to determine the protocol to be used. This is done by consulting the development team of the application (which usually the Load Tester do not have such knowledge).</p>
<p>To understand the protocol used by the application (client to server), you can do the following.</p>
<p>1. The easiest way, check with the application team or vendor, particularly the software architects and the developers. They should be able to provide such information. If they don’t, it ’s time to doubt the experiences of the application team.</p>
<p>2. Use <a title="WireShark Network Analyzer" href="http://www.wireshark.org/" target="_blank">WireShark Network Analyzer</a> to sniff the traffic communication when the application is running. More details of the usage can be found in the provider’s site. You should be able to see the protocols under the protocol column after you start capturing the traffic.</p>
<p>3. Use <strong>netstat -a</strong> to determine the protocol and port number. For example, the protocol is TCP and port number is 80, it could signifies HTTP. The caveat for this is that netstat -a only display protocol in <strong>IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP</strong>, or <strong>UDPv6</strong> (/? help for more information), which means you may need to guess the protocol according to the protocol (TCP) and port number.</p>
<p>4. Use <strong>Winsock</strong> protocol to determine the protocol via the data files. Winsock captures all traffic of any type at the socket level and writes it to the data file. From the data file, you will then find signatures of the protocol such as <strong>HTTP requests</strong> and <strong>responses</strong> in the context of HTTP.</p>
<p>Hopefully this methods are sufficient for you to determine the protocol used. Feel free to comment if you have a better method.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/concepts/which-protocol-to-use/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>LoadRunner licenses</title>
		<link>http://www.loadrunnertnt.com/concepts/loadrunner-licenses/</link>
		<comments>http://www.loadrunnertnt.com/concepts/loadrunner-licenses/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 05:23:12 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Concepts]]></category>
		<category><![CDATA[Licenses]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Protocols]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=299</guid>
		<description><![CDATA[LoadRunner requires license to function. The license entitles to (1) the protocol the user is permitted to run, (2) the number of Vusers (or concurrent users it can generate) and (3) the type of monitors available to the user. After LR8.1 FP3 (standing version of this writing is LR9.0), the license model have changed from [...]]]></description>
			<content:encoded><![CDATA[<p><strong><img class="alignleft" title="HP" src="http://loadrunnertnt.com/images/company_hp_logo.gif" alt="" width="64" height="55" />LoadRunner</strong> requires license to function. The <span style="font-weight: bold;">license</span> entitles to (1) the <span style="font-weight: bold;">protocol</span> the user is permitted to run, (2) the number of Vusers (or concurrent users it can generate) and (3) the type of monitors available to the user. After <span style="font-weight: bold;">LR8.1 FP3</span> (standing version of this writing is LR9.0), the license model have changed from individual or group protocols to Bundle Licenses. In a Bundled License, the protocols of the same genre are grouped together (e.g. <strong>Web (HTTP/HTML)</strong>, <strong>FTP</strong>, <strong>Winsock</strong> are grouped together into Web &amp; Multimedia Bundle). This (in my opinion) provides a neater way to manage the licenses. Also, the all monitors are made available as “All Monitors” with exceptions to the diagnostics modules (e.g. <strong>J2EE</strong>, <strong>.NET</strong>, <strong>SAP</strong>, etc.).<span id="more-299"></span></p>
<p>It seemed that all is good  with LR8.1 FP3. However, with the grouping feature of the protocols, and all <span style="font-weight: bold;">monitors</span> being available, there are no free meals, the costing have also increased.</p>
<p>Once you’ve upgraded to LR8.1 FP3 from a previous version, and you would like to uninstall FP3, there are no methods to rollback the upgrade other than uninstalling LR again and upgrade to the Feature Pack that you desired (e.g. <span style="font-weight: bold;">FP2</span>).</p>
<p>The <strong>license</strong> effectively constraints the <strong>Controller</strong> in the type of <strong>Vusers</strong> to run, the number of Vusers to run and the type of <strong>monitors</strong> entitled. As such, you can still install <strong>Vugen</strong> and <strong>Analysis</strong> to perform <strong>recording/replaying</strong> and analysis of the graphs without worrying about the license restrictions.</p>
<p>The license is usually bounded by a Host-ID (with exception on <strong>dongle</strong> based license) which generates the License Key for the machine. Take note that if you change system values like System Date, this will create a security violation to the license causing it to fail when you startup Controller. If such things arises, don’t do anything else, it’s not going to work; just contact <a href="http://support.openview.hp.com/" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">Mercury/HP</span></span></a> for an unlocking license to save you the troubleshooting time.</p>
<p>The <strong>Host-ID</strong> changes every time, however be assure that the license generated remains the same. This as described in <a href="http://support.openview.hp.com/selfsolve/document/KM184373" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">Document ID 30252</span></span></a> is because the Host-ID is based on an algorithm to calculate the value out based on system values. That is the reason, changes such as the <strong>System Date</strong> may cause the Host-ID to be inconsistent with the License Key.</p>
<p>There are a couple of KBs in the support website that provides useful information on licenses. I’ve listed them down for your reference. Take note that you have to be a valid user of the support website in order to access the articles:</p>
<ul><a href="http://support.openview.hp.com/selfsolve/document/KM187573" target="_blank"><span style="color: #0066cc;"><span style="text-decoration: underline;">Document ID 3422 &#8211; How to determine the number of Vuser licenses</span></span></a><br />
<a href="http://support.openview.hp.com/selfsolve/document/KM207158" target="_blank"><span style="color: #0066cc;"><span style="text-decoration: underline;">Document ID 9120 &#8211; Error: “You do not have a license for this Vuser type”</span></span></a><br />
<a href="http://support.openview.hp.com/selfsolve/document/KM187573" target="_blank"><span style="color: #0066cc;"><span style="text-decoration: underline;">Document ID 10260 &#8211; How to get a LoadRunner license key</span></span></a><br />
<a href="http://support.openview.hp.com/selfsolve/document/KM169574" target="_blank"><span style="color: #0066cc;"><span style="text-decoration: underline;">Document ID 10749 &#8211; How to generate a hostID without installing first</span></span></a><br />
<a href="http://support.openview.hp.com/selfsolve/document/KM169712" target="_blank"><span style="color: #0066cc;"><span style="text-decoration: underline;">Document ID 11369 &#8211; How to enter a new license key for LoadRunner</span></span></a><br />
<a href="http://support.openview.hp.com/selfsolve/document/KM189103" target="_blank"><span style="color: #0066cc;"><span style="text-decoration: underline;">Document ID 36169 &#8211; Error: “Loadrunner security Violation. Please reset the System Date”</span></span></a><br />
<a href="http://support.openview.hp.com/selfsolve/document/KM192712" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">Document ID 39992 &#8211; Where is the license key saved after it has been applied during LoadRunner installation</span></span></a></ul>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/concepts/loadrunner-licenses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Combining non-standard protocols in a single script that are not listed in Multi-Protocol selection</title>
		<link>http://www.loadrunnertnt.com/how-tos/combining-non-standard-protocols-in-a-single-script-that-are-not-listed-in-multi-protocol-selection/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/combining-non-standard-protocols-in-a-single-script-that-are-not-listed-in-multi-protocol-selection/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 01:37:30 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[HTTP/HTML]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[MMS]]></category>
		<category><![CDATA[Protocols]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=91</guid>
		<description><![CDATA[Have you ever wanted a combination of two separate protocols that were unavailable in the list of multi-protocol? For example, part of the web application has streaming video component and the activities to be recorded requires you to login, conduct some verification before you have the video link for the user to click. If you [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever wanted a combination of two separate protocols that were unavailable in the list of multi-protocol? For example, part of the web application has streaming video component and the activities to be recorded requires you to login, conduct some verification before you have the video link for the user to click. If you need to test the entire flow, you may want to have <strong>Media Player (MMS)</strong> with <strong>Web (HTTP/HTML)</strong> combined together to emulate the activities.<span id="more-91"></span></p>
<p>By default, when you are about to select the protocols from Multi-Protocol selection, you won’t be able to combine both of them together as illustrated below. (Click on image to enlarge).</p>
<p><img class="aligncenter" title="New Multiple Protocol" src="http://loadrunnertnt.com/images/new_multi_protocol.png" alt="" width="593" height="412" /></p>
<p>However, there are means to do that! Basically, what you need to do is to enable the protocol to be displayed in the <em>“New Multiple Protocol Script”</em> list when creating a <em>“New Virtual User”</em>. Let’s go through the technical overview:</p>
<ul>1. Go to {installation}\dat\protocols. By default, it’s C:\Program Files\LoadRunner\dat\protocols<br />
2. Open the desired protocol file that has the<em>.lrp</em> file extension. (E.g. <em>mms.lrp</em>)<br />
3. Amend parameter, <em>Multi</em> in the .lrp file from <em>0</em> to <em>1</em>. E.g. <em>Multi=0</em> to <em>Multi=1</em><br />
4. Open Vugen for a new vuser script and you should be able to see the enabled protocol in the list “New Multiple Protocol Script”.</ul>
<p>You should be able to see the enabled protocol similar to the following screenshot. (Click on image to enlarge).</p>
<p><img class="aligncenter" title="New Multiple Protocol Amended" src="http://loadrunnertnt.com/images/new_multi_protocol_amended.png" alt="" width="593" height="412" /></p>
<p>Click on the link if you need a sample of the files; You need to rename the file to <em>mms.lrp</em> and place it in <em>{installation}</em>\dat\protocols if you want to use it</p>
<ul>
<li><a href="downloads/mms-original.lrp" target="_blank"><span style="color: #800080;"><span style="text-decoration: underline;">Original <em>mms.lrp</em> file </span></span></a></li>
<li><a href="downloads/mms-amended.lrp" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">Amended <em>mms.lrp</em> file<br />
</span></span></a></li>
</ul>
<blockquote><p>Note:</p>
<p>Having provided the above, you will still need a basic understanding on how the combined script will be executed. Both protocol will execute as it is of it’s own where (1) <strong>Web (HTTP/HTML)</strong> will still allow the <strong>HTTP</strong> sends and receives when the Web (HTTP/HTML) APIs are executed and (2) Media Player (MMS) will make a direct connection to the Media Server (or publishing point) that will stream the video down when executing the <strong>Media Player (MMS)</strong> APIs. HTTP communication will stop from there till the streaming completes. You can refer to a previous article, &#8220;<a title="Introducing Media Player (MMS) protocol in LoadRunner!" href="http://www.loadrunnertnt.com/?p=267" target="_blank">Introducing Media Player (MMS) protocol in LoadRunner!</a>&#8220;.</p></blockquote>
<p>I’ve only tried with Web (HTTP/HTML) and Media Player (MMS). I’ve yet to try other combination of protocols. If you do have given a try before, it will be great to hear from too! As for the licensing, I’m not too sure if this is a breach in the <strong>license</strong>. Will be great to hear from the experts or vendor on this!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/combining-non-standard-protocols-in-a-single-script-that-are-not-listed-in-multi-protocol-selection/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
