DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43896>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43896

           Summary: Config elements defined with managers are not sent when
                    automatically redirecting via POST
           Product: JMeter
           Version: 2.3
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


HTTP Headers configured with a Header Manager and cookies are not sent when
POSTing with the Java HTTP Sampler and using Redirect Automatically. Changing
the request to be a GET ensures the headers and cookies set by previous pages
are sent correctly.

If Redirect Automatically is unchecked and Follow Redirects is checked instead,
the headers and cookies are also sent correctly.

The rest of this description is the request and response headers that show the
cookies and headers aren't being sent (captured with Charles).

POST /concerto/Context.htm?operation=setContext HTTP/1.1
Connection: keep-alive
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Cookie: JSESSIONID=F51C04C239C5A6C5DB5FD996741D9CBC
Content-Type: application/x-www-form-urlencoded
Content-Length: 461
Host: stuartm.orion.internal:8066
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2

HTTP/1.1 302 Moved Temporarily
Date: Mon, 19 Nov 2007 02:27:07 GMT
Server: Apache/2.0.52 (Win32) mod_ssl/2.0.52 OpenSSL/0.9.7e mod_jk/1.2.25
Expires: -1
Cache-Control: no-store
Pragma: no-cache
Location:
http://stuartm.orion.internal:8066/concerto/Context.htm?token=6ccf4faa-28b1-11b2-ad2b-73e237da053e
Content-Language: en-NZ
Content-Length: 0
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: text/html; charset=ISO-8859-1

GET /concerto/Context.htm?token=6ccf4faa-28b1-11b2-ad2b-73e237da053e HTTP/1.1
User-Agent: Java/1.5.0_12
Host: stuartm.orion.internal:8066
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to