You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by mi...@apache.org on 2015/03/08 11:22:59 UTC

svn commit: r1664961 [18/19] - in /jmeter/trunk/docs: ./ css/ usermanual/

Modified: jmeter/trunk/docs/usermanual/remote-test.html
URL: http://svn.apache.org/viewvc/jmeter/trunk/docs/usermanual/remote-test.html?rev=1664961&r1=1664960&r2=1664961&view=diff
==============================================================================
--- jmeter/trunk/docs/usermanual/remote-test.html (original)
+++ jmeter/trunk/docs/usermanual/remote-test.html Sun Mar  8 10:22:58 2015
@@ -1,895 +1,323 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one or more
-   contributor license agreements.  See the NOTICE file distributed with
-   this work for additional information regarding copyright ownership.
-   The ASF licenses this file to You under the Apache License, Version 2.0
-   (the "License"); you may not use this file except in compliance with
-   the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
--->
-
-<!-- Content Stylesheet for Site -->
-
-
-<!-- start the processing -->
-<html>
-<head>
-<link rel="stylesheet" type="text/css" href="../css/style.css"/>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
-
-<title>Apache JMeter - User's Manual: Remote (Distributed) Testing</title>
-</head>
-
-<body bgcolor="#ffffff" text="#000000" link="#525D76">
-<table width="100%" cellspacing="0" border="0">
-<tr>
-<td width="90%" align="left">
-<table border="0" cellspacing="0">
-<tr>
-<td width="10%">
-<a href="http://www.apache.org"><img title="Apache Software Foundation" width="290" height="75" src="../images/asf-logo.png" border="0"/></a>
-</td>
-<td align="left" width="40%">
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-<a href="http://jmeter.apache.org/"><img width="182" height="88" src="../images/logo.jpg" alt="Apache JMeter" title="Apache JMeter" border="0"/></a>
-</td>
-</tr>
-</table>
-</td>
-<td align="left" width="50%">
-<table cellspacing="0" align="right" border="0">
-<tr>
-<td align="left"> <a href="https://twitter.com/share"
-class="twitter-share-button"
-data-text="Powerful Load Testing with
-Apache #JMeter" data-via="ApacheJMeter"
-data-lang="en-gb" data-size="large">Tweet</a>
-<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
-</td>
-<td align="right"> <a
-href="https://twitter.com/ApacheJMeter"
-class="twitter-follow-button"
-data-show-count="false" data-lang="en-gb"
-data-size="large">Follow</a>
-<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
-</td>
-</tr>
-</table>
-</td></tr>
-</table>
-
-<table border="0" width="100%" cellspacing="4">
-<tr><td colspan="2">
-<hr noshade size="1"/>
-</td></tr>
-<tr>
-<!-- LEFT SIDE NAVIGATION -->
-<td width="20%" valign="top" nowrap="true">
-<table border="0" width="100%" cellspacing="0">
-<tr><td>
-<p><strong>About</strong></p>
-<ul>
-<li><a href="../index.html">Overview</a>
-</li>
-<li><a href="http://twitter.com/ApacheJMeter">JMeter on Twitter</a>
-<img src="../images/twitter.png" align="top"/></li>
-<li><a href="../issues.html">Issue Tracking</a>
-</li>
-<li><a href="http://projects.apache.org/feeds/rss/jmeter.xml">Subscribe to What's New</a>
-</li>
-<li><a href="http://www.apache.org/licenses/">License</a>
-</li>
-</ul>
-<p><strong>Download</strong></p>
-<ul>
-<li><a href="../download_jmeter.cgi">Download Releases</a>
-</li>
-<li><a href="../nightly.html">Developer (Nightly) Builds</a>
-</li>
-</ul>
-<p><strong>Documentation</strong></p>
-<ul>
-<li><a href="../changes.html">Changes per version</a>
-</li>
-<li><a href="../usermanual/get-started.html">Get Started</a>
-</li>
-<li><a href="../usermanual/index.html">User Manual</a>
-</li>
-<li><a href="../usermanual/best-practices.html">Best Practices</a>
-</li>
-<li><a href="../usermanual/component_reference.html">Component Reference</a>
-</li>
-<li><a href="../usermanual/functions.html">Functions Reference</a>
-</li>
-<li><a href="../api/index.html">Javadocs</a>
-</li>
-<li><a href="../building.html">Building JMeter and Add-Ons</a>
-</li>
-<li><a href="http://wiki.apache.org/jmeter">JMeter Wiki</a>
-</li>
-<li><a href="http://wiki.apache.org/jmeter/JMeterFAQ">FAQ (Wiki)</a>
-</li>
-</ul>
-<p><strong>Tutorials (PDF format)</strong></p>
-<ul>
-<li><a href="../usermanual/jmeter_distributed_testing_step_by_step.pdf">Distributed Testing</a>
-</li>
-<li><a href="../usermanual/jmeter_proxy_step_by_step.pdf">Recording Tests</a>
-</li>
-<li><a href="../usermanual/junitsampler_tutorial.pdf">JUnit Sampler</a>
-</li>
-<li><a href="../usermanual/jmeter_accesslog_sampler_step_by_step.pdf">Access Log Sampler</a>
-</li>
-<li><a href="../extending/jmeter_tutorial.pdf">Extending JMeter</a>
-</li>
-</ul>
-<p><strong>Community</strong></p>
-<ul>
-<li><a href="http://wiki.apache.org/jmeter/JMeterCommitters">Contributors</a>
-</li>
-<li><a href="../mail.html">Mailing Lists</a>
-</li>
-<li><a href="../svnindex.html">SVN Repositories</a>
-</li>
-</ul>
-<p><strong>Foundation</strong></p>
-<ul>
-<li><a href="http://www.apache.org/">ASF</a>
-</li>
-<li><a href="http://www.apache.org/foundation/getinvolved.html">Get Involved in the ASF</a>
-</li>
-<li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a>
-</li>
-<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a>
-</li>
-</ul>
-</td></tr>
-<tr><td>
-<iframe src="http://www.apache.org/ads/button.html" style="border-width:0; float: left;" frameborder="0" scrolling="no"></iframe>
-</td></tr>
-</table>
-</td>
-<td width="80%" align="left" valign="top">
-<table>
-<tr>
-<td bgcolor="#525D76">
-<div align="right"><a href="index.html"><font size=-1 color="#ffffff" face="arial,helvetica,sanserif">Index</font></a></div>
-</td>
-<td bgcolor="#525D76">
-<div align="right"><a href="best-practices.html"><font size=-1 color="#ffffff" face="arial,helvetica,sanserif">Next</font></a></div>
-</td>
-<td bgcolor="#525D76">
-<div align="right"><a href="listeners.html"><font size=-1 color="#ffffff" face="arial,helvetica,sanserif">Prev</font></a></div>
-</td>
-</tr>
-</table>
-<br>
-<table border="0" cellspacing="0" cellpadding="2" width="100%">
-<tr><td bgcolor="#525D76">
-<font color="#ffffff" face="arial,helvetica,sanserif">
-<strong>15. Remote Testing</strong></font>
-</td></tr>
-<tr><td>
-<blockquote>
-<p>
-In the event that your JMeter client machine is unable, performance-wise, to simulate 
-enough users to stress your server, an option exists to control multiple, remote JMeter
-engines from a single JMeter GUI client.  By running JMeter remotely, you can replicate 
+<!DOCTYPE html SYSTEM "about:legacy-compat">
+<html lang="en"><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-15"><title>Apache JMeter
+          -
+          User's Manual: Remote (Distributed) Testing</title><meta name="viewport" content="width=device-width, initial-scale=1"><link href="http://fonts.googleapis.com/css?family=Merriweather:400normal" rel="stylesheet" type="text/css"><link rel="stylesheet" type="text/css" href="../css/new-style.css"></head><body role="document"><a href="#content" class="hidden">Main content</a><div class="header"><!--
+            APACHE LOGO
+          --><div><a href="http://www.apache.org"><img title="Apache Software Foundation" width="290" height="75" src="../images/asf-logo.png" alt="Logo ASF"></a></div><!--
+              PROJECT LOGO
+            --><div><a href="http://jmeter.apache.org/"><img src="../images/logo.jpg" alt="Apache JMeter"></a></div><div class="twitter"><div><a href="https://twitter.com/share" class="twitter-share-button" data-text="Powerful Load Testing with Apache #JMeter" data-via="ApacheJMeter" data-lang="en-gb" data-size="large">Tweet</a><script>
+            (function(d,s,id){
+              var js,
+                  fjs=d.getElementsByTagName(s)[0],
+                  p=/^http:/.test(d.location)?'http':'https';
+              if (!d.getElementById(id)) {
+                  js=d.createElement(s);
+                  js.id=id;
+                  js.src=p+'://platform.twitter.com/widgets.js';
+                  fjs.parentNode.insertBefore(js,fjs);
+              }
+            })(document, 'script', 'twitter-wjs');
+              </script></div><div><a href="https://twitter.com/ApacheJMeter" class="twitter-follow-button" data-show-count="false" data-lang="en-gb" data-size="large">Follow</a><script>(function(d,s,id){
+                var js,
+                    fjs=d.getElementsByTagName(s)[0],
+                    p=/^http:/.test(d.location)?'http':'https';
+                if (!d.getElementById(id)) {
+                    js=d.createElement(s);
+                    js.id=id;
+                    js.src=p+'://platform.twitter.com/widgets.js';
+                    fjs.parentNode.insertBefore(js,fjs);
+                }
+            })(document, 'script', 'twitter-wjs');
+              </script></div></div><div class="banner"><iframe src="http://www.apache.org/ads/bannerbar.html" style="border-width:0;" frameborder="0" scrolling="no"></iframe><div class="clear"></div></div></div><div class="nav"><ul class="menu"><li><div class="menu-title">About</div><ul><li><a href="../index.html">Overview</a></li><li><a href="http://twitter.com/ApacheJMeter">JMeter on Twitter<img src="../images/twitter.png" alt="Icon for JMeter on Twitter"></a></li><li><a href="../issues.html">Issue Tracking</a></li><li><a href="http://projects.apache.org/feeds/rss/jmeter.xml">Subscribe to What's New</a></li><li><a href="http://www.apache.org/licenses/">License</a></li></ul></li></ul><ul class="menu"><li><div class="menu-title">Download</div><ul><li><a href="../download_jmeter.cgi">Download Releases</a></li><li><a href="../nightly.html">Developer (Nightly) Builds</a></li></ul></li></ul><ul class="menu"><li><div class="menu-title">Documentation</div><ul><li><a href="../changes.html"
 >Changes per version</a></li><li><a href="../usermanual/get-started.html">Get Started</a></li><li><a href="../usermanual/index.html">User Manual</a></li><li><a href="../usermanual/best-practices.html">Best Practices</a></li><li><a href="../usermanual/component_reference.html">Component Reference</a></li><li><a href="../usermanual/functions.html">Functions Reference</a></li><li><a href="../api/index.html">Javadocs</a></li><li><a href="../building.html">Building JMeter and Add-Ons</a></li><li><a href="http://wiki.apache.org/jmeter">JMeter Wiki</a></li><li><a href="http://wiki.apache.org/jmeter/JMeterFAQ">FAQ (Wiki)</a></li></ul></li></ul><ul class="menu"><li><div class="menu-title">Tutorials (PDF format)</div><ul><li><a href="../usermanual/jmeter_distributed_testing_step_by_step.pdf">Distributed Testing</a></li><li><a href="../usermanual/jmeter_proxy_step_by_step.pdf">Recording Tests</a></li><li><a href="../usermanual/junitsampler_tutorial.pdf">JUnit Sampler</a></li><li><a href="../us
 ermanual/jmeter_accesslog_sampler_step_by_step.pdf">Access Log Sampler</a></li><li><a href="../extending/jmeter_tutorial.pdf">Extending JMeter</a></li></ul></li></ul><ul class="menu"><li><div class="menu-title">Community</div><ul><li><a href="http://wiki.apache.org/jmeter/JMeterCommitters">Contributors</a></li><li><a href="../mail.html">Mailing Lists</a></li><li><a href="../svnindex.html">SVN Repositories</a></li></ul></li></ul><ul class="menu"><li><div class="menu-title">Foundation</div><ul><li><a href="http://www.apache.org/">ASF</a></li><li><a href="http://www.apache.org/foundation/getinvolved.html">Get Involved in the ASF</a></li><li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li><li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li></ul></li></ul></div><div class="main" id="content"><ul class="pagelinks"><li><a href="listeners.html">&lt; Prev</a></li><li><a href="../index.html">Index</a></li><li><a href="best-practices.html">
 Next &gt;</a></li></ul><div class="section"><h1>15. Remote Testing</h1>
