View on GitHub

BrowserMob HTTP REST Client

This repository hosts a browsermob rest client written in Java

Download this project as a .zip file Download this project as a tar.gz file


This class contains convenient methods to perform HTTP requests against the BrowserMob REST API (

How to use it

This section briefly describes how you can use these methods.

With the following code you can initialize a new BrowserMob REST object:

BrowserMobProxy proxy = new BrowserMobProxy("http://localhost", 9090); proxy.setPort(proxy.getPort());

This method is to create a new HAR:

proxy.newHar("newhar", false, true, false)

This method is to retrieve the HAR-entries: