BrowserMob proxy plugin for py.test
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
testing
.gitignore
.travis.yml
README.md
pytest_browsermob_proxy.py
setup.py

README.md

pytest_browsermob_proxy

pytest_browsermob_proxy is a plugin for py.test that provides support for running BrowserMob Proxy.

Requires:

  • py.test
  • browsermob-proxy

Installation

$ python setup.py install

Usage

For full usage details run the following command:

$ py.test --help

browsermob proxy:
  --bmp-path=path     location of browsermob proxy.
  --bmp-host=str      host that browsermob proxy will be running on. (default: localhost)
  --bmp-port=int      port that browsermob proxy will be running on. (default: 8080)
  --bmp-headers=str   json string of additional headers to set on each request.
  --bmp-domain=str    domain for browsermob proxy automatic basic authentication.
  --bmp-username=str  username for browsermob proxy automatic basic authentication.
  --bmp-password=str  password for browsermob proxy automatic basic authentication.