+
+<p>In the event that your JMeter client machine is unable, performance-wise, to simulate 
+enough users to stress your server or is limited at network level, an option exists to control multiple, remote JMeter
+engines from a single JMeter client.  By running JMeter remotely, you can replicate 
 a test across many low-end computers and thus simulate a larger load on the server.  One
-instance of the JMeter GUI client can control any number of remote JMeter instances, and collect
+instance of the JMeter client can control any number of remote JMeter instances, and collect
 all the data from them.  This offers the following features: 
 
-
-
 <ul>
-
-
-<li>
-Saving of test samples to the local machine 
-</li>
-
-
-<li>
-Managment of multiple JMeterEngines from a single machine 
-</li>
-
-
-<li>
-No need to copy the test plan to each server - the client sends it to all the servers
-</li>
-
-
+<li>Saving of test samples to the local machine </li>
+<li>Managment of multiple JMeterEngines from a single machine </li>
+<li>No need to copy the test plan to each server - the client sends it to all the servers</li>
 </ul>
-
-
 </p>
-<p>
-<table border="1" bgcolor="#bbbb00" width="50%" cellspacing="0" cellpadding="2">
-<tr><td>
+<div class="clear"></div><div class="note">
 Note: The same test plan is run by all the servers.
 JMeter does not distribute the load between servers, each runs the full test plan.
