AutomatedTester/browsermob-proxy-py — pull request #7 by dakotasmith (2012-12-13 23:59:43+00:00)
Title: /proxy/:port/hosts and tests.

https://github.com/webmetrics/browsermob-proxy#rest-api describes an API for overriding DNS. Though the API is described in the browsermob-proxy documentation, [it wasn't in browsermob-proxy beta 6](https://groups.google.com/forum/?fromgroups=#!topic/browsermob-proxy/-yTDP_gaflo).

To use this before an official browsermob-proxy beta 7, you will have to build browsermob-proxy:

git clone https://github.com/webmetrics/browsermob-proxy
mvn -Prelease install

Then look for the zip file in the /target subdir.

If browsermob-proxy throws IllegalAccessErrors when requesting mapped hosts, this provides a workaround:

https://github.com/webmetrics/browsermob-proxy/pull/74

Thanks for all your work on browsermob-proxy-py.