Capture production HTTP traffic and auto-generate integration tests.
Project description
httrace
Capture real production HTTP traffic and automatically generate integration tests.
Install
pip install httrace
Quick start
from httrace import HttraceCaptureMiddleware
app.add_middleware(
HttraceCaptureMiddleware,
api_key="ht_...",
service="my-api",
)
Then generate tests:
httrace generate
Full documentation: httrace.com/docs
Project details
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
httrace-0.1.0.tar.gz
(10.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
httrace-0.1.0-py3-none-any.whl
(10.5 kB
view details)
File details
Details for the file httrace-0.1.0.tar.gz.
File metadata
- Download URL: httrace-0.1.0.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.5 cpython/3.11.6 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c0b09b40475789734ad192cd23f678ea1d7a1d6814a47f2008ab793164b3b26
|
|
| MD5 |
c10ec5fd7d7ac48880c661eff0b38b9c
|
|
| BLAKE2b-256 |
74381b5d00cdec6a4d4e4251abcc0d1d6e53abe338e0c4e9cf58c9bd22d4a92b
|
File details
Details for the file httrace-0.1.0-py3-none-any.whl.
File metadata
- Download URL: httrace-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.5 cpython/3.11.6 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac9c693d7ba3107e9e06b1559a134a8d6a8aa17978213ec8a278c90093b338c1
|
|
| MD5 |
8418ba004bbdd1ab9381a31ae42d0d94
|
|
| BLAKE2b-256 |
b9f20f1d33c4243d637a2e7f8d8a3daad9b8a8a4805ed1fef9cbccc178874f6f
|