-
-</td></tr>
-</table>
-</p>
+So if you set 1000 Threads and have 6 JMeter server, you end up injecting 6000 Threads.
+</div><div class="clear"></div>
 <p>
-
 However, remote mode does use more resources than running the same number of non-GUI tests independently.
 If many server instances are used, the client JMeter can become overloaded, as can the client network connection.
-
+This has been improved by switching to Stripped modes (see below) but you should always check that your client is not overloaded.
 </p>
-<p>
-Note that while you can execute the JMeterEngine on your application 
+<p>Note that while you can execute the JMeterEngine on your application 
 server, you need to be mindful of the fact that this will be adding processing 
 overhead on the application server and thus your testing results will be 
 somewhat tainted.  The recommended approach is to have one or more machines on
 the same Ethernet segment as your application server that you configure to run
-the JMeter Engine.  This will minimise the impact of the network on the test 
+the JMeter Engine.  This will minimize the impact of the network on the test 
 results without impacting the performance of the application server 
 itself.
-
 </p>
-<p>
-<b>
-Step 0: Configure the nodes
-</b>
-</p>
-<p>
-
-Make sure that all the nodes (client and servers) are running exactly the same version of JMeter.
-As far as possible, also use the same version of Java on all systems.
-Using different versions of Java may work - but is best avoided.
 
+<p><b>Step 0: Configure the nodes</b></p>
+<p>
+Make sure that all the nodes (client and servers) :
+<ul>
+    <li>are running exactly the same version of JMeter.</li>
+    <li>are using the same version of Java on all systems. Using different versions of Java may work but is discouraged.</li>
+</ul>
 </p>
 <p>
-
-If the test uses any data files, note that these are not sent across by the client so
-make sure that these are available in the appropriate directory on each server.
-If necessary you can define different values for properties by editting the user.properties or system.properties
+If the test uses any data files, <b>note that these are not sent across by the client so
+make sure that these are available in the appropriate directory on each server</b>.
+If necessary you can define different values for properties by editing the user.properties or system.properties
 files on each server. These properties will be picked up when the server is started and may be
 used in the test plan to affect its behaviour (e.g. connecting to a different remote server).
 Alternatively use different content in any datafiles used by the test 
 (e.g. if each server must use unique ids, divide these between the data files)
