httptoolkit/mockttp
View on GitHub ↗ ★ 889 TypeScript
Powerful friendly HTTP mock server & proxy library
10 mentions on Hacker News by 1 person: 1 story, 9 comments · first 2018-02-14 · latest 2023-07-23
20082026
-
…library for easily writing tiny custom HTTP & HTTPS-intercepting proxies that makes it very easy: https://github.com/httptoolkit/mockttp/ . Others have built more specific tooling on top too, like this web page modification proxy:…
comment by pimterry · 2023-07-23 · in Client-side proxies – a better way to individualise the Internet? (2000) -
…substantially different from the spirit of httptoolkit today? Technically, the first iteration was https://github.com/httptoolkit/mockttp - an HTTP integration testing library for JS. Not a desktop app at all! I'd originally built that for…
comment by pimterry · 2023-04-14 · in Ask HN: Side project of more than $2k monthly revenue? what's your project? -
…testing, because all the HTTP-handling internals are usable as a standalone open-source JS library: https://github.com/httptoolkit/mockttp That said, mitmproxy has been around longer, it's definitely more mature, and it was a big…
comment by pimterry · 2021-12-20 · in HTTP Toolkit -
…of HTTP Toolkit, I actually built the internals much earlier as an open-source library (Mockttp: https://github.com/httptoolkit/mockttp ) designed for exactly the end-to-end testing mocking use case you're talking about. It's MIT-licensed,…
comment by pimterry · 2021-12-20 · in HTTP Toolkit -
…all open-source but actually not all AGPL: the core desktop app is, but the internal libraries like https://github.com/httptoolkit/mockttp are generally MIT or Apache 2, so if you're looking to dig into and use those internals, it's pretty…
comment by pimterry · 2019-09-25 · in Show HN: HTTP Mock – Intercept, debug and mock HTTP(S) with zero setup -
…open-source too, so you can use them standalone and automate HTTP & HTTPS with that. Take a look at https://github.com/httptoolkit/mockttp
comment by pimterry · 2019-09-25 · in Show HN: HTTP Mock – Intercept, debug and mock HTTP(S) with zero setup -
…). The standalone internals of HTTP Toolkit OTOH are on GitHub: https://github.com/httptoolkit/mockttp .
comment by pimterry · 2019-09-25 · in Show HN: HTTP Mock – Intercept, debug and mock HTTP(S) with zero setup -
If you're looking for Nock but not just node, try Mockttp: https://github.com/pimterry/mockttp . It lets you create & configure mock HTTP servers for JS testing, but with one API that works out of the box in Node and in browsers. This…
comment by pimterry · 2018-06-14 · in Polly.js – Record, replay, and stub HTTP interactions -
I built one of these myself recently, you might be interested: https://github.com/pimterry/mockttp
comment by pimterry · 2018-05-04 · in Show HN: Interceptor – mock AJAX requests at the browser level -
▲ 3
Show HN: Mockttp – powerful friendly HTTP testing for JSstory by pimterry · 2018-02-14 · 0 comments