jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r1783565 - /jmeter/trunk/xdocs/usermanual/component_reference.xml
Date Sat, 18 Feb 2017 15:23:48 GMT
Author: fschumacher
Date: Sat Feb 18 15:23:48 2017
New Revision: 1783565

Add more documentation on the usage of Static Host Table.

Bugzilla Id: 59174


Modified: jmeter/trunk/xdocs/usermanual/component_reference.xml
--- jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jmeter/trunk/xdocs/usermanual/component_reference.xml Sat Feb 18 15:23:48 2017
@@ -3610,8 +3610,28 @@ By default, a Graphite implementation is
     A mapping for static hosts can be used to simulate something like <code>/etc/hosts</code>
-    These entries will be preferred over the custom resolver.
+    These entries will be preferred over the custom resolver. <code>Use custom DNS
resolver</code> has to be enabled,
+    if you want to use this mapping.
+    <example title="Usage of static host table" anchor="static_host_table">
+    <p>Say, you have a test server, that you want to reach with a name, that is not
(yet) set up in your dns servers.
+    For our example, this would be <code></code> for the server
name, which you want to reach at the
+    ip of the server <code></code>.
+    </p>
+    <p>You could change your workstation and add an entry to your <code>/etc/hosts</code>
file - or the equivalent for
+    your OS, or add an entry to the Static Host Table of the DNS Cache Manager.
+    </p>
+    <p>You would type <code></code> into the first column
(<code>Host</code>) and
+    <code></code> into the second column (<code>Hostname
or IP address</code>).
+    As the name of the second column implies, you could even use the ip address of your test
server there.
+    </p>
+    <p>The ip address for the test server will be looked up by using the custom dns
resolver. When none is given, the
+    system dns resolver will be used.
+    </p>
+    <p>Now you can use <code></code> in your HTTPClient4
samplers and the requests will be made against
+    <code></code> with all headers set to <code></code>.
+    </p>
+    </example>
     <property name="Name" required="No">Descriptive name for this element that is shown
in the tree. </property>

View raw message