-
-</p>
-<p>
-<b>
-Step 1: Start the servers 
-</b>
-</p>
-<p>
-To run JMeter in remote node, start the JMeter server component on all machines you wish to run on by running the 
-<b>
-JMETER_HOME/bin/jmeter-server
-</b>
- (unix) or 
-<b>
-JMETER_HOME/bin/jmeter-server.bat
-</b>
- (windows) script.
 </p>
-<p>
-Note that there can only be one JMeter server on each node unless different RMI ports are used.
-</p>
-<p>
-Since JMeter 2.3.1, the JMeter server application starts the RMI registry itself; 
+
+<p><b>Step 1: Start the servers </b></p>
+<p>To run JMeter in remote node, start the JMeter server component on all machines you wish to run on by running the <b>JMETER_HOME/bin/jmeter-server</b> (unix) or <b>JMETER_HOME/bin/jmeter-server.bat</b> (windows) script.</p>
+<p>Note that there can only be one JMeter server on each node unless different RMI ports are used.</p>
+<p>Since JMeter 2.3.1, the JMeter server application starts the RMI registry itself; 
 there is no need to start RMI registry separately.
 To revert to the previous behaviour, define the JMeter property server.rmi.create=false on the server host systems.
-
 </p>
 <p>
-
 By default, RMI uses a dynamic port for the JMeter server engine. This can cause problems for firewalls,
-so versions of JMeter after 2.3.2 will check for the JMeter property 
-<b>
-server.rmi.localport
-</b>
-.
+so with versions of JMeter after 2.3.2 you can define the JMeter property <b>server.rmi.localport</b> 
+to control this port number.
 If this is non-zero, it will be used as the local port number for the server engine.
-
-</p>
-<p>
-<b>
-Step 2: Add the server IP to your client's Properties File
-</b>
 </p>
-<p>
-Edit the properties file 
-<i>
-on the controlling JMeter machine
-</i>
-.  In /bin/jmeter.properties, find the property named, "remote_hosts", and   
-add the value of your running JMeter server's IP address.  Multiple such servers can be added, comma-delimited.
-</p>
-<p>
-Note that you can use the -R 
-<a href="get-started.html#override">
-command line option
-</a>
-
+<p><b>Step 2: Add the server IP to your client's Properties File</b></p>
+<p>Edit the properties file <i>on the controlling JMeter machine</i>.  In /bin/jmeter.properties, find the property named, "remote_hosts", and   
+add the value of your running JMeter server's IP address.  Multiple such servers can be added, comma-delimited.</p>
+<p>Note that you can use the -R <a href="get-started.html#override">command line option</a>
 instead to specify the remote host(s) to use. This has the same effect as using -r and -Jremote_hosts={serverlist}.
-    E.g. jmeter -Rhost1,127.0.0.1,host2
-</p>
-<p>
-If you define the JMeter property server.exitaftertest=true, then the server will exit after it runs a single test.
+    E.g. jmeter -Rhost1,127.0.0.1,host2</p>
+<p>If you define the JMeter property server.exitaftertest=true, then the server will exit after it runs a single test.
 See also the -X flag (described below)
-
-</p>
-<p>
-<b>
-Step 3a: Start the JMeter Client from a GUI client
-</b>
 </p>
-<p>
-Now you are ready to start the controlling JMeter client. For MS-Windows, start the client with the script "bin/jmeter.bat".  For UNIX, 
+<p><b>Step 3a: Start the JMeter Client from a GUI client to check configuration</b></p>
+<p>Now you are ready to start the controlling JMeter client. For MS-Windows, start the client with the script "bin/jmeter.bat".  For UNIX, 
 use the script "bin/jmeter".  You will notice that the Run menu contains two new sub-menus: "Remote Start" and "Remote Stop" 
 (see figure 1). These menus contain the client that you set in the properties file.  Use the remote start and stop instead of the 
-normal JMeter start and stop menu items.
-</p>
-<p><table border="0" cellspacing="0" cellpadding="0"><tr><td><img width='232' height='156' src="../images/screenshots/remote/run-menu00.gif"/><br>
-<font size="-1">Figure 1 - Run Menu
-</font></td></tr></table></p>
-<p>
-<b>
-Step 3b: Start the JMeter from a non-GUI Client
-</b>
-</p>
-<p>
+normal JMeter start and stop menu items.</p>
+<figure><a href="../images/screenshots/remote/run-menu00.gif"><img src="../images/screenshots/remote/run-menu00.gif" width="232" height="156" alt="Figure 1 - Run Menu"></a><figcaption>Figure 1 - Run Menu</figcaption></figure>
 
-As an alternative, you can start the remote server(s) from a non-GUI (command-line) client.
+<p><b>Step 3b: Start the JMeter from a non-GUI Client</b></p>
+<p>
+GUI mode should only be used for debugging, as a better alternative, you should start the test on remote server(s) from a non-GUI (command-line) client.
 The command to do this is:
-
 <pre>
-
 jmeter -n -t script.jmx -r
 or
 jmeter -n -t script.jmx -R server1,server2...
 
 Other flags that may be useful:
 -Gproperty=value - define a property in all the servers (may appear more than once)
--Z - Exit remote servers at the end of the test.
-
+-X - Exit remote servers at the end of the test.
 </pre>
-
-The first example will start whatever servers are defined in the JMeter property remote_hosts;
-the second example will define remote_hosts from the list of servers and then run the remote servers.
-
+The first example will start the test on whatever servers are defined in the JMeter property remote_hosts;<br>
+The second example will define remote_hosts from the list of servers and then start the test on the remote servers.
 <br>
