<?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; J2EE Diagnostics</title>
	<atom:link href="http://www.loadrunnertnt.com/tag/j2ee-diagnostics/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>Implementing Mercury J2EE Diagnostics with LoadRunner!</title>
		<link>http://www.loadrunnertnt.com/how-tos/implementing-mercury-j2ee-diagnostics-with-loadrunner/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/implementing-mercury-j2ee-diagnostics-with-loadrunner/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 16:46:59 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[J2EE Diagnostics]]></category>
		<category><![CDATA[LoadRunner]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=42</guid>
		<description><![CDATA[You should have the following with you prior the entire setup. If you are still unsure of the different components in a Mercury J2EE Diagnostics setup, I recommend you to revisit the article, &#8220;What&#8217;s Diagnostics?&#8221;, to gain a better understanding better before proceeding:
1. Mercury Diagnostics Server Installation Disc
2. Mercury Diagnostics J2EE Probe Installation Disc
3. Mercury [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="HP" src="http://loadrunnertnt.com/images/company_hp_logo.gif" alt="" width="64" height="55" />You should have the following with you prior the entire setup. If you are still unsure of the different components in a <span style="font-weight: bold;">Mercury J2EE Diagnostics</span> setup, I recommend you to revisit the article, <a title="What's Diagnostics?" href="http://www.loadrunnertnt.com/?p=1" target="_blank">&#8220;What&#8217;s Diagnostics?&#8221;</a>, to gain a better understanding better before proceeding:</p>
<ul>1. <strong>Mercury Diagnostics Server</strong> Installation Disc<br />
2. <strong>Mercury Diagnostics J2EE Probe</strong> Installation Disc<br />
3. <strong>Mercury LoadRunner</strong> Installation Disc (prior to LR 9.0, the AddIn is found on the Additional Feature Disk).<br />
4. <strong>J2EE Diagnostics Module</strong> license for LoadRunner<br />
5. Mercury Diagnostics license for Diagnostics Server<br />
6. Mercury Diagnostics Server and Probe Installation and Configuration Documentation</ul>
<p>What you need to know in advance:</p>
<ul>1. The <strong>JRE</strong> information of the Application Server.<br />
2. The location of the application startup script (not the <strong>WebLogic</strong> server startup script).</ul>
<p>We will use the term <strong>Profiler</strong> and <strong>Probe</strong> interchangeably for the purpose of this article. In the setup, I’m using the following:</p>
<ul>1. Mercury Diagnostics Server 6.5<br />
2. Mercury Diagnostics Probe 6.5<br />
3. Mercury LoadRunner 8.1 FP4<br />
4. BEA Weblogic 8.1 SP5<br />
5. BEA sample Application Server &#8211; <strong>Avitek TM Medical Records</strong><br />
6. Sun JRE 1.4.2_08<br />
7. TCP 2006 opened for two-way communication from <strong>LoadRunner Controller</strong> machine to <strong>Diagnostics Server</strong> machine<br />
8. TCP 2612 opened for two-way communication from Diagnostics Server machine to Application Server machine<br />
9. TCP 35000 opened locally on Application Server machine.</ul>
<p><span id="more-42"></span>Also, note that the explanation will be based on <strong>Windows</strong> environment although concepts are generally similar. Therefore, if you are installing in a <strong>Unix</strong> environment, please refer to the <span style="font-weight: bold;">Mercury Diagnostics Installation and Configuration Guide</span>. The implementation will also be based on the following illustration.</p>
<p align="center"><span style="font-weight: bold;">Mercury J2EE Diagnostics Implementation</span></p>
<p style="text-align: center;"><a href="images/Diagnostics_Implementation.jpg" target="_blank"></a><img class="aligncenter" title="Diagnostics Implementation" src="http://loadrunnertnt.com/images/Diagnostics_Implementation.jpg" alt="" width="623" height="326" /></p>
<p>Enough said, let’s walk through the steps for installation and configuration together.</p>
<p>An overview of the implementation is as followed:</p>
<ul>1. Install the <strong>Diagnostics Server</strong><br />
2. Install the <strong>Diagnostics AddIn</strong> on the <strong>LoadRunner Controller</strong><br />
3. Install the <strong>Diagnostics J2EE Probe</strong> on the Application Server<br />
4. Run the <strong>Diagnostics J2EE Instrumenter</strong> and instrument the application startup script.<br />
5. Ensure that statistics are collected and displayed on the Diagnostics J2EE Probe/Profiler<br />
6. Ensure that statistics are collected and displayed on the Diagnostics Server<br />
7. Ensure that statistics are collected and displayed on the LoadRunner Controller.</ul>
<p><span style="font-weight: bold; text-decoration: underline;">Installation</span></p>
<p>1. Verify the compatibility of the Diagnostics Server, Probe and LoadRunner with the <a href="http://support.openview.hp.com/" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">support crew</span></span></a> first. Sometimes, the server may not be fully integrated with <span style="font-weight: bold;">LoadRunner </span>and may end you up in circles without the proper support.</p>
<p>2. Install <span style="font-weight: bold;">Diagnostics Server</span> on a machine in the network with the Mercury Diagnostics Server Installation Disk.</p>
<p>a. The <span style="font-weight: bold;">installation</span> process is pretty straight-forward so just follow through it. Once you’ve reached the selection of the Diagnostics Server Mode, select <span style="font-weight: bold;">“Commander Mode”</span> as there is only one Diagnostics Server available in the setup. The following setup are optional and dependent on your existing architectural setup.</p>
<p>b. Once the installation has completed, on the <span style="font-weight: bold;">Diagnostic Server</span> machine, select All Programs &gt; Mercury Diagnostics Server &gt; Administration to launch Diagnostics Server in the browser. If it is not started, select All Programs &gt; Mercury Diagnostics Server &gt; Start Mercury Diagnostics Server. By default, Diagnostics Server <span style="font-weight: bold;">service</span> should be started after the installation as well as every startup of the OS.</p>
<blockquote><p><strong>Tip:</strong><br />
For any reason, that username and password is required, the default is <strong>username: admin</strong> and <strong>password: admin</strong>.</p></blockquote>
<p>c. Place the <span style="font-weight: bold;">Mercury Diagnostics license</span> information here. (In anyway, you won’t be able to view any data in the Diagnostics Server if the license information is not entered and also it will consistently prompt you for the license.)</p>
<p>d. Verify the <span style="font-weight: bold;">Diagnostics Server</span> is working such as the functionality by launching the browser and pointing to the following URL:</p>
<ul><em>http://localhost:2006</em></p>
<p><em> </em>or</p>
<p><em>http://{diagnostics-server}:2006</em> where <em>{diagnostics-server}</em> is the hostname of the Diagnostics Server.</ul>
<p><strong>Note:</strong><br />
If you have a complex setup of mutliple <strong>J2EE Application Servers</strong> that you would like to monitor, you may need to spread the load of the Diagnostics Commander Server to many <span style="font-weight: bold;">Diagnostics Mediator Server</span>. The Mediator Servers are to ease the processing of the information before being consolidated at the Diagnostics Commander. For more information, refer to the article, <a title="What's Diagnostics?" href="http://www.loadrunnertnt.com/?p=1" target="_blank">&#8220;What&#8217;s Diagnostics?&#8221;</a>.</p>
<p>3. Install the <span style="font-weight: bold;">Diagnostics AddIn</span> on the <span style="font-weight: bold;">LoadRunner Controller</span> machine using the Mercury LoadRunner Installation Disc. If you are working on <span style="font-weight: bold;">LR8.1FP4</span> and earlier, the <span style="font-weight: bold;">AddIn</span> is found in the <span style="font-weight: bold;">Additional Feature</span> disc. After the installation, place the <span style="font-weight: bold;">J2EE Diagnostics Module license</span> information in LoadRunner and connect to the Diagnostics Server at port 2006. This is done by configuring in the LaunchPad (Select All Programs &gt; Mercury LoadRunner &gt; LoadRunner &gt; Configuration &gt; <span style="font-weight: bold;">Diagnostics for J2EE/.NET</span> setup)</p>
<p>4. Install the <span style="font-weight: bold;">Mercury Diagnostic J2EE Probe</span> on the <span style="font-weight: bold;">Application Server</span>. The installation process is pretty straight-forward so just follow through it. Once you’ve reached the selection for installing it as a standalone <span style="font-weight: bold;">Profiler</span> to work with a Diagnostics Server, select to <span style="font-weight: bold;">“Install the probe to work with a Mercury Diagnostics Server”</span> since we’ve got the <span style="font-weight: bold;">Diagnostics Server</span> ready.</p>
<p>a. Provide a <span style="font-weight: bold;">Probe Name</span> for the the probe, e.g. Avitek_J2EE_Probe. You can also provide the <span style="font-weight: bold;">Probe Group</span> which we will use the “Default” Probe Group. (Refer to the <span style="font-weight: bold;">Mercury Diagnostics User’s Guide</span> for more information of the names and groups in Diagnostics and if you need to change the names and groups in future).</p>
<p>b. Provide the Diagnostics Server Mediator Host information which include the hostname and the port that the Diagnostics Server is utilizing. By default, it’s <strong>port 2006</strong>.</p>
<blockquote><p><strong>Note:</strong><br />
1. You can install the probe as a standalone profiler and it will still work with the proper instrumentation. However, the result that is been displayed at the profiler will be runtime and you will not be able to store it for analyzing at a later stage. This will be useful if you need to monitor the application server with minimal setup.</p>
<p>2. In the Instrumentation Tool, you can also add <span style="font-weight: bold;">JVM</span>s if they are not detected by the tool.</p></blockquote>
<p><span style="font-weight: bold; text-decoration: underline;">Instrumentation</span></p>
<p>5. After the installation, run the <span style="font-weight: bold;">JRE Instrumenter</span> from <span style="font-weight: bold;">All Programs &gt; Mercury Diagnostics J2EE Probe &gt; JRE Instrumenter</span>. Select the JRE that was previously configured in the probe installation process (<span style="font-weight: bold;">Sun JRE 1.4.2_08</span> in C:\MercuryDiagnostics\JavaProbe\classes\Sun\1.4.2_08) and the <span style="font-weight: bold;">JVM parameter</span> is displayed in the bottom window. This JVM parameter will be added to the application startup script for instrumentation purposes. As such, click <span style="font-weight: bold;">“Copy Parameter” </span>to copy the JVM parameter.</p>
<p>6. Locate the application <span style="font-weight: bold;">startup script</span>. For the sample application, Avitek Medical Record, it’s located in the following directory. Open the startup script with a notepad to edit the startup process.</p>
<p><span style="font-weight: bold;">C:\bea\weblogic\samples\domains\medrec\startMedRecServer.cmd</span></p>
<blockquote><p><strong>Tip: </strong><br />
If you are unsure of the location, check with the developers or the Application Server team. Alternatively, you can also find the directory with the console that starts the application server.</p></blockquote>
<p>7. Find the statement that starts the application server and add the <span style="font-weight: bold;">JVM parameter</span> from point [5]. Two samples of the startup script before and after are included for your reference and can be downloaded in the respective link.</p>
<ul><a href="downloads/Before-Instrumentation-startMedRecServer.txt" target="_blank"><span style="font-weight: bold;"><span style="text-decoration: underline;"><span style="color: #0066cc;">Before-Instrumentation</span></span></span></a><em> </em></p>
<p><em>“%JAVA_HOME%\bin\java” %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS%<br />
-Dweblogic.Name=%SERVER_NAME%<br />
-Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE%<br />
-Djava.security.policy=”%WL_HOME%\server\lib\weblogic.policy”<br />
weblogic.Server</em></p>
<p><a href="downloads/After-Instrumentation-startMedRecServer.txt" target="_blank"><span style="font-weight: bold;"><span style="text-decoration: underline;"><span style="color: #0066cc;">After-Instrumentation</span></span></span></a></p>
<p><em>“%JAVA_HOME%\bin\java” %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS%<br />
-Dweblogic.Name=%SERVER_NAME%<br />
-Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE%<br />
-Djava.security.policy=”%WL_HOME%\server\lib\weblogic.policy” <span style="color: #ff0000;">“-Xbootclasspath/p:C:\MercuryDiagnostics\JAVAProbe\classes\Sun\1.4.2_08;<br />
C:\MercuryDiagnostics\JAVAProbe\classes\boot”</span><br />
weblogic.Server</em></ul>
<p>8. Save the amended application startup script and restart the entire application server. (Not necessarily the <span style="font-weight: bold;">Weblogic Server</span> needs to be restarted.)</p>
<p>9. Now, from the Start menu, select <span style="font-weight: bold;">All Programs &gt; Mercury Diagnostics J2EE Probe &gt; Diagnostics Profiler for J2EE</span>. This will launch the <span style="font-weight: bold;">J2EE Profiler</span> in its applet format. Click on the link, <span style="font-weight: bold;">“Connect to Mercury Diagnostics Profiler”</span> and wait awhile for the profiler loads. When the Profiler is fully loaded, you should be able to see statistics being collected (below) and displayed in the profiler if the steps taken from [5] to [7] were completed successfully.</p>
<p><span style="font-weight: bold;">Diagnostics Profiler for J2EE</span></p>
<p>You can also launch a browser with the following URL to view the statistics as illustrated in the below diagram.</p>
<ul><em>http://localhost:35000</em></p>
<p><em> </em>or</p>
<p><em>http://{application-server}:35000</em> where <em>{application-server}</em> is the hostname of the Application Server</ul>
<p align="center"><span style="font-weight: bold;">Diagnostics Profiler for J2EE via Browser<br />
</span></p>
<p style="text-align: center;"><a href="images/Mercury_Diagnostics_Profiler_via_Browser_Launched.JPG" target="_blank"></a><img class="aligncenter" title="Mercury J2EE Diagnostics Profiler Started" src="http://loadrunnertnt.com/images/Mercury_Diagnostics_Profiler_Profiling_Started.JPG" alt="" width="576" height="461" /></p>
<p style="text-align: center;">
<blockquote><p><strong>Tip:</strong><br />
For any reason, that username and password is required, the default is username: admin and password: admin.</p></blockquote>
<p><span style="font-weight: bold; text-decoration: underline;">Connecting to the Diagnostics Server</span></p>
<p>10. Go to the <strong>Diagnostics Server</strong>. Launch a browser and enter the following URL:</p>
<ul><em>http://localhost:2006</em></p>
<p>or</p>
<p><em>http://{diagnostics-server}:2006</em> where <em>{diagnostics-server}</em> is the hostname of the Diagnostics Server.</ul>
<p>With a valid license, you should be able to see statistics from the browser.</p>
<p><span style="font-weight: bold; text-decoration: underline;">Connecting to the LoadRunner Controller</span></p>
<p>11. Go to the LoadRunner Controller machine. Click on the Diagnostics for J2EE/.NET Tab, you should be able to see the JVM statstics being collected and displayed. It’s a similar interface as the <span style="font-weight: bold;">Diagnostics Server</span> which means all data are successfully collected and transmitted from the <span style="font-weight: bold;">Probe</span> to the Diagnostics Server and finally to the <span style="font-weight: bold;">LoadRunner Controller</span>. Hopefully you can understand that it is necessary to have the probe working, followed by the Diagnostics Server working before LoadRunner Controller can displayed and log the data.</p>
<p>For the usage and advanced configuration of the Diagnostics Server and Probe, I highly recommend you to go through the <span style="font-weight: bold;">Mercury Diagnostics User’s Guide </span>and <span style="font-weight: bold;">Mercury Diagnostics Installation and Configuration Guide</span>.</p>
<p>With that, I hoped I provide sufficient information for you to fully</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/implementing-mercury-j2ee-diagnostics-with-loadrunner/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>What’s Diagnostics?</title>
		<link>http://www.loadrunnertnt.com/products/hello-world/</link>
		<comments>http://www.loadrunnertnt.com/products/hello-world/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 15:07:33 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Products]]></category>
		<category><![CDATA[J2EE Diagnostics]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=1</guid>
		<description><![CDATA[The HP Diagnostics Software is a standalone software of its own that is fully functional by itself. It is designed to profile J2EE, .NET or ERP/CRM application, by capturing duration at the module level, displaying chain of calls, monitoring heap size and garbage collection. Of course, these are some things that you may be interested [...]]]></description>
			<content:encoded><![CDATA[<p>The <span style="font-weight: bold;">HP Diagnostics Software</span> is a standalone software of its own that is fully functional by itself. It is designed to profile <span style="font-weight: bold;">J2EE</span>, <span style="font-weight: bold;">.NET</span> or <span style="font-weight: bold;">ERP/CRM</span> application, by capturing duration at the <span style="font-weight: bold;">module level</span>, displaying chain of calls, monitoring <span style="font-weight: bold;">heap size</span> and <span style="font-weight: bold;">garbage collection</span>. Of course, these are some things that you may be interested in J2EE from the overview level and Diagnostics have more to offer than the mentioned. <span id="more-1"></span></p>
<p>For sales talk which is not part of the scope here, you might want to refer to the <a href="https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&amp;cp=1-11-15-25%5E761_4000_100__" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">official vendor website</span></span></a>. Before we go further,the discussion here will be specified to performance testing (<span style="font-weight: bold;">LoadRunner/Performance Center</span>) and J2EE.</p>
<hr id="system-readmore" />The Diagnostics setup comprises of the <span style="font-weight: bold;">Probe/Profiler </span>and the <span style="font-weight: bold;">Server (Commander)</span>. Note that Probe and Profiler will be use interchangeably in this article. Previous version of Diagnostics, 4.2 and earlier have the Probe/<span style="font-weight: bold;">Mediator</span>Commander however that was been incorporated into just the Probe and Commander which reduces the amount of setup effort. Note as of this writing, the latest <span style="font-weight: bold;">Diagnostics is 6.6</span>.The Profiler/Probe is installed on the application server (e.g. BEA WebLogic) and instrumented in order to collect statistics. The instrumentation is in the form of adding an additional parameter for the startup script for the application server. The instrumentation also deviates with each type of application server specifically to the <span style="font-weight: bold;">JVM</span> type (e.g. <span style="font-weight: bold;">HotSpot JVM</span>, <span style="font-weight: bold;">JRockit JVM</span>). By default, you can view the data locally on <span style="font-weight: bold;">port 35000</span> or via the <span style="font-weight: bold;">Java Profiler</span> application.</p>
<p>A Commander is installed to collect all the monitoring data from the probes. The processing of the monitoring individual probes are then performed on the Commander where you can view it via <span style="font-weight: bold;">port 2006</span> on the browser. The Commander also servers as the centralizing the entire Diagnostics collecting the data from all the probes that is connected to it.</p>
<p>So with <span style="font-weight: bold;">Diagnostics</span>, how does it compliment <span style="font-weight: bold;">LoadRunner</span>? LoadRunner does not report specified/drill down to module-level, or provide information of problematic modules (that maybe causing the bottleneck). It only reports system bottleneck in a bigger picture, such as <span style="font-weight: bold;">CPU</span>, <span style="font-weight: bold;">Memory</span>, <span style="font-weight: bold;">Network</span> or <span style="font-weight: bold;">Disk</span> usage. With Diagnostics, you can go a step further by monitoring the memory usage of the application server, breaking them down to each module level.</p>
<p>For example, in a <span style="font-weight: bold;">J2EE</span> application launched from <span style="font-weight: bold;">BEA WebLogic</span>, the process that runs the application is a <span style="font-weight: bold;">java.exe</span>. From an OS-level monitoring perspective, we can only know the CPU, Memory or Disk utilization on the process level, or even further to a thread level. However, we do not know what are the internals that maybe causing the bottlenecks, such as Garbage Collection type and frequency, the amount of objects created in the JVM or the method in the <span style="font-weight: bold;">JVM</span> that is using the most processing time. As such, Diagnostics will come into play to fill up the gap.Through this implementation, you can work down from the server-level (OS) into the application-level systematically.</p>
<hr title="Page 2 of 3" />Having mentioned the above, Diagnostics do have it’s caveats which it is important for you to take note: (1) Diagnostics can only report modules/calls that are made on the Application Server. Therefore, <span style="font-weight: bold;">Store Procedure Calls</span> on the <span style="font-weight: bold;">Database Servers</span> will not be reported during the profiling. (2) The probe is considered an <span style="font-weight: bold;">intrusive agent</span> as it is required to be installed on the application server (which maybe scrutinized with security or server team causing inconvenience). (3) Lastly, the probe creates a monitoring overhead in the application server as it examines the byte codes in the JVM. For this, the recommendation is not to perform a large load test in conjunction with the Diagnostics but rather, run a<span style="font-weight: bold;"> mini load test </span>of about <span style="font-weight: bold;">10% of the actual load</span>.  Another good tip before kicking off with <span style="font-weight: bold;">Diagnostics</span>, log a service request with <a href="http://support.mercury.com/" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">HP</span></span></a> to verify the compatibility for the <span style="font-weight: bold;">probe</span> with the <span style="font-weight: bold;">Application Server</span> . They should be able to tell you what they had tested (QAed) before and this will greatly save you alot of unnecessary time when the setup of Diagnostics really take place. Having said that, the instrumentation and compatibility is quite dependent on the type of JVM that the Application Server is running on. Therefore, know the version and type of <span style="font-weight: bold;">JVM</span> well before proceeding.</p>
<p><span style="font-style: italic;">Troubleshooting</span>; when the probes are not reporting the data back to the <span style="font-weight: bold;">Controller</span> (in a <span style="font-weight: bold;">LoadRunner</span> setup), it can be tied to various reasons. However, the main ones maybe caused by (1) unsuccessful or no instrumentation (remember, you need to <span style="font-weight: bold;">instrument</span> the application server after the installation), (2) ports between the Controller, Diagnostics and Probe are not opened, or (3) application server or Diagnostics server are not running When working with <span style="font-weight: bold;">LoadRunner/Performance Center</span>, always ensure that the Diagnostics setup is fully functional before adding the Diagnostics Module into the LoadRunner monitoring. This is an effective method in troubleshooting Diagnostics/LoadRunner integration problems in a load test setup.</p>
<p><span style="font-style: italic;">Licensing</span>; Diagnostics is bounded by (1) the number of probes that can be installed and (2) the number of Diagnostics Server that is been implemented. This <span style="font-weight: bold;">license</span> is solely used for Diagnostics only which should not be associated with the one in LoadRunner. In order for Diagnostics to work with LoadRunner/PC, an additional license used by LoadRunner called, <span style="font-weight: bold;">Diagnostics Module License</span> is required. This will allow the monitoring data from the Diagnostic server to be incorporated into the load test result.</p>
<p>To start familiarizing the Diagnostics Software (Probe and <span style="font-weight: bold;">Commander</span>), it will be advisable to spend at least two days to explore the features and getting used to the setup/instrumentation. <a href="http://commerce.bea.com/" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">BEA WebLogic</span></span></a> offers free <a href="http://commerce.bea.com/products/weblogicplatform/weblogic_prod_fam.jsp" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">downloads</span></span></a> (after you have registered) of their <span style="font-weight: bold;">J2EE</span> application server with a working example, <span style="font-weight: bold;">Avitek Medical Record</span> application server that can be used for your familiarization.</p>
<hr title="Page 3 of 3" />The following illustrates a typical <span style="font-weight: bold;">Diagnostics</span> setup with the<span style="font-weight: bold;"> LoadRunner Controller</span> and as you can see, the sequence of the Diagnostics is straight-forward.</p>
<p><span style="font-weight: bold;">J2EE Diagnostics</span><br />
<a href="images/Diagnostics_Overview.jpg" target="_blank"></a></p>
<div style="text-align: center;"><a href="images/Diagnostics_Overview.jpg" target="_blank"><img title="Mercury HP Diagnostics LoadRunner" src="images/Diagnostics_Overview.jpg" border="0" alt="Mercury HP Diagnostics LoadRunner" width="478" height="341" /></a></div>
<ul>1. The application servers are installed with J2EE probes.<br />
2. Then after they are instrumented.<br />
3. The statistics are then collected and sent to the Diagnostic Server which does the processing of the data.<br />
4. This data is then sent to <strong>Controller</strong> to consolidate into the load test results. i. The runtime data of the application server can be view locally at the browser on via <strong>http://localhost:35000</strong> or via the <strong>Java Profiler</strong>.</ul>
<ul> ii. On the Diagnostic Server, use <strong>http://localhost:2600</strong> to view the running probes, configuration as well as the statistics collected from the instrumented probes connected to the server.</ul>
<p>If the proper port is opened (35000 and 2006), you will be able to view the statistics from other machines. As such, this comes to my the end of the Diagnostics overview. Hope you have a better understanding of how Diagnostics works and the limitations with it. I will be walking through the implementation in future posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/products/hello-world/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

