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
1
vote
0 answers

BrowserMob Proxy is not opening 2nd page in chrome (Internet connection goes off after landing to 2nd page)

I'm running Windows 10 virtual machine on ubuntu, and on VM I have following versions :- Eclipse neon, Selenium Webdriver 3.0.1, Mozilla Firefox 51.0.1, Google Chrome 55, geckoDriver v0.11.1, Chromedriver v2.27, BrowserMob Proxy jar 2.1.4,…
1
vote
1 answer

watir webdriver browsermob/proxy har file almost empty

Hello I want to catch all redirects when they happend. Lets say first it goes to example.com then it redirect to example1.com and after that example3.com I'm using watir webdriver and browsermob/proxy. I tried with google.com, that doesnt redirect,…
user1405338
  • 179
  • 1
  • 5
  • 14
1
vote
0 answers

Automating capture network traffic through browser mob proxy in Appium

I am having trouble getting Browsermob proxy to capture network traffic. I am using Appium to write tests in android app. I want to use Browser mob proxy to capture and verify network calls. Browser mob proxy is being started at port 19536. I am…
Aqua267
  • 873
  • 3
  • 12
  • 35
1
vote
1 answer

Can't capture HAR Request and Response using BrowserMob-Proxy(PhantomJS)

I am unable to capture request and response using browsermob(selenium+PhantomJS browser) please refer the sample code server = new BrowserMobProxyServer(); server.start(0); server.newHar("contracts"); Capabilities: DesiredCapabilities capabilities…
sailaja.p
  • 206
  • 2
  • 8
1
vote
1 answer

Cannot open https site in IE when user BrowserMob proxy with Selenium

Cannot open https page in IE11 with browserMob and selenium. Getting error "There is a problem with this website security certificate". In Chrome it works although there is a warning in details of SSL certificate "This certificate cannot be…
1
vote
1 answer

Browsermob HTTPS requests with Auth Headers

I'm trying to use Browsermob proxy to capture information about requests. Have it working for HTTP requests and HTTPS requests that don't have an authorization header. if(product == 'Product'): headers = { 'Authorization':…
supakadoo
  • 53
  • 5
1
vote
2 answers

Browsermob proxy how to make it work with selenium grid? [java]

What I have in my code: public BrowserMobProxy getProxy() throws UnknownHostException { if (proxy == null) { proxy = new BrowserMobProxyServer(); proxy.start(0); } return proxy; seleniumProxy =…
nvldk
  • 125
  • 2
  • 14
1
vote
1 answer

get Har data in json and string format

I have written a class for getting the har data from the firefox browser. I want to get the har data in JSON format to show properly. My Code : ProxyServer server = new ProxyServer(4444); server.start(); //captures the moouse movements and…
Abhishek Tripathi
  • 1,211
  • 2
  • 15
  • 30
1
vote
1 answer

Capture HTTP request headers / parameters using BrowserMob Proxy and selenium web driver using perl client

I'm trying to capture http request parameters using Selenium::Remote::Driverand Browsermob::Proxy. The pseudo code is as below. I couldn't get the http headers. Any help would be appreciated. use Selenium::Remote::Driver; use Data::Dumper; my…
Patta
  • 11
  • 3
1
vote
1 answer

Browsermob proxy stops capturing on url change?

I'm using browsermob proxy in order to capture traffic with webdrirver(chrome mostly). Here is the problem that I have: As long as I use single page everything is ok ,however when URL changes(due to navigating to other page or redirect), proxy is no…
1
vote
1 answer

Unable to Fetch Network Traffic Logs via BrowserMob Proxy with Selenium Webdriver

I am not able to Fetch Network Logs using Browsermob Proxy when set Http proxy , it will just create a har file but i am not able to see any logs inside the file Below is my Code :- String strFilePath = "./PerformanceLogs/PerformanceLogs.har"; …
Sumanth N
  • 11
  • 2
1
vote
1 answer

Selenium + browsermob-proxy: creating new HAR on redirected pages

I've got a next use case for combination of Selenium and browsermob-proxy: for initial page access new Har is created initial request can be redirected (multiple times) and then redirected again by JavaScript E.g. Page A ---> 302 redirect…
d3rzKy
  • 142
  • 2
  • 9
1
vote
1 answer

har file issue browsermob-proxy with webdriverio

I was trying to use browsermob-proxy using this and this with webdriverio. It runs fine , but theres no har file generated. I tried changing the below line fs.writeFileSync('stuff.har', data, 'utf8'); to fs.writeFile('/Users/abc/xyz/stuff.har',…
user1207289
  • 3,060
  • 6
  • 30
  • 66
1
vote
1 answer

TooLongFrameException happen when use Selenium with BrowserMob

I am use Selenium with BrowserMob to perform the testing, I use requestfilter and responsefilter to modify the request header and response contents just like this: public void proxySettings(){ proxy.addResponseFilter((response, contents,…
Jerry
  • 13
  • 4
1
vote
0 answers

Unable to find proxy server in firefox using browsermobproxy on saucelabs

I am trying to run a test using browsermobproxy on saucelabs. But I am unable to run it. I am getting error as "Unable to find proxy server" in firefox browser. I follow this for sauce…
Galet
  • 5,853
  • 21
  • 82
  • 148