-
-
 The command-line client will exit when all the remote servers have stopped.
-
-</p>
-<table border="0" cellspacing="0" cellpadding="2" width="100%">
-<tr><td bgcolor="#828DA6">
-<font color="#ffffff" face="arial,helvetica,sanserif">
-<a name="detail_instructions"><strong>15.1 Doing it Manually</strong></a>
-<a class="sectionlink" href="#detail_instructions" title="Link to here">&para;</a></font>
-</td></tr>
-<tr><td>
-<blockquote>
-<p>
-In some cases, the jmeter-server script may not work for you (if you are using an OS platform not anticipated by the JMeter developers).  Here is how to start the JMeter servers (step 1 above) with a more manual process:
-</p>
-<p>
-<b>
-Step 1a: Start the RMI Registry
-</b>
 </p>
-<p>
 
+<div class="subsection"><h2>15.1 Doing it Manually<a class="sectionlink" href="#detail_instructions" title="Link to here">&para;</a></h2>
+<p>In some cases, the jmeter-server script may not work for you (if you are using an OS platform not anticipated by the JMeter developers).  Here is how to start the JMeter servers (step 1 above) with a more manual process:</p>
+<p><b>Step 1a: Start the RMI Registry</b></p>
+<p>
 Since JMeter 2.3.1, the RMI registry is started by the JMeter server, so this section does not apply in the normal case.
 To revert to the previous behaviour, define the JMeter property server.rmi.create=false on the server host systems
 and follow the instructions below.
-
 </p>
-<p>
-JMeter uses Remote Method Invocation (RMI) as the remote communication mechanism.  Therefore, you need
+<p>JMeter uses Remote Method Invocation (RMI) as the remote communication mechanism.  Therefore, you need
 to run the RMI Registry application (which is named, "rmiregistry") that comes with the JDK and is located in the "bin" 
 directory.  Before running rmiregistry, make sure that the following jars are in your system claspath:
-
 <ul>
-
-    
-<li>
-JMETER_HOME/lib/ext/ApacheJMeter_core.jar
-</li>
-
-    
-<li>
-JMETER_HOME/lib/jorphan.jar
-</li>
-
-    
-<li>
-JMETER_HOME/lib/logkit-1.2.jar
-</li>
-
-
+    <li>JMETER_HOME/lib/ext/ApacheJMeter_core.jar</li>
+    <li>JMETER_HOME/lib/jorphan.jar</li>
+    <li>JMETER_HOME/lib/logkit-2.0.jar</li>
 </ul>
-
 The 
 rmiregistry application needs access to certain JMeter classes.  Run rmiregistry with no parameters.  By default the 
-application listens to port 1099.
-</p>
-<p>
-<b>
-Step 1b: Start the JMeter Server
-</b>
-</p>
-<p>
-Once the RMI Registry application is running, start the JMeter Server.  
-Use the "-s" option with the jmeter startup script ("jmeter -s").
-</p>
-<p>
-Steps 2 and 3 remain the same.
-</p>
-</blockquote>
-</td></tr>
-<tr><td><br></td></tr>
-</table>
-<table border="0" cellspacing="0" cellpadding="2" width="100%">
-<tr><td bgcolor="#828DA6">
-<font color="#ffffff" face="arial,helvetica,sanserif">
-<a name="tips"><strong>15.2 Tips</strong></a>
-<a class="sectionlink" href="#tips" title="Link to here">&para;</a></font>
-</td></tr>
-<tr><td>
-<blockquote>
-<p>
-
-JMeter/RMI requires a connection from the client to the server. This will use the port you chose, default 1099.
-<br>
-
-
-JMeter/RMI also requires a reverse connection in order to return sample results from the server to the client.
-<br>
-
-
-This will use a high-numbered port. 
-<br>
-
-
-This port can be controlled by jmeter property called client.rmi.localport in jmeter.properties.
-<br>
+application listens to port 1099.</p>
 
+<p><b>Step 1b: Start the JMeter Server</b></p>
+<p>Once the RMI Registry application is running, start the JMeter Server.  
+Use the "-s" option with the jmeter startup script ("jmeter -s").</p>
 
+<p>Steps 2 and 3 remain the same.</p>
+</div>
+<div class="subsection"><h2>15.2 Tips<a class="sectionlink" href="#tips" title="Link to here">&para;</a></h2>
+<p>
+JMeter/RMI requires a connection from the client to the server. This will use the port you chose, default 1099.<br>
+JMeter/RMI also requires a reverse connection in order to return sample results from the server to the client.<br>
+This will use a high-numbered port. <br>
+This port can be controlled by jmeter property called client.rmi.localport in jmeter.properties.<br>
 If there are any firewalls or other network filters between JMeter client and server,
 you will need to make sure that they are set up to allow the connections through.
 If necessary, use monitoring software to show what traffic is being generated.
-
 </p>
