hurl

Execute Hurl scripts to test HTTP APIs with assertions and captures.

Updated Jul 2, 2024
One-click install
npx skills add https://github.com/jyasuu/cheat-sheet --skill hurl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hurl
Source: https://github.com/jyasuu/cheat-sheet/tree/main/skills/hurl
Command: npx skills add https://github.com/jyasuu/cheat-sheet --skill hurl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Hurl enables teams to define, execute, and validate HTTP API interactions in a single, readable format, reducing manual debugging and regression risk.

Core Features & Use Cases

  • Define HTTP requests, assertions, and captures in .hurl files to automate API testing in CI and local development.
  • Chain requests, apply filters, and reuse variables to create end-to-end API workflows and contract checks.
  • Use cases include API health checks, regression testing, and integration validation across environments.

Quick Start

Run a Hurl file to execute HTTP requests and verify responses.

Frequently Asked Questions about hurl

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate HTTP API testing in CI pipelines?

Automate HTTP API testing in CI pipelines by executing Hurl scripts that define requests, captures, and assertions. This validates API responses across development, staging, and production environments to catch regressions early.

What is the best way to chain HTTP requests and reuse variables for API integration testing?

Chain HTTP requests and reuse variables for API integration testing by defining sequential interactions in a single readable format. You can apply filters, capture values from responses, and pass them as variables into subsequent requests to build end-to-end workflows.

Can I use Hurl scripts for regression testing and API health checks?

You can use Hurl scripts for regression testing and API health checks by defining expected HTTP responses and assertions. Running these scripts validates that web services maintain their contracts and behave correctly over time.

Does hurl support organizing test assets like scripts and references in directories?

Hurl supports organizing test assets by allowing optional resources directories. You can structure scripts, references, and assets within these directories to maintain and scale automated API test suites efficiently.

How do I define assertions and captures for HTTP API responses?

Define assertions and captures for HTTP API responses within .hurl files to validate status codes, headers, and body content. Captures extract specific values from responses to reuse as variables, while asserts verify expected outcomes automatically.