DEV Community

Tushar Patil
Tushar Patil

Posted on

### 🚀 Developer Tool Discovery: Hurl

If you work with REST APIs, you probably know how repetitive it can be to test the same requests manually.

Hurl is an open-source command-line tool that lets you write HTTP requests and their expected results in simple, readable text files. You can chain requests, capture values from responses, and verify that your API behaves as expected.

What makes it worth exploring?

  • Readable tests: Store API requests and assertions in plain-text .hurl files.
  • Request chaining: Capture a token from a login response and use it in the next request.
  • Automated checks: Validate status codes, response headers, JSON values, and request duration.
  • CI/CD integration: Run the same tests locally and in your build pipeline.

Where it fits: Backend development, API testing, QA automation, and CI/CD workflows.

🔗 Official website: https://hurl.dev/

💻 GitHub: https://github.com/Orange-OpenSource/hurl

A useful alternative to consider if you prefer keeping API tests alongside your source code.

How do you usually test your APIs — Postman, curl, or automated tests?

Top comments (0)