-<p>
-If you're running Suse Linux, these tips may help. The default installation may enable the firewall. In that case, remote testing will not work properly. The following tips were contributed by Sergey Ten.
-</p>
-<p>
-If you see connections refused, turn on debugging by passing the following options.
-</p>
-<p>
-Since JMeter 2.3.1, the RMI registry is started by the server; however the options can still be passed in from the JMeter command line.
+<p>If you're running Suse Linux, these tips may help. The default installation may enable the firewall. In that case, remote testing will not work properly. The following tips were contributed by Sergey Ten.</p>
+<p>If you see connections refused, turn on debugging by passing the following options.</p>
+     rmiregistry -J-Dsun.rmi.log.debug=true
+     -J-Dsun.rmi.server.exceptionTrace=true
+     -J-Dsun.rmi.loader.logLevel=verbose
+     -J-Dsun.rmi.dgc.logLevel=verbose
+     -J-Dsun.rmi.transport.logLevel=verbose
+     -J-Dsun.rmi.transport.tcp.logLevel=verbose
+<p>Since JMeter 2.3.1, the RMI registry is started by the server; however the options can still be passed in from the JMeter command line.
 For example: "jmeter -s -Dsun.rmi.loader.logLevel=verbose" (i.e. omit the -J prefixes).
 Alternatively the properties can be defined in the system.properties file.
-
-</p>
-<p>
-The solution to the problem is to remove the loopbacks 127.0.0.1 and 127.0.0.2 from etc/hosts. What happens is jmeter-server can't connect to rmiregistry if 127.0.0.2 loopback is not available. Use the following settings to fix the problem.
-</p>
-<p>
- Replace
 </p>
+<p>The solution to the problem is to remove the loopbacks 127.0.0.1 and 127.0.0.2 from etc/hosts. What happens is jmeter-server can't connect to rmiregistry if 127.0.0.2 loopback is not available. Use the following settings to fix the problem.</p>
+<p> Replace</p>
 <ul>
-
-    
-<li>
- `dirname $0`/jmeter  -s "$@"
-</li>
-
-
+    <li> `dirname $0`/jmeter  -s "$@"</li>
 </ul>
-<p>
- With
-</p>
+<p> With</p>
 <ul>
-
-    
-<li>
- HOST="-Djava.rmi.server.hostname=[computer_name][computer_domain]
-</li>
-
-    
-<li>
- -Djava.security.policy=`dirname $0`/[policy_file]"
-</li>
-
-    
-<li>
- `dirname $0`/jmeter $HOST -s "$@"
-</li>
-
-
+    <li> HOST="-Djava.rmi.server.hostname=[computer_name][computer_domain]</li>
+    <li> -Djava.security.policy=`dirname $0`/[policy_file]"</li>
+    <li> `dirname $0`/jmeter $HOST -s "$@"</li>
 </ul>
-<p>
-Also create a policy file and add [computer_name][computer_domain] line to /etc/hosts.
-</p>
-<p>
-In order to better support SSH-tunneling of the RMI communication channels used
-in remote testing, since JMeter 2.6:
-</p>
-<ul>
-
-
-<li>
-a new property "client.rmi.localport" can be set to control the RMI port used by the RemoteSampleListenerImpl
-</li>
-
-
-<li>
-To support tunneling RMI traffic over an SSH tunnel as the remote endpoint using a port on the local machine,
- loopback interface is now allowed to be used if it has been specified directly using the Java System Property "java.rmi.server.hostname" parameter.
-</li>
-
+<p>Also create a policy file and add [computer_name][computer_domain] line to /etc/hosts.</p>
 
+<p>In order to better support SSH-tunneling of the RMI communication channels used
+in remote testing, since JMeter 2.6:</p>
+<ul>
+<li>a new property "client.rmi.localport" can be set to control the RMI port used by the RemoteSampleListenerImpl</li>
+<li>To support tunneling RMI traffic over an SSH tunnel as the remote endpoint using a port on the local machine,
+ loopback interface is now allowed to be used if it has been specified directly using the Java System Property "java.rmi.server.hostname" parameter.</li>
 </ul>
-</blockquote>
-</td></tr>
-<tr><td><br></td></tr>
-</table>
-<table border="0" cellspacing="0" cellpadding="2" width="100%">
-<tr><td bgcolor="#828DA6">
-<font color="#ffffff" face="arial,helvetica,sanserif">
-<a name="portchange"><strong>15.3 Using a different port</strong></a>
-<a class="sectionlink" href="#portchange" title="Link to here">&para;</a></font>
-</td></tr>
-<tr><td>
-<blockquote>
-<p>
-By default, JMeter uses the standard RMI port 1099. It is possible to change this. For this to work successfully, all the following need to agree:
-</p>
+</div>
+<div class="subsection"><h2>15.3 Using a different port<a class="sectionlink" href="#portchange" title="Link to here">&para;</a></h2>
+<p>By default, JMeter uses the standard RMI port 1099. It is possible to change this. For this to work successfully, all the following need to agree:</p>
 <ul>
-
-
-<li>
-On the server, start rmiregistry using the new port number
-</li>
-
-
-<li>
-On the server, start JMeter with the property server_port defined
-</li>
-
-
-<li>
-On the client, update the remote_hosts property to include the new remote host:port settings
-</li>
-
-
+<li>On the server, start rmiregistry using the new port number</li>
+<li>On the server, start JMeter with the property server_port defined</li>
+<li>On the client, update the remote_hosts property to include the new remote host:port settings</li>
 </ul>
-<p>
-Since Jmeter 2.1.1, the jmeter-server scripts provide support for changing the port.
-For example, assume you want to use port 1664 (perhaps 1099 is already used).
-</p>
-<pre>
 
+<p>Since Jmeter 2.1.1, the jmeter-server scripts provide support for changing the port.
+For example, assume you want to use port 1664 (perhaps 1099 is already used).</p>
+<pre>
 On Windows (in a DOS box)
