HTTPretty

HTTP client mock

Intercepts and mocks HTTP requests at the Python socket level

Intercept HTTP requests at the Python socket level. Fakes the whole socket module

GitHub

2k stars
44 watching
275 forks
Language: Python
last commit: 5 months ago
Linked from 1 awesome list

decoratorsfakewebhttphttprettymockmockingpythonpython2streaming-responsetddtestingtesting-tools

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
internations/http-mock Allows mocking of HTTP requests in unit tests to enable integration testing with the HTTP side. 391
patrys/httmock A mocking library for HTTP requests in Python 468
richardszalay/mockhttp A testing layer for the HttpClient library that allows stubbed responses to be configured using a fluent API 1,626
tv42/mockhttp Provides an HTTP mock object for unit testing Go web applications 23
driftrock/mockingbird Assists with creating testable HTTP clients by providing an alternative implementation of HTTP requests 3
alexliesenfeld/httpmock A library that enables developers to mock HTTP responses and test their applications in isolation. 486
pnuckowski/aioresponses A tool to mock and test asynchronous HTTP requests in Python applications 517
pspdfkit-labs/bypass A tool to create custom HTTP responses without setting up an actual server 971
mockyabstract/mocky An online service that allows users to generate custom HTTP responses for testing and development purposes. 2,056
marmelab/fakerest A tool for intercepting and mocking HTTP requests in the browser to test REST APIs without a server. 439
deedy5/primp A Python HTTP client that can mimic browser behavior 85
maxkagamine/moq.contrib.httpclient A set of extension methods for mocking HTTP client requests and responses with Moq. 188
danielgtaylor/apisprout A lightweight mock API server for testing and development 699
henvic/httpretty Prints HTTP requests in a human-readable format on the terminal 400
xnbox/deepfakehttp A web server that generates mock responses based on HTTP dumps. 513