Favicon of hurl

hurl

Command-line tool for running HTTP requests, testing APIs, and automating integration tests with simple text syntax. Supports REST, GraphQL, SOAP, and more.

Hurl is a command-line tool that executes HTTP requests defined in straightforward plain text format. It enables developers to chain requests, capture response values, and validate headers and body content with powerful query capabilities.

The tool works with HTML content, REST/SOAP/GraphQL APIs, and any XML/JSON-based services. Whether you're fetching data or running comprehensive HTTP test suites, Hurl provides a lightweight, efficient solution.

Key capabilities include:

  • Request chaining - Execute multiple requests in sequence with captured values flowing between them
  • Response assertions - Validate status codes, headers, body content using XPath, JSONPath, and regex patterns
  • Multiple API types - Native support for REST, GraphQL, SOAP, and standard HTTP/XML/JSON APIs
  • Form and file handling - Submit form data, multipart uploads, and binary files
  • Authentication - Built-in BasicAuth, cookies, and custom headers
  • Performance testing - Measure response duration and validate speed requirements
  • Retry logic - Automatic retry with configurable intervals for polling operations
  • CI/CD integration - Generate text, JUnit, TAP, and HTML reports for pipeline automation

Written in Rust and powered by libcurl, Hurl delivers fast execution, IPv6 support, and HTTP/3 compatibility. The single binary installation requires no runtime dependencies, making it ideal for both local development and continuous integration environments.

Features

Scriptable

Media

Pros

5
  • Runs HTTP requests defined in plain text
  • Tests HTTP sessions and fetches data
  • Supports chaining requests and capturing values
  • Handles various API types like REST, SOAP, GraphQL
  • Works with JSON, XML, HTML, CSV, and form data

Related tools

Share:

Auto-fetched .

Recent releases

Similar to hurl

Favicon

 

  
 
Favicon

 

  
 
Favicon