Questions tagged [browsermob]

BrowserMob Proxy is a simple utility that makes it easy to capture performance data from browsers.

BrowserMob Proxy uses web automation utilities like Selenium to capture performance data in the HAR format. It can be integrated in a Java application or interacted through the REST interface.

It addition it also can actually control HTTP traffic, such as:

  • blacklisting and whitelisting certain URL patterns
  • simulating various bandwidth and latency
  • remapping DNS lookups
  • flushing DNS caching
  • controlling DNS and request timeouts
  • automatic BASIC authorization
126 questions
1
vote
1 answer

Browsermob HTTPS requests with Auth Headers

I'm trying to use Browsermob proxy to capture information about requests. Have it working for HTTP requests and HTTPS requests that don't have an authorization header. if(product == 'Product'): headers = { 'Authorization':…
supakadoo
  • 53
  • 5
1
vote
2 answers

Browsermob proxy how to make it work with selenium grid? [java]

What I have in my code: public BrowserMobProxy getProxy() throws UnknownHostException { if (proxy == null) { proxy = new BrowserMobProxyServer(); proxy.start(0); } return proxy; seleniumProxy =…
nvldk
  • 125
  • 2
  • 14
1
vote
1 answer

Browsermob proxy stops capturing on url change?

I'm using browsermob proxy in order to capture traffic with webdrirver(chrome mostly). Here is the problem that I have: As long as I use single page everything is ok ,however when URL changes(due to navigating to other page or redirect), proxy is no…
1
vote
1 answer

TooLongFrameException happen when use Selenium with BrowserMob

I am use Selenium with BrowserMob to perform the testing, I use requestfilter and responsefilter to modify the request header and response contents just like this: public void proxySettings(){ proxy.addResponseFilter((response, contents,…
Jerry
  • 13
  • 4
1
vote
1 answer

Capturing test traffic with BrowserMobProxy

I am trying to setup BrowserMobProxy to capture performance data. However im not having much success at the moment. Most if not all of the documentation i can find seems to use the now deprecated ProxyServer. And the documentation on the…
Cathal
  • 1,318
  • 1
  • 12
  • 19
1
vote
0 answers

Setup selenium webdriver with browsermob for IE

How do I create an instance of webdriver.IE that uses browsermob using Python? Below is how i have it working with Chrome and Firefox, but I'm struggling with IE. bmPath = os.path.join('thePath') context.server =…
user3249517
  • 131
  • 1
  • 1
  • 6
1
vote
2 answers

pageTimings not getting captured with Selenium and Browsermob proxy

I am using Browsermob proxy with selenium webdriver to capture HAR log. I am able to generate logs but the pageTimings are not getting captured. Rest all data is getting captured. Any idea what is wrong here? Do I need to use some wait using this…
Amrit
  • 433
  • 3
  • 19
1
vote
0 answers

Servlet dependency error after add browsermob-proxy lib

After adding browsermob-proxy to the pom.xml, when I was trying to start the webapp, it threw an exception: D**: the exception log java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component…
shimron
  • 596
  • 6
  • 19
1
vote
1 answer

How to run Multiple Servers in BrowserMob Selenium and Python

Hi all I want to run multiple browsermob servers in python(want to detect http of two chrome browsers simultaneously but in a way that it can be separated later), however when I assign second server to second proxy I get the error 'No json object…
CryptoKitty
  • 654
  • 4
  • 20
1
vote
1 answer

BrowserMob only partially loading page on initial load; fine afterwards

I'm trying to use BrowserMob to proxy pages with Selenium WebDriver. When the initial page request is made, many elements of the page fail to load (e.g., css, jquery includes). If I manually refresh the page everything loads as expected. Has…
Seanonymous
  • 1,304
  • 10
  • 30
1
vote
2 answers

BrowserMob not proxying localhost pages

I'm trying to use BrowserMob to proxy pages with Selenium WebDriver. When the (Python) test case tries to load pages from localhost, BrowserMob fails to proxy them. Is it possible for BrowserMob to proxy connections to the webserver at localhost?
Seanonymous
  • 1,304
  • 10
  • 30
1
vote
1 answer

How to set BrowserMob with WebDriver?

I am trying to intercept the requests made by Webdriver using BrowserMobProxy. But the below code is not working..It is not able to open the site google.com. It says the "Internet Explorer cannot open the site" proxyServer = new…
javanoob
  • 6,070
  • 16
  • 65
  • 88
1
vote
1 answer

Detailed timings with Selenium and browermob proxy gives empty har file

maybe someone can help me, I've searched for hours now and couldn't find a solution, on any site/blog/FAQ/... I'm trying to get detailed timings for a page, with Selenium and Browsermob proxy. But the HAR file generated has always empty pageTitle,…
1
vote
1 answer

Capture web driver network traffic across all browsers

I want to capture all the network calls from Web Driver in Java. I am not doing any UI testing, just testing JS execution and, requests and responses of some network calls. I tried using Browser Mob as is suggested in most forums, but I need it to…
sid
  • 83
  • 8
1
vote
1 answer

browsermob proxy.NET System.Diagnostics.Process causes "32 bit processes cannot access modules of a 64 bit process" error

I have a pc with win7 x64 with VS2013 installed and I have an instance of Win Server 2012 with VS2013 installed as well. I am trying to get BrowserMob Proxy.NET working on the server for a JEnkins/Selenium install I am running. When I run…
1 2 3
8 9