webmetrics / browsermob-proxy

NOTICE: this project has been forked and is being maintained at https://github.com/lightbody/browsermob-proxy
https://github.com/lightbody/browsermob-proxy
Apache License 2.0
234 stars 773 forks source link

URL-specific limits #27

Open acdha opened 12 years ago

acdha commented 12 years ago

When testing apps which rely on external services or AJAX it'd be really useful to be able to set limits for latency or bandwidth using a regex so I could simulate e.g. really slow search results or external JS loading rather than outright failures. From the user's perspective this seems like it should be as simple as PUT /proxy/[port]/limit gaining the same regex support which the white/blacklist interface has.