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
276 forks
Language: Python
last commit: 7 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 467
richardszalay/mockhttp A testing layer for the HttpClient library that allows stubbed responses to be configured using a fluent API 1,639
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. 491
pnuckowski/aioresponses A tool to mock and test asynchronous HTTP requests in Python applications 519
pspdfkit-labs/bypass A tool to create custom HTTP responses without setting up an actual server 972
mockyabstract/mocky An online service that allows users to generate custom HTTP responses for testing and development purposes. 2,068
marmelab/fakerest A tool for intercepting and mocking HTTP requests in the browser to test REST APIs without a server. 440
deedy5/primp An HTTP client library that allows users to impersonate web browsers in their applications. 111
maxkagamine/moq.contrib.httpclient A set of extension methods for mocking HTTP client requests and responses with Moq. 190
danielgtaylor/apisprout A lightweight mock API server for testing and development 703
henvic/httpretty Prints HTTP requests in a human-readable format on the terminal 402
xnbox/deepfakehttp A web server that generates mock responses based on HTTP dumps. 515