cynic

Software Screenshot:
cynic
Software Details:
Version: 1.0
Upload Date: 14 Apr 15
Developer: Ruslan Spivak
Distribution Type: Freeware
Downloads: 9

Rating: nan/5 (Total Votes: 0)

These days almost any application has several integration points like database, gateway, payment, or some Web service that it consumes over HTTP.

All communication with the remote systems happens over the network and both networks and those systems often go wonky.

If we do not test the behavior of our system when the remote end operates out of spec and goes haywire the only place for testing becomes in production which is, as we all know, for some systems is less than acceptable.

Because the calls to the remote systems use network, the socket connection can have different failure scenarios, for example:

- The remote end resets the connection by sending a TCP RST packet
- The connection may be established, but the response is never sent back and the connection is not closed (If you don't use socket timeouts in your app you may be in trouble at some point).
- The remote end can send garbage data as the response
- The service can send HTML over HTTP instead of the expected JSON response
- The HTTP service can send one byte of the response data every 30 seconds
- The remote HTTP service sends only headers and no body
- The service can send megabytes of data instead of expected kilobytes
- Etc.

It would be good to be able to test the behavior of our application when some of those conditions happen.

Cynic tries to help with that testing. Basically it's a test harness (test double) that can be used to simulate crafty and devious remote systems right from your command-line.

Cynic will try hard to cause injury to your system.

It's goal is to make your system under test cynical.

Read the formatted docs at http://cynic.readthedocs.org

Installation

 [sudo] pip install cynic

Or the bleeding edge version from the git master branch:

 [sudo] pip install git+https://github.com/rspivak/cynic.git#egg=cynic

Requirements:

  • Python

Similar Software

tcsv2png
tcsv2png

11 May 15

Jensor
Jensor

2 Jun 15

pycdep
pycdep

11 May 15

Schema Crawler
Schema Crawler

3 Jun 15

Other Software of Developer Ruslan Spivak

TinyPie
TinyPie

12 May 15

httpcode
httpcode

14 Apr 15

SlimIt
SlimIt

14 Apr 15

Comments to cynic

Comments not found
Add Comment
Turn on images!