I’ve released a python stub webserver, described in an earlier blog post, on pypi. The features include support for any method (i.e. PUT, POST, DELETE, GET, RHUBARB …), handles chunked encoding, and supports capturing data passed for later assertions.
Because it’s on pypi, you can install using:-
pip install stubserver
or
easy_install stubserver
The verification model is [...]
For the last few jobs I’ve had, Service Oriented Architecture has been a strong theme. Having services presenting REST apis that consume and produce XML has been the regular approach. When it comes to testing consumers of those services, I have found Python to be an extremely useful and convenient tool. It’s [...]
We wrote an xml_models library, which allowed us to map our models to the XML data, using a declarative style similar to the Django DB models. The library has been open sourced and can be found on