qmetrics.net

Hurl

Plain-text HTTP requests and response tests via CLI

Hurl screenshot

Hurl runs HTTP scenarios written in a readable text format and can assert on status, headers, and body content. It chains calls, captures values, and reports results for CI pipelines.

Overview

Hurl is a command-line client that executes HTTP requests described in plain text files rather than imperative scripts. Each file can list multiple requests in sequence, pass captured fields into later calls, and optionally assert on the responses that come back.

The format supports REST and GraphQL JSON bodies, HTML and XML payloads, multipart and form posts, basic and AWS SigV4 authentication, cookies, proxies, and many curl-compatible options. Queries use XPath, JSONPath, and predicates on headers, status codes, timing, certificates, and binary hashes.

Under the hood the tool is a single Rust binary that delegates transfer work to libcurl, including IPv6 and HTTP/3 capabilities. In default mode it behaves like curl and prints the last response body; a test mode runs assertions and exits with status suited to automation.

JUnit, TAP, HTML, and JSON reports help wire the runner into continuous integration, and directories of .hurl files can be executed recursively for suite-style runs.

Key features

  • Plain-text .hurl request files
  • Request chaining and response captures
  • JSONPath, XPath, and header asserts
  • GraphQL, SOAP, and form submissions
  • JUnit, TAP, HTML, and JSON reports
  • Single static binary powered by libcurl
  • Polling, retry, and performance asserts
  • curl-compatible CLI options

Use cases

  • Integration testing REST and GraphQL APIs
  • Smoke testing HTML or SOAP endpoints
  • Reproducing multi-step login flows
  • CI gates with JUnit or TAP output
  • Scripted data fetch with assertions

Tags

Similar software

axios

Promise-based HTTP client for browser and Node.js

Axios is a promise-based HTTP client for JavaScript environments in the browser and Node.js. It supports common request methods, configurable defaults, and interceptors for request and response handling.

★ 109.5k⟳ 2 days agoMIT

FastAPI

Python web framework for building APIs with type hints

FastAPI is a Python web framework for building APIs using standard type hints. It builds on Starlette and Pydantic and generates interactive OpenAPI documentation for the endpoints you define.

★ 105.1k⟳ 9 days agoMIT

OmniRoute

OpenAI-compatible AI gateway with provider routing

OmniRoute exposes one endpoint that routes chat requests across many LLM providers with quota-aware fallback and compression.

★ 90.7k⟳ todayMIT

Hoppscotch

Web, desktop and CLI API development ecosystem

Hoppscotch lets developers send HTTP, WebSocket, GraphQL, and related API requests from a lightweight client. Collections, environments, teams, and sync help organize testing across devices.

★ 81k⟳ 5 days agoMIT
Open Source Alternative to:Postman

NestJS

Progressive TypeScript framework for Node.js backends

Nest organizes Node server apps with modules, dependency injection, and first-party packages for auth, data, queues, and observability.

★ 77.2k⟳ todayMIT

JSON Server

Zero-code mock REST API from JSON data files

JSON Server turns a JSON or JSON5 database file into a REST API for local prototyping. It supports filtering, sorting, pagination, embedding relations, and static assets.

★ 75.7k⟳ 8 months agoMIT