Author: sebb
Date: Thu Dec 13 07:42:06 2007
New Revision: 603939

URL: http://svn.apache.org/viewvc?rev=603939&view=rev
Log:
Document issues with redirect automatically

Modified:
    jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml

Modified: jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=603939&r1=603938&r2=603939&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml Thu Dec 13 
07:42:06 2007
@@ -165,8 +165,9 @@
                <property name="Redirect Automatically" required="Yes">
                Sets the underlying http protocol handler to automatically 
follow redirects,
                so they are not seen by JMeter, and thus will not appear as 
samples.
-               In versions after 2.2, this is now the default.
-               <b>Warning: see below for information on cookie handling.</b>
+               Should only be used for GET and HEAD requests.
+               The HttpClient sampler will reject attempts to use it for POST 
or PUT.
+               <b>Warning: see below for information on cookie and header 
handling.</b>
         </property>
                <property name="Follow Redirects" required="Yes">
                This only has any effect if "Redirect Automatically" is not 
enabled.
@@ -225,12 +226,13 @@
         </property>
 </properties>
 <p>
-<b>N.B.</b> when using automatic redirection, cookies are only sent for the 
initial URL.
+<b>N.B.</b> when using Automatic Redirection, cookies are only sent for the 
initial URL.
 This can cause unexpected behaviour for web-sites that redirect to a local 
server.
 E.g. if www.example.com redirects to www.example.co.uk.
 In this case the server will probably return cookies for both URLs, but JMeter 
will only see the cookies for the last
-host, i.e. www.example.co.uk. If the next request uses www.example.com, 
+host, i.e. www.example.co.uk. If the next request in the test plan uses 
www.example.com, 
 rather than www.example.co.uk, it will not get the correct cookies.
+Likewise, Headers are sent for the initial request, and won't be sent for the 
redirect.
 This is generally only a problem for manually created test plans,
 as a test plan created using a recorder would continue from the redirected URL.
 </p>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to