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
2 answers

How do i get headers from Browsermob-proxy?

What i need : Proxy server log file of a session that includes content/text of the traffic/responses. What i have : Working silenium webdriver and browsermobproxy server log (*but without headers!). browsermob-proxy working on…
Moshe
  • 461
  • 1
  • 5
  • 15
0
votes
1 answer

Is it possible to run parallel tests with Browserstack local?

Im using a test setup with BrowserMobProxy. I'm running my test on Browserstack so I have to start Browserstack local otherwise I can't use BrowserMobProxy. The next step is to run my tests in parallel but is this possible because I'm using…
0
votes
0 answers

contents in browsermobproxy is coming as null most of the times while doing addResponseFilter with java

I am using 'net.lightbody.bmp:browsermob-core:2.1.5' 'org.seleniumhq.selenium:selenium-java:3.141.59' In the below code, I am trying to override the response content . While I am using the debugging, it's going inside the if block but because…
asinha
  • 337
  • 1
  • 6
  • 24
0
votes
1 answer

How Do I Reset The Har File Used By Browser-Mob-Proxy Module For Python?

i'm using the browser-mob-proxy module and selenium for python in order to record some things that are sent by a website when you are using it. What I am doing is creating a server using browser-mob-proxy, then creating a proxy for that server. I…
0
votes
0 answers

How to get requests of an Element tag using Selenium

How to get request of a element by using selenium. public void TestFlightSubmit(){ driver.findElement(By.className("primaryBtn font24 latoBlack widgetSearchBtn")); } Is there any way so that I can get request of this element by passing…
0
votes
2 answers

Capture HAR from BrowserStack using webdriverio and browsermob

I am trying to use BrowserMob proxy to capture HAR for tests running on BrowserStack using WebdriverIO I have the following code so far conf/local.conf.js const browserstack = require('browserstack-local'); const Proxy =…
skjindal93
  • 706
  • 1
  • 16
  • 34
0
votes
1 answer

How to increase speed of Browsermob Proxy?

I'm playing with Browsermob Proxy and a simple script with it (below) works extremely slow. I guess, it is the time it takes to start a new server. If this is the case, is there a way to start a server to use it between different script…
Tony Simonovsky
  • 169
  • 1
  • 9
0
votes
0 answers

Using proxies with Selenium WebDriver and chrome

Im writing a selenium-webdriver script in ruby and im trying to figure out how to make the browser window that selenium opens use a proxy with user pass authentication. i.e. (234.43.234:2345:user:pass) so far my code is thus.... def…
Verty00
  • 726
  • 5
  • 16
0
votes
2 answers

Extracting Network Requests via Har file using Selenium, Maven, Browsermob and Browserstack

I'm attempting to test our Analytics using Browsermob in our selenium setup. However when I run the tests, the Har file that I am attempting to create is either not created at all or there is no information within it to parse and display in the…
0
votes
0 answers

SELENIUM - Browser launches in not secure mode while using a proxy and Desired Capabilities

// start the proxy BrowserMobProxy proxy = new BrowserMobProxyServer(); proxy.start(0); // get the Selenium proxy object Proxy seleniumProxy = ClientUtil.createSeleniumProxy(proxy); // configure it as a desired capability …
rarunp04
  • 321
  • 2
  • 9
0
votes
1 answer

BrowserMob Proxy and Webdriverio minimal, empty HAR file

I was wondering if anyone has any idea as to what could be the problem or additional steps I could take in resolving the following issue. I have a requirement to capture the network traffic so I can write some selenium tests verifying certain…
Pan
  • 92
  • 2
  • 9
0
votes
0 answers

Get data from iedriverserver/browsermob-proxy | Python 3 coding

I have made a script to scrap a website for my company. Everything was more or less fine, until I get the information that selenium wasn't made to collect trafic and performance data. That was what made me know about browsermob-proxy. I tried to use…
0
votes
1 answer

Unable to perfrom http basic auth using Browsermob proxy

I am trying to use Browsermob proxy for achieving the basic http authentication across different browsers. But facing issues, tried to search for a solution on Browsermob's GITHUB page but didn't find much help there. Here is my code for the…
0
votes
1 answer

API Data coming in encoded format, how to decode it in java

I'm monitoring network data for my mobile application and while capturing the data I got the response in following format "postData": { "mimeType": "application/json; charset=utf-8", "text":…
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