Hurl HTTP Request Runner

Hurl HTTP Request Runner

www.hurl.dev

1

About this website

Hurl is a free and open-source command-line tool that runs HTTP requests defined in a simple plain text format, designed for API testing and data extraction. Created by Fabrice Le Fessant (OCaml expert and co-founder of OCamlPro) and first released in 2020, it is written in Rust and built on top of libcurl. The project provides a simple, fast, and chainable alternative to cURL, HTTPie, and Postman for both interactive use and CI/CD integration. Key features: plain text format: Hurl files use a human-readable syntax for defining HTTP requests. Each request specifies the method, URL, headers, and body. Multiple requests can be chained in a single file with responses captured as variables. HTTP methods: GET, POST, PUT, DELETE, PATCH, HEAD, and OPTIONS. Request body: supports JSON, multipart form data, URL-encoded form data, XML, and raw binary data. Assertions: assert on response status code, headers, and body. Body assertions support JSONPath, XPath, and regex for extracting and validating values. Captures: extract values from responses into variables using JSONPath, XPath, regex, or header name. Variables used in subsequent requests for chaining (e.g., capture auth token from login, use in next request). Reports: generate HTML reports with detailed request and response information. JUnit XML reports for CI/CD. Looping with data from CSV files. Parallel execution for faster test suites. Performance: built on libcurl with multi-threading, handling thousands of requests per second. Windows, macOS, Linux. Rust. Apache-2.0.

Tags & Categories

Categories

Tags

Statistics

1
Views
0
Clicks
0
Like
0
Dislike

Comments

Log In to post a comment

No comments yet. Be the first!