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=42022>.
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=42022

           Summary: Not allowing multiple headers of same name
           Product: JMeter
           Version: 2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTTP
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I'm trying to set up a test that sends multiple headers of the same name to a 
website.  If I add one HTTP 
Header Manager config element with multiple headers, or multiple HTTP Header 
Manager config 
elements each with one header, jmeter uses the last configured header as the 
only one in the actual 
request.

For example, with a header manager configuration as follows (cut 'n paste from 
xml file):

        <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname
="Multiple X-F-F headers" enabled="true">
          <collectionProp name="HeaderManager.headers">
            <elementProp name="" elementType="Header">
              <stringProp name="Header.value">192.168.1.1</stringProp>
              <stringProp name="Header.name">X-Forwarded-For</stringProp>
            </elementProp>
            <elementProp name="" elementType="Header">
              <stringProp name="Header.value">192.168.1.2</stringProp>
              <stringProp name="Header.name">X-Forwarded-For</stringProp>
            </elementProp>
          </collectionProp>
        </HeaderManager>
        <hashTree/>
        <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname
="More X-F-F" enabled="true">
          <collectionProp name="HeaderManager.headers">
            <elementProp name="" elementType="Header">
              <stringProp name="Header.value">192.168.1.3</stringProp>
              <stringProp name="Header.name">X-Forwarded-For</stringProp>
            </elementProp>
          </collectionProp>
        </HeaderManager>

-- 
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