-C:\JMETER> SET SERVER_PORT=1664
-C:\JMETER> JMETER-SERVER [other options]
+C:\JMETER&gt; SET SERVER_PORT=1664
+C:\JMETER&gt; JMETER-SERVER [other options]
 
 On Unix:
 $ SERVER_PORT=1664 jmeter-server [other options]
 [N.B. use upper case for the environment variable]
-
 </pre>
 <p>
-
 In both cases, the script starts rmiregistry on the specified port, 
 and then starts JMeter in server mode, having defined the "server_port" property.
-
 </p>
 <p>
-
 The chosen port will be logged in the server jmeter.log file (rmiregistry does not create a log file).
-
 </p>
-</blockquote>
-</td></tr>
-<tr><td><br></td></tr>
-</table>
-<table border="0" cellspacing="0" cellpadding="2" width="100%">
-<tr><td bgcolor="#828DA6">
-<font color="#ffffff" face="arial,helvetica,sanserif">
-<a name="sendermode"><strong>15.4 Using a different sample sender</strong></a>
-<a class="sectionlink" href="#sendermode" title="Link to here">&para;</a></font>
-</td></tr>
-<tr><td>
-<blockquote>
-<p>
+</div>
 
+<div class="subsection"><h2>15.4 Using a different sample sender<a class="sectionlink" href="#sendermode" title="Link to here">&para;</a></h2>
+<p>
 Listeners in the test plan send their results back to the client JMeter which writes the results to the specified files
 By default, samples are sent back synchronously as they are generated.
 This can affect the maximum throughput of the server test; the sample result has to be sent back before the thread can
 continue.  
 There are some JMeter properties that can be set to alter this behaviour.
-
 </p>
 <ul>
-
-
-<li>
-mode - sample sending mode - default is Standard. This should be set on the client node.
-</li>
-
-    
-<ul>
-
-    
-<li>
-Standard - send samples synchronously as soon as they are generated
-</li>
-
-    
-<li>
-Hold - hold samples in an array until the end of a run. This may use a lot of memory on the server.
-</li>
-
-    
-<li>
-DiskStore - store samples in a disk file (under java.io.temp) until the end of a run. 
-    The serialised data file is deleted on JVM exit. 
-</li>
-
-    
-<li>
-Batch - send saved samples when either the count or time exceeds a threshold,
+<li>mode - sample sending mode - default is StrippedBatch since 2.9. This should be set on the client node.</li>
+    <ul>
+    <li>Standard - send samples synchronously as soon as they are generated</li>
+    <li>Hold - hold samples in an array until the end of a run. This may use a lot of memory on the server and is discouraged.</li>
+    <li>DiskStore - store samples in a disk file (under java.io.temp) until the end of a run. 
+    The serialised data file is deleted on JVM exit. </li>
+    <li>StrippedDiskStore - remove responseData from succesful samples, and use DiskStore sender to send them.</li>
+    <li>Batch - send saved samples when either the count (num_sample_threshold) or time (time_threshold) exceeds a threshold,
     at which point the samples are sent synchronously.
     The thresholds can be configured on the server using the following properties:
-    
-<ul>
-
-    
-<li>
-num_sample_threshold - number of samples to accumulate, default 100
-</li>
-
-    
-<li>
-time_threshold - time threshold, default 60000 ms = 60 seconds
-</li>
-
-    
-</ul>
-
-    
-</li>
-
+    <ul>
+    <li>num_sample_threshold - number of samples to accumulate, default 100</li>
+    <li>time_threshold - time threshold, default 60000 ms = 60 seconds</li>
+    </ul>
+    </li>
      See also the Asynch mode, described below.
-    
-<li>
-Statistical - send a summary sample when either the count or time exceeds a threshold. 
+    <li>Statistical - send a summary sample when either the count or time exceeds a threshold. 
     The samples are summarised by thread group name and sample label.
     The following fields are accumulated:
-    
-<ul>
-
-    
-<li>
-elapsed time
-</li>
-
-    
-<li>
-latency
-</li>
-
-    
-<li>
-bytes
-</li>
-
-    
-<li>
-sample count
-</li>
-
-    
-<li>
-error count
-</li>
-
-    
-</ul>
-
+    <ul>
+    <li>elapsed time</li>
+    <li>latency</li>
+    <li>bytes</li>
+    <li>sample count</li>
+    <li>error count</li>
+    </ul>
     Other fields that vary between samples are lost. 
-    
-</li>
-
-    
-<li>
-Stripped - remove responseData from succesful samples
-</li>
-
-    
-<li>
-StrippedBatch - remove responseData from succesful samples, and use Batch sender to send them.
-</li>
-
-    
-<li>
-Asynch - samples are temporarily stored in a local queue. A separate worker thread sends the samples.
+    </li>
+    <li>Stripped - remove responseData from succesful samples</li>
+    <li>StrippedBatch - remove responseData from succesful samples, and use Batch sender to send them.</li>
+    <li>Asynch - samples are temporarily stored in a local queue. A separate worker thread sends the samples.
         This allows the test thread to continue without waiting for the result to be sent back to the client.
         However, if samples are being created faster than they can be sent, the queue will eventually fill up,
         and the sampler thread will block until some samples can be drained from the queue.
         This mode is useful for smoothing out peaks in sample generation.
         The queue size can be adjusted by setting the JMeter property
