Hurl Open-source text-file HTTP client and command-line regression-testing tool.
Overview Hurl is an open-source command-line HTTP client and testing tool. Plain-text files describe requests, response checks and captured values, allowing a sequence such as authentication followed by API calls to be expressed as a reusable test artifact.[2]
Contents Requests and assertions Built on libcurl, Hurl supports request chaining and checks against response status, headers and bodies. JSONPath and XPath queries help validate JSON, XML or HTML, while the documented examples include REST, SOAP and GraphQL requests. Test files remain readable text suitable for review with application code, rather than a proprietary binary project format.[2]
Execution order and test mode Normal client mode prints response bodies, while test mode provides test-oriented summaries. Assertions still run without test mode unless explicitly disabled. In test mode, files run concurrently by default, but requests within each file remain sequential. Separate test files therefore should not rely on a particular inter-file order or shared session state; limiting parallel jobs is an explicit execution choice.[3]
Automation and diagnostic output Hurl supports HTML, JSON, JUnit and TAP reporting and distinguishes command-line parsing, input syntax, runtime and assertion errors with different exit codes. Report generation can retain request definitions and responses, so test output needs appropriate handling. The manual provides named secrets that are redacted in logs and reports; this does not automatically identify every sensitive value that a response might contain.[2] [3] [4]
HTTP testing versus browser testing Hurl works at the HTTP layer rather than rendering a browser page. Its security-testing tutorial uses that distinction to test server-side validation without browser input constraints and to inspect the actual HTML response rather than a JavaScript-modified DOM. This is useful for protocol-level checks, but cannot establish that an interactive page renders correctly or that browser-side behavior works.[5]
Platforms and license The project uses Apache License 2.0. Its repository documents Linux, macOS, Windows and FreeBSD installation routes, alongside package-manager and container options. Windows installations require the Visual C++ runtime separately, and source builds have native-library dependencies. Availability of a compiled executable does not imply identical packaging requirements on every operating system.[1] [2]
Substitution assessment Hurl can substitute for SoapUI Open Source for supported HTTP request sequences and response assertions, particularly in text-based command-line regression checks. It is not a replacement for SoapUI's graphical WSDL-oriented project construction or mock-service workflow. Existing tests need to be rewritten into Hurl files and their ordering assumptions checked. No requests or load tests were executed for this assessment.[2] [3] [6]
Hurl can substitute for Apache JMeter for HTTP request sequences and response assertions used in regression checks. Plain-text test files and command-line reports may suit a team that wants to review API checks alongside application code without a graphical plan editor. This is limited to the HTTP-testing task, rather than JMeter’s wider sampler ecosystem or distributed load plans. Recreate requests, captures and assertions in Hurl and check file-level concurrency and session assumptions before comparing results.[3] [7] [8]
Also included: 4 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.