Questions tagged [browsermob-proxy]

BrowserMob Proxy (BMP) is based on technology developed in the Selenium open source project and a commercial load testing and monitoring service originally called BrowserMob and now part of Neustar.

The proxy is a free (Apache 2.0 license) utility that works well with Selenium or can be used independently.

It can capture performance data for web apps (via the HAR format), as well as manipulate browser behavior and traffic, such as whitelisting and blacklisting content, simulating network traffic and latency, and rewriting HTTP requests and responses.

For details and download: http://bmp.lightbody.net/ https://github.com/webmetrics/browsermob-proxy/downloads

199 questions
2
votes
2 answers

How to fix "Can't connect to Browsermob-Proxy" on a mac?

Running on a mac I am trying to use browsermob-proxy to monitor connections during python-selenium tests. I downloaded the java implementation 2.1.4 from here and pip installed the python wrapper ( browsermobproxy). The full example code is here…
Alex
  • 41,580
  • 88
  • 260
  • 469
2
votes
1 answer

Blocking 3rd party urls during page load using protractor

I want to block all the 3rd party crap(like faceboook and google analytics api) during the page load to speed up the execution. Many has suggested using proxy is the best way to do that. Has any one done this before? And can you please suggest me…
Galileo123
  • 185
  • 4
  • 17
2
votes
1 answer

BrowserMob Proxy + Apache HttpClient: Receiving javax.net.ssl.SSLHandshakeException

my goal is to use BMP to verify that Google Analytics calls are being triggered upon sending certain requests to my application (for now I'm just trying to hit yahoo.com and make a request). Preferably I'd like to do this without going thru…
user1599401
  • 65
  • 1
  • 2
  • 10
2
votes
0 answers

SSL Certificate Errors With BrowserMob-Proxy on Firefox 50

I am having trouble getting https requests to pass through BrowserMob-Proxy with Firefox 50. However with Firefox ESR45.4 there is no such issue. As a simple test I started BrowserMob-Proxy and created an instance on port 8088. I then launched…
darkrat
  • 673
  • 6
  • 14
2
votes
1 answer

Force Selenium Chrome Driver to use QUIC instead of TCP

I am working on downloading HAR from Chrome for YouTube through Selenium Python Script. Code Snippet: chrome_options =…
2
votes
1 answer

Adding SSL certificate to Selenium

I am working with BrowserMob-Proxy and Selenium. Loading pretty much any URL results in a Your connection is not secure, Error code:SEC_ERROR_UNKNOWN_ISSUER error in the browser. However, when I import the certificate given by BMP (via…
2
votes
1 answer

Browsermob har timings seem off

I am able to get Selenium driving Starting ChromeDriver 2.23.409699 via browsermob-proxy-2.1.2 and can access the HAR data however the timings seem strange particularly with SSL sites. For example the first fetch is made to the website itself, which…
morleyc
  • 2,169
  • 10
  • 48
  • 108
2
votes
1 answer

Capture network traffic - protractor

I have used Browermobpoxy with Selenium(Java) to capture the network traffic from client (Browser), it worked so good. We recently inclined towards Protractor, My Question is 1) Is there a good NodeJS library available? 2) Is it possible to use the…
Barney
  • 1,851
  • 2
  • 19
  • 36
2
votes
0 answers

browsermob-proxy not connecting

I have been trying to capture some HAR information from a website. I ran across browsermob-proxy, but I can't seem to get it to work. Below is my code: from browsermobproxy import Server server =…
Pieter
  • 127
  • 1
  • 10
2
votes
2 answers

Browsermob Proxy - HAR file not as complete as manual HAR?

So, below is my basic code to try out Browsermob Proxy, and the output generated. The issue is with the output, which appear to be (1) incomplete in number and (2) not as detailed as I would manually check the network statistics in Dev tools…
FDM
  • 628
  • 6
  • 18
2
votes
0 answers

phantomjs stuck on linux

Using phantomjs com.codeborne:phantomjsdriver:1.2.1, selenium 2.49 and browserMob Proxy browsermob-proxy-2.0-beta-9. Testing on Mac works fine. Testing same settings(capabilities) on Linux 64bit with the right executable gets stuck with the…
Programmer
  • 175
  • 1
  • 2
  • 17
2
votes
3 answers

Installing Browsermob proxy for getting HTTP codes

I might seem naive while asking this. I need to retrieve various HTTP codes, for few of our test scenarios. Now I know that Selenium cannot do it alone and we have to use a third party resource- may be a proxy like Browsermob. Has any one already…
demouser123
  • 4,108
  • 9
  • 50
  • 82
2
votes
0 answers

Generated Har files are merged into one file with browsermob-proxy and protractor

I am trying to use browsermob-proxy to generate multiple HAR files parallelly. My configuration is launching two instances of same spec.js, and each instance launches one IE browser with different port, and generates one har file. However, the…
2
votes
1 answer

Selenium webdriver. Endless page loading

I use Selenium webdriver with Firefox for scraping web pages. Sometimes web browser waits endless time for some excessive requests complete (e.g. to facebook.net). I've tried to use BrowserMob-Proxy to filter these requests. But it didn't help.…
Valentyn Grygoriev
  • 463
  • 10
  • 29
1
vote
1 answer

Tried reading Request Headers with Browsermob + Selenium in Java but only got empty har

My goal is to read the request headers of the app portal. Am using browsermob-core with selenium, but the entries in har always comes empty. I tried removing the headless arg and also tried using a separate SSLProxy for BMP, but still the har is…