ob-http
katt
Our great sponsors
ob-http | katt | |
---|---|---|
2 | 3 | |
251 | 117 | |
- | 0.0% | |
0.0 | 0.6 | |
12 months ago | 12 months ago | |
Emacs Lisp | Erlang | |
GNU General Public License v3.0 only | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ob-http
- Hurl, run and test HTTP requests with plain text
-
using Emacs org-mode as rest client replacement
I think this is achieved via ob-http [1]. I wasn't aware of this babel extension; I've been using verb-mode instead [2]. I love verb, but after watching this video I am now thinking that a results block may be superior (in most cases) to an external buffer... particularly when you are documenting examples for an API.
katt
-
Beyond OpenAPI
What this misses is the curl response format.
Long time ago at Klarna we used this tool: https://github.com/for-GET/katt Here's an example: https://github.com/for-GET/katt/blob/master/doc/example-http...
- KATT (Klarna API Testing Tool) Is an HTTP-Based API Testing Tool for Erlang
-
Hurl, run and test HTTP requests with plain text
https://github.com/for-GET/katt is the same concept, but following the pattern matching philosophy. Written in Erlang, available as a CLI tool as well but needs the erlang runtime installed.
Code example: https://github.com/for-GET/katt/blob/master/doc/example-http...
Disclaimer: I'm one of the authors, thus biased, but the reason I'm mentioning katt is that the low barrier of entry for captures and asserts makes it a nice requirement tool for non-techs to write complex API scenarios.
What are some alternatives?
verb - Organize and send HTTP requests from Emacs
ponos - ponos is a simple yet powerful load generator written in erlang
emacs-request - Request.el -- Easy HTTP request for Emacs Lisp
test_that_json - JSON-related helpers for your Elixir testing needs
ob-async - Asynchronous src_block execution for org-babel
proper - PropEr: a QuickCheck-inspired property-based testing tool for Erlang
museo - Snapshot testing for Rails views
mix_erlang_tasks - Common tasks for Erlang projects that use Mix
plz.el - An HTTP library for Emacs
hound - Elixir library for writing integration tests and browser automation
walkman - Write HTTP requests in Org mode and replay them at will using cURL
bypass - Bypass provides a quick way to create a custom plug that can be put in place instead of an actual HTTP server to return prebaked responses to client requests.