-        
-<b>
-<code>
-asynch.batch.queue.size
-</code>
-</b>
- (default 100) on the server node.
-    
-</li>
-
-    
-<li>
-Custom implementation : set the mode parameter to your custom sample sender class name.
+        <b><span class="code">asynch.batch.queue.size</span></b> (default 100) on the server node.
+    </li>
+    <li>StrippedAsynch - remove responseData from succesful samples, and use Async sender to send them.</li>
+    <li>Custom implementation : set the mode parameter to your custom sample sender class name.
     This must implement the interface SampleSender and have a constructor which takes a single
     parameter of type RemoteSampleListener. 
-    
-</li>
-
-    
-</ul>
-
-
+    </li>
+    </ul>
 </ul>
-<p>
-The following properties apply to the Batch and Statistical modes:
-</p>
-<ul>
-
-    
-<li>
-num_sample_threshold - number of samples in a batch (default 100)
-</li>
-
-    
-<li>
-time_threshold - number of milliseconds to wait (default 60 seconds)
-</li>
+<div class="clear"></div><div class="note">Stripped mode family strips responseData so this means that some Elements that rely on the previous responseData being available will not work.<br>
+This is not really a problem as there is always a more efficient way to implement this feature.
+</div><div class="clear"></div>
+<p>The following properties apply to the Batch and Statistical modes:</p>
+    <ul>
+    <li>num_sample_threshold - number of samples in a batch (default 100)</li>
+    <li>time_threshold - number of milliseconds to wait (default 60 seconds)</li>
+    </ul>
+</div>
 
-    
-</ul>
-</blockquote>
-</td></tr>
-<tr><td><br></td></tr>
-</table>
-<table border="0" cellspacing="0" cellpadding="2" width="100%">
-<tr><td bgcolor="#828DA6">
-<font color="#ffffff" face="arial,helvetica,sanserif">
-<a name="retries"><strong>15.5 Dealing with nodes that failed starting</strong></a>
-<a class="sectionlink" href="#retries" title="Link to here">&para;</a></font>
-</td></tr>
-<tr><td>
-<blockquote>
-<p>
 
-    For a large-scale tests there is a chance that some part of remote servers will be unavailable or down. 
+<div class="subsection"><h2>15.5 Dealing with nodes that failed starting<a class="sectionlink" href="#retries" title="Link to here">&para;</a></h2>
+  <p>
+    For large-scale tests there is a chance that some part of remote servers will be unavailable or down. 
     For example, when you use automation script to allocate many cloud machines and use them as generators,
     some of requested machines might fail booting because of cloud's issues. 
-  
-</p>
-<p>
-
+    Since JMeter 2.13 there are new properties to control this behaviour.
+  </p>
+  <p>
     First what you might want is to retry initialization attempts in hope that failed nodes just slightly delayed their boot. 
-    To enable retries, you should set 
-<code>
-client.tries
-</code>
- property to total number of connection attempts. 
-    By default it does only one attempt. To control retry delay, set the 
-<code>
-client.retries_delay
-</code>
- property
+    To enable retries, you should set <span class="code">client.tries</span> property to total number of connection attempts. 
+    By default it does only one attempt. To control retry delay, set the <span class="code">client.retries_delay</span> property
     to number of milliseconds to sleep between attempts.
-  
-</p>
-<p>
-
+  </p>
+    
+  <p>
     Finally, you might still want to run the test with those generators that succeeded initialization and skipping failed nodes.
-    To enable that, set the 
-<code>
-client.continue_on_fail=true
-</code>
- property.
-  
-</p>
-</blockquote>
-</td></tr>
-<tr><td><br></td></tr>
-</table>
-</blockquote>
-</p>
-</td></tr>
-<tr><td><br></td></tr>
-</table>
-<br>
-<table>
-<tr>
-<td bgcolor="#525D76">
-<div align="right"><a href="index.html"><font size=-1 color="#ffffff" face="arial,helvetica,sanserif">Index</font></a></div>
-</td>
-<td bgcolor="#525D76">
-<div align="right"><a href="best-practices.html"><font size=-1 color="#ffffff" face="arial,helvetica,sanserif">Next</font></a></div>
-</td>
-<td bgcolor="#525D76">
-<div align="right"><a href="listeners.html"><font size=-1 color="#ffffff" face="arial,helvetica,sanserif">Prev</font></a></div>
-</td>
-</tr>
-</table>
-</td>
-</tr>
-<tr><td colspan="2">
-<hr noshade size="1"/>
-</td></tr>
-<tr><td colspan="2">
-<div align="center"><font color="#525D76" size="-1"><em>
-Copyright &copy; 1999-2015, Apache Software Foundation
-</em></font></div>
-</td></tr>
-<tr><td colspan="2">
-<div align="center"><font color="#525D76" size="-1">
-Apache, Apache JMeter, JMeter, the Apache feather, and the Apache JMeter logo are
-trademarks of the Apache Software Foundation.
-</font>
+    To enable that, set the <span class="code">client.continue_on_fail=true</span> property.
+  </p>
 </div>
-</td></tr>
-</table>
-</body>
-</html>
-<!-- end the processing -->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
 
+</div><ul class="pagelinks"><li><a href="listeners.html">&lt; Prev</a></li><li><a href="../index.html">Index</a></li><li><a href="best-practices.html">Next &gt;</a></li></ul></div><div class="footer"><div class="copyright">
+            Copyright &copy;
+            1999 &ndash;
+            2015
+            , Apache Software Foundation
+          </div><div class="trademarks">Apache, Apache JMeter, JMeter, the Apache
+            feather, and the Apache JMeter logo are
+            trademarks of the
+            Apache Software Foundation.
+          </div></div></body></html>
\ No newline at end of file