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

HAR incomplete when using BrowserMob Proxy in an Extension for Arquillian Drone

I wrote an extension for Arquillian-Drone that is supposed to record the HTTP-Requests of the Test and create a HAR-File for each method. The HAR Files are created ( well most of the time ... it seems to be a bit unstable at the moment), but they…
2
votes
0 answers

Selenium + Browsermob Proxy, cannot capture bodies of some HTTPS responses

I need to capture the body of a response packet sent to my Selenium browser from BrowserMob proxy. BrowserMob is capturing the response body for only some requests (and not for the ones I need to capture) and I can't figure out why. I am using…
deterjan
  • 348
  • 3
  • 16
2
votes
1 answer

Selenium browsermob proxy says "Warning: Potential Security Risk Ahead"

I am running my test case using browsermob proxy.I am running my test case in selenium grid.Using Browsermob proxy i am getting ssl error. When I am running the test on chrome, Chrome shows unsecured massage. For Firefox, it shows Potential Security…
Zakaria Shahed
  • 2,589
  • 6
  • 23
  • 52
2
votes
1 answer

browsermob-proxy+selenium with vpn not working on mac but works on windows

I'm using JMeter with my project jar and trying to open the browser with browsermob-proxy, but it shows ERR_PROXY_CONNECTION_FAILED with my VPN connected on MAC. Error Screenshot proxy = new BrowserMobProxyServer(); …
josh
  • 79
  • 12
2
votes
1 answer

What alternative to Browsermob proxy can I choose?

This tool is almost all good, but there are nuances that I basically do not like in his work. Their discussion can be made here, but now interests me is: what tool can I choose to replace BMP? The requirements are as follows: Ability to work…
2
votes
1 answer

How to know if my Custom HTTP headers are being passed?

So, I have been struggling with passing custom HTTP header for some time now. I am creating a script (Python) to Open a URL with Custom headers like {'Referer': 'https://google.com', 'X-Forwarded-For': '47.29.76.109', 'User-Agent':…
Kartikey Singh
  • 864
  • 10
  • 23
2
votes
0 answers

Browsermob Proxy + Selenium + Ruby setup giving 550 response

So I am looking at trying to integrate Browsermob into a Ruby project so i can edit http responses. I have been following the setup with Selenium instructions from the Github and another article I found about performance testing - which I also want…
2
votes
1 answer

Browsermob Proxy + Watir not capturing traffic continuously

I have the BrowserMob Proxy set up correctly with Watir and it is capturing traffic and saving the HAR file; however, what it's not doing is that it's not capturing the traffic continuously. So following is what I'm trying to achieve: Go to…
KhalDrogo
  • 41
  • 1
  • 1
  • 4
2
votes
1 answer

Get requests body using selenium and proxies

I want to be able to get a body of the specific subrequest using a selenium behind the proxy. Now I'm using python + selenium + chromedriver. With logging I'm able to get each subrequest's headers but not body. My logging…
2
votes
0 answers

Selenium and BrowserMobProxy don't show and set browser referer in Java, how to it

public class Test { public static void main(String[] args) throws Exception{ String driverGoogleChromePath = "D:\\Project Doc\\Jar\\selenium\\chromedriver_win32\\chromedriver.exe"; String refererurl = "http://www.iteye.com/"; …
javaman01
  • 21
  • 2
2
votes
2 answers

Browsermob selenium python - JSONDecodeError

Trying to get HAR files for a bunch of urls using browsermob-proxy with selenium in Python. For the basic implementation, I'm using the sample code from Browsermob documentation. My code below from browsermobproxy import Server import psutil import…
n00bPM
  • 21
  • 2
2
votes
1 answer

JNI-error occuring when trying to start BrowserMobProxyServer in Embedded Mode (Java, Maven)

Hey guys my first post here.. I'm trying to setup Selenium and Browsermob Proxy in Java in Embedded Mode (gotta to say that I never used Maven, Selenium or BrowserMob Proxy before). Following the Github instructions of BrowserMob Proxy I set up a…
2
votes
1 answer

python selenium browsermob-proxy and interceptor

I use python with selenium and browsermob-proxy. When action occurs ( click, submit), I wish to change http request url. I don't understand browsermob-proxy explanation: request_interceptor(js)[source] Executes the java/js code against each…
sodoit g
  • 21
  • 1
  • 5
2
votes
1 answer

Selenium reading XHR response

I am trying to scrape Instagram with selenium using chrome webdriver. I need to get XHR response info and I tried "browsermob-proxy" and that info wasn't enough: server = Server("/home/doruk/Downloads/browsermob-proxy…
2
votes
0 answers

Browsermob doesn't intercept anything with Sauce Labs through Sauce Connect

I'm trying to switch from Browserstack to Sauce Labs (the former spawns a zombie process in docker which hangs up the whole container). And while everything seems to connect and listen to ports, the HAR is null. My setup is straightforward: on the…
1 2
3
13 14