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

202 questions
1
vote
0 answers

Selenium with BrowserMob - 404 errors

I'm currently trying to setup Selenium WebDriver with BrowserMob, to capture network requests in a test. At the moment my setup is as follows: Development Machine running TomCat on 192.168.1.97, port 8080 On the webdriver: System.out.println(…
Squiggs.
  • 3,037
  • 6
  • 40
  • 73
1
vote
1 answer

Java: Change log level of external library maven dependency

I am using maven to import external dependency BrowserMob Proxy into my Java project: net.lightbody.bmp browsermob-core-littleproxy 2.1.0-beta-3
pete
  • 73
  • 7
1
vote
0 answers

Content-Encoding missing in browser mob proxy request header

I need to fetch and verify the Content-Encoding from request headers using Browser Mob Proxy - https://github.com/lightbody/browsermob-proxy I can collect all the requests from device. But unfortunately the Content-Encoding header is missing in the…
Infant Anto Rodrigo
  • 161
  • 1
  • 3
  • 11
1
vote
0 answers

Running javascript through a proxy with selenium

I have Selenium 2 in Java running through BrowserMobProxyServer (on firefox) since I need to capture certain network events as I navigate a form. I have a javascript command that I can call via JavascriptExecutor with .executeScript("script.test")…
xgmaker
  • 73
  • 1
  • 9
1
vote
2 answers

How to fix 'Address already in use' error with browsermob-proxy?

I am still trying to use browsermob-proxy (here) to try to monitor the network traffic during a python selenium test (see browsermobproxypy). I am using the following script to test it: from browsermobproxy import Server server =…
Alex
  • 34,021
  • 64
  • 178
  • 371
1
vote
1 answer

Get only request/response with loading time >= 1 Sec BrowserMob in Java

Is it possible to filter the request/response from .HAR whose loading time is >=1 Sec? I need to save har object into seperate file and upload into har viewer. Below is my code to generate .HAR file. //BrowserMobProxy BrowserMobProxy server…
1
vote
0 answers

Python-Browsermobproxy: unable to collect har data

I have to write a generalized codebase to track some specific data from a website. For this, I have used browsermob-proxy. After completing the page interactions using selenium, I try to dump the data in a result object using json.dumps. The code…
Corefinder
  • 11
  • 4
1
vote
0 answers

Rails + BMP + Capybara + Selenium webdriver + Firefox - Not able to establish connection between proxy and server while launching https site

I am trying to capture the network data from a https site via browsermob proxy. My BMP - v2.1.4, firefox - v46.0 and selenium server - v2.53.1, rails - v5.1.3. My code is as follows, require "rubygems" require "childprocess" require…
1
vote
0 answers

Is it possible to tests network section on Chrome by selenium automation tests with C#

I want to tests responses and queries from network section in ChromeWebDriver. I saw mobproxy however, it doesn't have a fresh client for .NET. Do you know anything other? It's very important for me. Cheers,
1
vote
0 answers

Obtaining HAR Request\Response C#

When launching browsermob on Windows through the supplied .bat file in a C# solution I am unable to retrieve the request\response data in the supplied HAR file from the REST API. I have attempted setting the /proxy/[port]/har captureContent to true…
1
vote
1 answer

How do I properly set up a BrowserMobProxy/Selenium Proxy with RemoteWebDriver/Sauce Labs/Sauce Connect?

I've been looking everywhere and have not found any good documentation on how to properly set up a proxy to run a script on Sauce labs and extract the HAR file. I'm using BMP in an embedded mode…
Sahil Gupta
  • 265
  • 2
  • 5
  • 15
1
vote
1 answer

The Browsermob-Proxy server process failed to start

I encountered this error when I just start the server. Here's the code: server = Server(r"path\to\browsermob-proxy") server.start() Then it stopped and raised an error like this: browsermobproxy.exceptions.ProxyServerError: The Browsermob-Proxy…
Dexter
  • 11
  • 3
1
vote
1 answer

BrowserMob. How to configure BrowserMobProxy through httpclient

I am trying to use BrowserMob proxy library (net.lightbody.bmp) to intercept http requests from some default website (for instance: "https://default.com") and my question is how to do that ? BrowserMobProxy proxy = new…
1
vote
0 answers

io.netty.handler.codec.TooLongFrameException: HTTP content length exceeded 2097152 bytes. Exception with selenium and browsermob

I started seeing below issue recently when i run my tests on chrome browser(selenium) io.netty.handler.codec.TooLongFrameException: HTTP content length exceeded 2097152 bytes. at…
nurav
  • 189
  • 2
  • 17
1
vote
1 answer

No log entries found for BrowserMobProxy With Robot Framework

I have written this script in robot framework. Set Selenium Implicit Wait 10 ## Init BrowserMob Proxy ${file} Join Path ${EXECDIR} browsermob-proxy-2.1.4 bin browsermob-proxy.bat File Should Exist ${file} Start Local Server …