Forums/Product Announcements and Requests/Feature Requests

PlannedDoneNot planned

Am I able to use browsermob proxy with selenium2/java on sauce ondemand?

wchang
suggested this on January 6, 2012, 12:00 PM

My current implementation with browsermob proxy works fine with my local machine but getting the har file  does not seem to be working remotely. Is there additional configurations I need? 

 

Comments

User photo
Santiago Suarez OrdoƱez
Sauce Labs

There currently isn't a way to handle proxying and getting an har file for browsers in our cloud. This certainly sounds like a great feature request. I'm moving this to the right forum.

Thanks!

January 9, 2012, 7:49 AM
User photo
potential

browsermob-proxy support is something I've been looking for also. They have a REST API

February 1, 2012, 9:42 AM
User photo
sgentry6

Would be fantastic to verify that various calls are occurring and succeeding in each of the environments we run our tests inside of sauce labs.

February 17, 2012, 12:47 PM
User photo
potential

will you be adding support for all the other browsermob-proxy features such as http request/response manipulation and bandwidth latency? Our tests rely on that lib and it's the only reason we haven't considered saucelabs yet. Thanks!

February 29, 2012, 6:17 AM
User photo
Matt Smith
Holiday Extras

Hi All, 

Does anyone know if this available?  Is it possible to use my own browsermob-proxy installation and then connect to sauce labs?

Thanks

Matt

June 20, 2012, 1:37 AM
User photo
gauravkumar

eagerly waiting on this!

July 25, 2012, 1:17 AM
User photo
Alex Glowaski
Sauce Labs Customer Support

Thanks for your input. We're prioritizing a few exciting new services (including mobile and Mac integration), and may tackle this afterward since it has strong community interest. You can stay tuned via our blog at sauce.io .

July 25, 2012, 1:30 PM
User photo
Alex Glowaski
Sauce Labs Customer Support

Hi daluu, thanks for asking. We have Mac VMs with Safari planned for release in late August / early September. Our blog ( sauce.io ) will have info on that as well, as soon as it's available.

July 26, 2012, 4:44 PM
User photo
Dale Emery
Workday, Inc.

Is there an update on using browsermob to capture network traffic?  I recently switched a client's code from Selenium RC to WebDriver.  Because WebDriver doesn't capture network traffic, we had to disable the tests that make assertions about response headers.

February 7, 2013, 11:29 PM
User photo
Keith Bloomfield
Dynacron Group

Plus one vote. This would be a very useful feature for us.

February 20, 2013, 11:39 AM
User photo
David Drake
Dynacron Group

We've found this to be a priority for a couple of clients in the last year.  Specifically, browsermob-proxy fills a couple of big gaps in Selenium: the ability to inspect and manipulate requests at a low level.  It's critical for testing sites that requires custom headers or http authentication, for example.

February 22, 2013, 4:02 PM
User photo
perzeviacom
Viacom Inc.

I think there is definitely enough traction for this topic. Is this in saucelabs roadmap in the near future?

March 13, 2013, 10:28 AM
User photo
vkite
Scripps Networks Interactive

This is a very important feature for us.

March 13, 2013, 10:32 AM
User photo
None
InPowered

+1 for us as well.

April 25, 2013, 7:36 PM
User photo
dataxu
Data XU

I've been doing this by using SauceConnect with the -p flag.  In my case it's -p localhost:9090, where 9090 is the port on which the proxy is running -- NOT the rest service.

 

It'd actually be really nice if you could have SauceConnect request a new proxy via the REST API for each browser session.  As it is now, if you try to run multiple sessions vs one proxy, it becomes very hard to disentangle your HAR files.  I'm forced to run my tests serially for now. :/

May 15, 2013, 8:37 PM
User photo
PaperG Sauce Account
PaperG

+1, my team would really benefit from this as well

March 21, 2014, 1:09 PM
User photo
Ensighten Admin
Ensighten LLC

Currently this works with Sauce Connect 3 and browsermob proxy, but upon upgrading to SauceConnect4 i see some issues. WIth SauceConnect4 the --proxy option is for sauce connect itself to reach out  to saucelabs, the -T option used to specify the proxy configured for the tunnel, but none of these seem to be of any use when trying to proxy browser traffic to browsermob, does 4.0 not include these features? 

April 1, 2014, 3:56 PM
User photo
Colin Pade
Sauce Labs

Hello Everyone,

We certainly appreciate the feedback from you. We have our development working on making this work for Sauce Connect 4 as we speak.

Thanks for your patience and we love your input!

Colin

April 29, 2014, 5:37 PM
User photo
Colin Pade
Sauce Labs

Hello,

I recently wrote up a tutorial of getting this setup here:

Hello Matt,

I wrote up a tutorial to try and help users get Sauce Connect 4 and BrowserMob working.

http://support.saucelabs.com/entries/37604494-BrowserMob-with-Sauce...

Please let me know how it goes,

Colin

 

May 13, 2014, 12:00 PM