Hurl is a command-line tool for executing HTTP requests and testing API responses, all defined in simple plain text files. You can chain requests, capture values, and assert on response elements like headers or JSON/HTML bodies using expressions such as `jsonpath "$.status" == "RUNNING"` or `HTTP 200`. It's a quick way to script out HTTP interactions and integration tests.
What problem does it solve?
Hurl lets you define, run, and assert on HTTP requests using a simple plain text format.
Who should use it?
Developers, QA engineers, and DevOps professionals needing a fast, scriptable way to interact with and test HTTP APIs should use Hurl.
Setup difficulty:Easy
Pros
Defines HTTP requests and tests in a human-readable plain text format.
Supports chaining multiple requests and capturing values for subsequent use.
Offers assertions on status codes, headers, and body content using XPath/JSONPath.
Cons
Debugging complex request failures might be less visual than with dedicated GUI tools.
Its plain text configuration, while simple, requires learning a specific syntax for advanced use cases.
Hurl is a command line tool that runs HTTP requests defined in a simple plain text format.
It can chain requests, capture values and evaluate queries on headers and body response. Hurl is very
versatile: it can be used for both fetching data and testing HTTP sessions.
Hurl makes it easy to work with HTML content, REST / SOAP / GraphQL APIs, or any other XML / JSON based APIs.