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

requests are not captured on Nougat and above using browserMobProxy

I am using BrowserMobProxy for analytics testing of android native app, I am able to generate .har file and track all desired requests on android version 6.x and below but on 7.x (Nougat) or above .har file getting generated but no requests being…
Vikas
  • 11
  • 4
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
  • 101
  • 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
  • 1,436
  • 3
  • 19
  • 39
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
  • 7,561
  • 3
  • 14
  • 29
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
  • 34,021
  • 64
  • 178
  • 371
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
  • 34,021
  • 64
  • 178
  • 371
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
  • 1
  • 10
0
votes
1 answer

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
  • 187
  • 3
  • 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
  • 2
0
votes
1 answer

Incomplete HAR list using Python: Browsermobproxy, selenium, phantomJS

Fairly new to python, I learn by doing, so I thought I'd give this project a shot. Trying to create a script which finds the google analytics request for a certain website parses the request payload and does something with it. Here are the…
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
  • 4
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