Hacker GitHub

← All repos

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

Mentions per year 10 mentions · busiest year 2018 (3)
20082026
  1. …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:…
  2. …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…
  3. …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
  4. …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
  5. …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…
  6. …open-source too, so you can use them standalone and automate HTTP & HTTPS with that. Take a look at https://github.com/httptoolkit/mockttp
  7. …). The standalone internals of HTTP Toolkit OTOH are on GitHub: https://github.com/httptoolkit/mockttp .
  8. 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…
  9. I built one of these myself recently, you might be interested: https://github.com/pimterry/mockttp
  10. ▲ 3
    Show HN: Mockttp – powerful friendly HTTP testing for JS
    story by pimterry · 2018-02-14 · 0 comments