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 [...]
I wrote recently about improving the way I usually create a stub web server for testing my applications that call out to external web services. This is a particularly common occurrence where I work (Point2) because we have separated out our core services which are interacted with through REST apis. As I’ve mentioned [...]
Why do you write Python? Because it’s [...]
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