Issue Details (XML | Word | Printable)

Key: SRC-680
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Patrick Lightbody
Reporter: Patrick Lightbody
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

New addCustomRequestHeader command

Created: 09/Jun/09 10:26 AM   Updated: 09/Jun/09 01:06 PM   Resolved: 09/Jun/09 10:28 AM
Component/s: Server
Affects Version/s: 1.0
Fix Version/s: 1.0.1

Environment: Only works for the HTTP proxy


 Description  « Hide

It would be useful for integration with other tools, such as BrowserMob, dynaTrace, New Relic, and just about anything else that needs to correlate traffic from a browser to some particular "grouping". The addCustomRequestHeader forces an additional header to be bundled up with any browser request that goes through the HTTP proxy, which can be activated with the "addCustomRequestHeaders=true" browser option (as well as the captureNetworkTraffic=true option).

A concrete example of this is that it allows dynaTrace users to use a custom JUnitRunner, which will automatically add a custom header for each test case that runs. The custom header will be consumed by dynaTrace, allowing dynaTrace users to see the performance profile of each Selenium test.



Sort Order: Ascending order - Click to sort in descending order
Andras Hatvani added a comment - 09/Jun/09 10:34 AM

Patrick, in which revision have you resolved this feature request?


Patrick Lightbody added a comment - 09/Jun/09 12:02 PM

Andras - revision 2694. That information is automatically captured in the FishEye tab as long as the revision comments include the JIRA bug ID.


Andras Hatvani added a comment - 09/Jun/09 01:06 PM

Yes, you're right Patrick, thanks for the hint. Could you please add appropriate unit and/or integration tests, too?