<?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; JMS</title>
	<atom:link href="http://www.loadrunnertnt.com/tag/jms/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>Does LoadRunner support JMS recording?</title>
		<link>http://www.loadrunnertnt.com/concepts/does-loadrunner-support-jms-recording/</link>
		<comments>http://www.loadrunnertnt.com/concepts/does-loadrunner-support-jms-recording/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 05:31:43 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Concepts]]></category>
		<category><![CDATA[JMS]]></category>
		<category><![CDATA[LoadRunner]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=237</guid>
		<description><![CDATA[Depends; In order to answer the &#8220;depends&#8221;, we need to understand some basics of JMS and its relation with LoadRunner.  First, JMS can be implemented in two ways: (a) via HTTP/XML or (b) via RMI-Java. Going back to the fundamentals of LoadRunner on the article for protocols, &#8220;Which protocol to use?&#8221;, its essential to [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Depends;</strong> In order to answer the &#8220;depends&#8221;, we need to understand some basics of JMS and its relation with <strong>LoadRunner</strong>.  First, <strong>JMS</strong> can be implemented in two ways: (a) via HTTP/XML or (b) via RMI-Java. Going back to the fundamentals of LoadRunner on the article for <strong>protocol</strong>s, <a title="Which protocol to use?" href="http://www.loadrunnertnt.com/?p=305" target="_blank">&#8220;Which protocol to use?&#8221;</a>, its essential to know what&#8217;s the communication mechanism in order to select the protocol from LoadRunner. A more detailed description on the different implementations can be found in <a title="JMS over XML-RPC with HTTP protocol" href="http://www.theserverside.com/discussions/thread.tss?thread_id=38849" target="_blank">&#8220;JMS over XML-RPC with HTTP protocol&#8221;</a> from the <a title="TheServideSide.com" href="http://www.theserverside.com/" target="_blank">TheServerSide.com</a>.</p>
<p><span id="more-237"></span>When JMS is implemented via <strong>HTTP/XML</strong>, it&#8217;s simple here with the typical record and replay of the <strong>HTTP protocol</strong>. However, be aware that the asynchronous natural of messaging technology still applies. (LoadRunner have &#8220;partial&#8221; support on asynchronous application, in my humble opinion not really an accurate measure of the JMS load test). Therefore, if you are recording via HTTP protocol, our suggestion is to understand the interval that the message is being sent to the server and emulate it as <strong>lr_think_time</strong> in the script.  When recording the application, you will be able to see the XML tags within the <strong>web_custom_request</strong> similar to Web Services.</p>
<p>If it&#8217;s implemented via <strong>RMI-Java</strong>, you will have to record using <strong>Java Record and Replay Vuser</strong> and this required understanding of the classes that communicates from the client to the server. The developer will be required to be involved in the recording as he/she can provide advise on the classes used. Furthermore, JMS implementation on RMI-Java requires a license for Java Record and Replay Vuser. Therefore, do take note of the availability of the licenses in your organization. If the JMS is implemented over <strong>T3 protocol</strong> in <strong>WebLogic</strong>, just have to take note that it&#8217;s BEA proprietary version of the RMI-Java implementation. Some information of T3 can be found in the following links to help you gain understanding of it:</p>
<ul>
<li><a title="What is the function of T3 in WebLogic Server?" href="http://edocs.bea.com/wls/docs81/faq/server.html#293726" target="_blank">FAQs: Server-Related Questions, What is the function of T3 in WebLogic Server? (</a><a href="http://edocs.bea.com/wls/docs81/index.html">BEA WebLogic Server 8.1 Documentation)</a></li>
<li><a title="Using WebLogic RMI with T3 Protocol" href="http://edocs.beasys.com/wls/docs91/rmi/rmi_t3.html" target="_blank">Using WebLogic RMI with T3 Protocol (BEA WebLogic Server 9.1 Documentation)</a></li>
</ul>
<p>Both of the above leads to the same &#8220;depends&#8221; as it is dependent on the underlying protocol used. To sum up, before the load test, conduct an assessment on the communication mechanism (HTTP/XML or RMI-Java). Use WinSock recording or WireShark Network Analyzer to determine the communication. In a HTTP implementation, we will see conventional HTTP headers and XML tags. While in RMI-Java implementation, it will be a load of binaries with identified variable values. Thereafter, proposed the appropriate recording solution to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/concepts/does-loadrunner-support-jms-recording/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

