httreplay 0.1.9
pip install httreplay
Released:
A HTTP replay library for testing.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Aron Griffis, Dave Peck
- Tags test, unittest, http, https, replay, testing
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Operating System
- Programming Language
- Topic
Project description
JANUARY 2015 :: HTTREPLAY IS NOW END-OF-LIFED. I strongly recommend using vcr.py, which these days has a larger community, a richer feature set, and is better maintained. I will keep HTTReplay on PyPi for now just so that nobody gets caught out. But please do migrate to vcr.py when you have an opporunity. Thanks!
HTTReplay is a Python HTTP (and HTTPS!) replay library for testing.
The library supports the recording and replay of network requests made via httplib, requests >= 1.2.3 (including requests 2.x), and urllib3 >= 0.6.
Here’s a very simple example of how to use it:
import requests from httreplay import replay with replay('/tmp/recording_file.json'): result = requests.get("http://example.com/") # ... issue as many requests as you like ... # ... repeated requests won't hit the network ...
There’s a lot more you can do. Full documentation is available from the httreplay github page.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Aron Griffis, Dave Peck
- Tags test, unittest, http, https, replay, testing
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file httreplay-0.1.9.tar.gz
.
File metadata
- Download URL: httreplay-0.1.9.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4121c00854cd069b0e9e0eb63195b2331010791c5a12e8e8ff7f1ad8d988b143 |
|
MD5 | 3a32adbbaf746f650582e43b4a552ed8 |
|
BLAKE2b-256 | d4c3368c9073e736f3e376c6e0db54459c7bbd432f34a65b14a636fc7f7bfc18 |
File details
Details for the file httreplay-0.1.9.macosx-10.10-x86_64.exe
.
File metadata
- Download URL: httreplay-0.1.9.macosx-10.10-x86_64.exe
- Upload date:
- Size: 74.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 764359a36e84c0c0d35f408853e876af90129d1727ff44fdacacd23eaf9f201e |
|
MD5 | bf0449877715ef2eaadb13419e8b63a4 |
|
BLAKE2b-256 | a07f11660a9187fcdb315848afce6e629a78b914485faf2e1c60a437a807be66 |