Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Client for the TCP Chaos Proxy

Project Description

This is a client for vaurien. It’s a separate project to avoid getting all the dependencies of vaurien when you just want to control it.

It uses the vaurien’s APIs to change the behaviors on the proxy side.

vaurienctl can be used to list the available behaviors, get the current one, or set it.

Here is a quick demo:

$ vaurienctl list-behaviors
delay, error, hang, blackout, dummy

$ vaurienctl set-behavior blackout
Behavior changed to "blackout"

$ vaurienctl get-behavior
blackout

Using the marteau extension

vaurienclient can be plugged into the marteau mechanism, as a fixture. The fixture class lives in vaurienclient.ext.marteau.

Here is how you can make it work with a .marteau.yml file:

lookup:
    - vaurienclient.ext.marteau
fixtures:
    memcache_delay:
        class: VaurienFixture
        arguments:
            server: memcache
            behavior: delay
vaurien-proxies:
    memcache: http://memcache:0123

There are different sections that can be useful here:

  • lookup tells marteau to load the fixtures that are available on vaurienclient.ext.marteau.
  • fixtures is the list of fixtures. you give them the class to Use (here the VaurienFixture class, and some arguments.
  • And then, the last bit is the list of poxies you want to use.
Release History

Release History

This version
History Node

1.1

History Node

1.0

History Node

0.9

History Node

0.8

History Node

0.7

History Node

0.6

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
vaurienclient-1.1.tar.gz (3.6 kB) Copy SHA256 Checksum SHA256 Source Mar 7, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting