https://issues.apache.org/bugzilla/show_bug.cgi?id=45479
Summary: Support for multiple HTTP Header Manager nodes
Product: JMeter
Version: 2.3.3
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: HTTP
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Created an attachment (id=22314)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=22314)
SVN diff of my changes
I've added a small bit of code to support multiple "HTTP Header Manager"
nodes at different scopes.
PREVIOUS:
When HTTPSamplerBase.setHeaderManager(..) is called, it was already
checking if a more locally scoped HeaderManager had already been
assigned. If so, log a warning and overwrite with the new HeaderManager.
NEW:
The HeaderManager object now supports a merge(..) operation, allowing it
to merge its values with another HeaderManager's. The result is a new
HeaderManager object with values from both -> with more local-scoped
values take precedence over more distant-scoped values. So, when
HTTPSamplerBase.setHeaderManager(..) detects a more locally scoped
HeaderManager already assigned, it stores the merged result.
I created one new interface "TestMergeable", anticipating that this
could also be useful for other config elements, such as HTTP Cookie Manager.
The attached .diff is based on current SVN trunk (as of 2008-07-23 @
20:00:00 EDT).
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]