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
0
votes
1 answer

Removing "TooLongFrameException" restrictions (http)

I am using selenium with browsermob-proxy, ultimately powered by "netty-all", to access a site (outside my control) which offers up enormous headers as part of its authentication process. Proxy fails with a netty…
granitezero
  • 141
  • 1
  • 4
0
votes
2 answers

How to authorize proxy with BrowserMobProxyServer?

I need to use the remote proxy server for my test, but proxy required login and password for authorization. I try to use BrowserMobProxyServer for this: BrowserMobProxy bmp = new BrowserMobProxyServer(); bmp.start(); // This inject my remote proxy…
Pavel
  • 2,005
  • 5
  • 36
  • 68
0
votes
0 answers

Error from server: 500 using addWhiteListURL in protractor using browsermob-proxy-api

I am getting Error from server: 500 when using addURLWhiteList in browsermob-proxy-api module.I am using Node JS and protractor. I would like to generate information from only relevant URLs as the size of the HAR file generated will become too big…
John Doe
  • 9
  • 2
0
votes
1 answer

How do I get browsermob-proxy to record ALL response bodies

I'm having trouble with browsermob-proxy and its har exporting feature. Some response bodies are not logged (the entire "text" field is missing) My setup (using browsermob-proxy 2.1.4) curl -X POST http://localhost:8080/proxy?port=9091 curl -X PUT…
Cyberwiz
  • 11,027
  • 3
  • 20
  • 40
0
votes
0 answers

How to start the browsermob-proxy?

I am trying to run the browsermob-proxy as explained here. I closed the repository, changed into the directoty /browsermob-proxy-2.1.4/bin and run the following command: ./browsermob-proxy --use-littleproxy false -port 8080 and…
Alex
  • 41,580
  • 88
  • 260
  • 469
0
votes
1 answer

Bad substitution error when trying to use browsermob-proxy with selenium

On an ubuntu system I am trying to use a 'browsernmob-proxy' with python-selenium tests. Following the documentation here I installed 'browsermob-proxy' and I tried the following python code: from selenium import webdriver from browsermobproxy…
Alex
  • 41,580
  • 88
  • 260
  • 469
0
votes
1 answer

BrowserMob Proxy + Selenium: Not receiving any HTTP responses

Maven/Java project with dependencies: net.lightbody.bmp browsermob-core 2.1.4 test
user1599401
  • 65
  • 1
  • 2
  • 10
0
votes
2 answers

Issues with BrowserMob Proxy and Selenium

I can't setup BrowserMob Proxy working in my Selenium project. Like described in BrowserMob Proxy github page I imported it in my code: public class DriverBase { public WebDriver driver; public BrowserMobProxy proxy; @Before public void…
7cart project
  • 317
  • 1
  • 4
  • 13
0
votes
3 answers

BrowserMob with Selenium (Chrome) not loading the web page

I am trying to configure BrowserMob with sample project to get the Network tab data. But when I run the scripts chrome doesn't loading the site, instead of that showing message saying "There is no internet connection".enter image description…
0
votes
0 answers

BrowserMob not working for a preprod proxy

I'm using Selenium for automation with C#. I'm currently running the automation against production together with BrowserMob to stop third party modals displaying whilst running the automation. This is working perfectly. I now need to target…
Rachel
  • 1
  • 3
0
votes
1 answer

OSError: [Errno 8] Exec format error when trying to start server using browsermobproxy

from browsermobproxy import Server server = Server("path/to/browsermob-proxy") server.start() proxy = server.create_proxy() from selenium import webdriver profile = webdriver.FirefoxProfile() profile.set_proxy(proxy.selenium_proxy()) driver =…
0
votes
0 answers

Use browser-mob proxy with eclipse

I am using Eclipse to develop a test scenario with selenium java and want to capture the har using browser-mob proxy. However the import commands are throwing this error Error The import net.lightbody cannot be resolved code import…
Pradeep
  • 1
  • 5
0
votes
1 answer

Not able to capture canceled requests using browsermobproxy

In my website I am getting canceled requests in network traffic. But I am not able to capture them in browsermobproxy har file. How can I get canceled request in har file.
pramods
  • 1
  • 1
0
votes
1 answer

Browsermob standalone server : Not able to capture HAR : Mobile

I am trying to capture HAR using browsermob standalone server. But, once the server is started and server:port is configured in mobile i am not able to connect to internet. Below is the steps i have followed. Download browsermob from below location…
user2649233
  • 912
  • 4
  • 14
  • 28
0
votes
1 answer

How to install SSL certificated created using little proxy in firefox and safari browser?

i am using browsermob proxy latest version with selenium script i am intercepting http requests and adding custom headers on every request and routing all http and https traffic through browsermob proxy when https request is made in firefox and…