Awesome Open Source
Awesome Open Source
Sponsorship

PyPI version RTD badgetBuild Status

Documentation

https://hoverpy.readthedocs.io/

Source

https://github.com/SpectoLabs/hoverpy/

Motivation

HoverPy speeds up and simplifies tests that depend on HTTP / HTTPS services. It does so by recording all HTTP traffic generated by your python application inside a database file.

When you run your code again, it plays back the responses corresponding to your requests. This means during the simulate phase, no HTTP traffic gets generated whatsoever. This grants several benefits:

  • Increased test speed
  • Ability to work offline
  • Ability to modify traffic
  • Ability to simulate network latency
  • Deterministic test environment

If/when the service you are testing against changes its API, then you can simply delete your db file, and capture the test results again. HoverPy uses a very high performance proxy written in Go, for this reason it is rock solid in terms of speed and reliability.

Support

HoverPy works great with the following HTTP clients:

  • requests
  • urllib2
  • urllib3
  • TBD

License

HoverPy uses Apache License V2. See LICENSE.txt for more details.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
python (47,586
obsolete (40

Find Open Source By Browsing 7,000 Topics Across 59 Categories