Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Info

This directory contains the browsermob proxy (BMP) study example.

To run,

mvn -Dmaven.test.skip=true -DskipTests=true package install
set DEBUG_SLEEP=120000
set DEBUG=true
set BROWSER=chrome
java -cp target\app-0.4-SNAPSHOT.jar;target\lib\* com.github.sergueik.bmp.App

or run the provided batch file

call test.cmd

Note

The main BMP artifactId is different for 2.0.x and and for 2.1.x versions of the jar. The information in https://github.com/lightbody/browsermob-proxy/releases may not be correct Referencing incorrectly named artifact in the pom.xml would lead to the error

Could not resolve dependencies for project com.mycompany.app:app:jar:1.1-SNAPSHOT:
Failure to find net.lightbody.bmp:browsermob-proxy:jar:2.1.0-beta-5

The profile old_bmp was added to the project pom.xml to allow building against old version:

mvn -Pold_bmp clean package install

The BMP version 2.12 works with Selenium 2.53 but not with Selenim 3.13.0. The BMP version 2.15 works with Selenium 3.13.0, but does not work with Selenium 2.53. Overall the first combination appears more stable then the second. Creation of tags andd branches is a work in progress.

References (in russian)

Author

Serguei Kouzmine