Closed Bug 1163833 Opened 9 years ago Closed 9 years ago

Add integration with browsermob-proxy

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(firefox41 fixed)

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: jgriffin, Assigned: jgriffin)

References

Details

Attachments

(1 file, 1 obsolete file)

Syd needs to use the browsermob-proxy (https://github.com/lightbody/browsermob-proxy) to vary bandwidth in media Marionette tests.

This has some Selenium integration via https://github.com/AutomatedTester/browsermob-proxy-py; we need to decide how to integrate it with Marionette.

One approach would be to create a mixin which can start/stop the proxy if a command-line arg is present, and would add a method that tests can use to set the Firefox proxy by means of setting the relevant pref.
David, what would you recommend?
Flags: needinfo?(dburns)
We need to have a mechanism for setting up a proxy and ideally we want to be doing that on newSession so that we can keep the webdriver semantics.

I have a draft of how capabilities will work up at https://github.com/w3c/webdriver/pull/32/files#diff-ad773c123fb4f302446d8ca4ab22109cR127 and will be doing proxy next so I can remove the todo that is visible int he diff.

This is one of my main priorities currently.
Flags: needinfo?(dburns)
Depends on: 1165449
I'm going to take this piece.  David, bug 1165449 isn't a huge rush; I can work around this for the time being by setting the proxy pref via execute_script.
Assignee: nobody → jgriffin
Status: NEW → ASSIGNED
/r/9369 - Bug 1163833 - Add integration with browsermob-proxy, r=dburns

Pull down this commit:

hg pull -r 4b31ed43f1920af94d7eb2154e267e23e28c2a5d https://reviewboard-hg.mozilla.org/gecko/
Attachment #8610709 - Flags: review?(dburns)
I didn't include browsermob-proxy itself; the package contains too many binary JAR files.

try run to verify I didn't mess up packaging details:  https://treeherder.mozilla.org/#/jobs?repo=try&revision=133698b38a07
Comment on attachment 8610709 [details]
MozReview Request: bz://1163833/jgriffin

https://reviewboard.mozilla.org/r/9367/#review8175

Ship It!
Attachment #8610709 - Flags: review?(dburns) → review+
Blocks: 1168997
https://hg.mozilla.org/mozilla-central/rev/f11faab4b144
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Attachment #8610709 - Attachment is obsolete: true
Attachment #8620269 - Flags: review+
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: