Questions tagged [browsermob]

BrowserMob Proxy is a simple utility that makes it easy to capture performance data from browsers.

BrowserMob Proxy uses web automation utilities like Selenium to capture performance data in the HAR format. It can be integrated in a Java application or interacted through the REST interface.

It addition it also can actually control HTTP traffic, such as:

  • blacklisting and whitelisting certain URL patterns
  • simulating various bandwidth and latency
  • remapping DNS lookups
  • flushing DNS caching
  • controlling DNS and request timeouts
  • automatic BASIC authorization
127 questions
0
votes
1 answer

Capturing click har before new page with Selenium 2 and Browsermob

I have this automation tool I've built with Selenium 2 and Browsermob proxy that works quite well for most of what I need. However, I've run into a snag on capturing network traffic. I basically want to capture the har that a click provides before…
sroskelley
  • 305
  • 3
  • 16
0
votes
2 answers

Browsermob: how to accept https traffic

I use browsermob-proxy-2.1.0-beta-4-bin, and when I create an instance, I can view only HTTP-based sites. Is there any way to view HTTPS-sites?
N. Kuznetsov
  • 45
  • 2
  • 6
0
votes
1 answer

BrowserMob Proxy warning and exception java.io.IOException: Connection reset by peer

I am using the BrowserMob Proxy Interface version 2.1.0-beta-3 (latest) with RemoteWebDriver and am seeing the following Warning/Exceptions regularly when I run it. It seems like the remote end stopped/crashed/closed connection while the driver was…
Programmer
  • 165
  • 2
  • 15
0
votes
2 answers

Is broswermobproxy support mobile app

I am writing automation test for mobileweb and mobileapp. For mobileweb, I am using browsermob proxy to capture the networks responses from the browser. https://github.com/lightbody/browsermob-proxy Mobileweb code:- I want to start the proxy for…
Galet
  • 4,039
  • 12
  • 62
  • 119
0
votes
1 answer

Is there a way to read a har log using BMP

I am using BMP to generate har logs using BMP. Now I want to read the log file using BMP . Is this possible or I will have to use another api such as HarLib
Amrit
  • 413
  • 3
  • 16
0
votes
1 answer

How to add custom cookies in browsermob proxy on java

I am writing automation test and to capture the network call made in background, I am using browsermob-proxy. In browsermob-proxy, I want to set cookie before making requests. How can i do it? Below is my code:- String strFilePath = "data.har"; …
Galet
  • 4,039
  • 12
  • 62
  • 119
0
votes
1 answer

How to change browsermob-proxy logging when using the Embedded Mode with Maven?

I have browsermob-proxy included in my pom.xml: net.lightbody.bmp browsermob-proxy 2.0.0
divii
  • 3
  • 2
0
votes
2 answers

Browsermob proxy - is there a way to add custom cookies via REST API?

I'm looking for a way to add 2 custom cookies to every http request. The browsermob proxy (https://github.com/lightbody/browsermob-proxy) has removeHeaders() and addHeader() methods, but what can I do to keep existing cookies in request, but add 2…
0
votes
2 answers

Browsermob is not working with selenium webdriver

public class Test_One { public static void main(String[] args) throws Exception { ProxyServer server = new ProxyServer(8105); server.start(); server.setCaptureHeaders(true); server.setCaptureContent(true); …
Ann
  • 1
  • 3
0
votes
2 answers

Pass custom header using browsermob proxy

Am using the following link:- https://github.com/jarib/browsermob-proxy-rb I have tried this to pass custom header require 'selenium/webdriver' require 'browsermob/proxy' server =…
Galet
  • 4,039
  • 12
  • 62
  • 119
0
votes
3 answers

BrowserMob Proxy - The remote server returned an error: (404) Not Found

I'm trying to use BrowserMob Proxy with Selenium in C#. I've tried this solution here: http://www.adathedev.co.uk/2012/02/automating-web-performance-stats.html And my code looks like this: Server server = new…
Archpoet
  • 55
  • 1
  • 6
0
votes
1 answer

Attempting to use BrowserMobProxy with Selenium, getting permission denied error

Here is the stacktrace: Traceback (most recent call last): File "facebook_scraper.py", line 185, in fb_scraper() File "facebook_scraper.py", line 36, in fb_scraper server.start() File…
Lawrence DeSouza
  • 864
  • 5
  • 14
  • 31
0
votes
1 answer

Capture HTTP Requests using robotframework

I am trying the automate the HTTP Requests like Google Analytics tracking made by an input url using robot framework. I found that capture webdriver with browser mob proxy may be helpful but I am not sure on the exact steps to be followed. Can…
Yam
  • 1
  • 2
0
votes
1 answer

Error:10061, 'No connection could be made' Browsermob-proxy

I am using the browsermob-proxy to capture traffic from selenium tests. I was making the requests from inside of the robotframework and occasionally got the issue: Connection aborted: Error10061, No connection could be made because the target…
Zenon Buratta
  • 190
  • 1
  • 2
  • 12
0
votes
2 answers

What do I do with HAR information

I am trying to collect network traffic data, I have setup a proof of concept, prior to integrating this with our test framework. I can get the har data, and it is coming back as a dictionary, Not really sure what to do with it after that? I assume I…
DarthOpto
  • 1,449
  • 5
  • 27
  • 52
1 2 3
8
9