Review requests like code.
Store requests alongside the API they exercise. See what changed in a Git diff and share updates through a pull request, without exporting a collection.
Why Hurli?
Store requests alongside the API they exercise. See what changed in a Git diff and share updates through a pull request, without exporting a collection.
Compose requests with forms and inspect responses in the app. Switch to raw Hurl whenever you need it. Both views work on the same document, so there’s no second format to maintain or syntax to remember.
Run the same Hurl file from your desktop, terminal, or CI pipeline. Keep its assertions and request chains together instead of rewriting them in a separate test tool.
# Log in; keep the session cookie.
POST {{base_url}}/login
[Form]
username: {{username}}
password: {{password}}
HTTP 200
[Captures]
user_id: jsonpath "$.user.id"
# Reuse the ID and the session.
GET {{base_url}}/users/{{user_id}}
HTTP 200
[Asserts]
jsonpath "$.id" == {{user_id}}Chain requests in order, with a shared cookie session during the run. Log in once, then let Hurl carry matching session cookies into the requests that follow.
Capture tokens, IDs, or other values from response bodies and headers. Reuse them as variables in the next request, and add assertions to check each step.
Learn about Hurl captures
Get Hurli for desktop.
Choose an installer for your platform on our downloads page.
Built for macOS, Windows & Linux