No activity today, make something!
cdent-rhat GabbiResponseHandlerHacks

20150422115909 cdent  

An overnight idea:

It ought to be possible to use response handlers to hack in various bits of functionality that are not really desirable in in the core of gabbi. The way the handlers work you don't actually have to test something in them. The syntax would be ugly enough so it was clear they were hacks too. For example you could:

tests:
    - name: sleep after response
      url: /
      response_sleep:
          - 10

That would sleep for ten seconds after that request.

Or

defaults:
    response_wait:
        key: ' '
    response_log:
        file: /tmp/foobar

And then all the requests and responses could be logged to a file with a wait for a hit of the spacebar.

Which might be handy in demos.