- Home
- Skills
- Testing & Debugging
- HTTP Request Runner
Works with the AI Agents you already use
HTTP Request Runner
Run VS Code and JetBrains .http files as CLI-based API tests with response chaining and assertions.
$1
HTTP Request Runner
Example session with this skill installed
Run the requests in auth.http using the production environment and verify that the login flow returns a 200 status and a valid token. Output the results to junit.xml.
- Read your context and instructions
- Compiled the http request runner
I have executed the HTTP requests defined in auth.http using the production environment configuration. The execution included variable resolution for the base URL and credential injection from your private environment file.
Execution Results
| Request Name | Method | URL | Status | Duration | Result |
|---|---|---|---|---|---|
| login | POST | https://api.acme.com/v1/auth/login | 200 OK | 142ms | PASS |
| get_profile | GET | https://api.acme.com/v1/user/me | 200 OK | 89ms | PASS |
| refresh_token | POST | https://api.acme.com/v1/auth/refresh | 200 OK | 115ms | PASS |
Assertion Logs
login:# @assert status == 200... OKlogin:# @assert body.token exists... OKget_profile:# @assert body.email matches ^.+@... OKget_profile:# @assert time under 500... OK (89ms)
CI Artifacts Generated:
- JUnit XML:
junit.xml(3 tests, 0 failures)
Next steps
- Review
junit.xmlfor integration with your CI dashboard. - Update
auth.httpto include the new logout endpoint for complete lifecycle coverage. - Add a timeout assertion to the
refresh_tokenrequest to monitor latency.
Connects securely to your tools. The creator never sees your data.
About this skill
API testing often requires heavy tools like Postman or custom scripts that drift from local documentation. This skill executes standard .http files (VS Code REST Client format) directly from the command line, turning existing request files into an automated test suite.
What it does
- Execute .http files by parsing and running requests exactly as documented in your repository.
- Environment management with support for
http-client.env.jsonand private secret files. - Dynamic variables using built-in helpers for UUIDs, timestamps, random integers, and
.envvariables. - Response chaining to pass data between requests, such as capturing a login token to use in subsequent headers.
- Declarative assertions written as comments to validate status codes, body content, headers, and response times.
- CI integration through JUnit XML reporting and specific request filtering.
How it works
- Identify the target by specifying the
.httpfile and optional environment name. - Resolve variables from the global scope, environment files, or previous request responses.
- Execute requests sequentially, applying timeouts and headers as defined in the source file.
- Evaluate assertions against the live response data and performance metrics.
- Generate reports including console output with timings or XML files for CI dashboards.
Frameworks & tools
Python 3, VS Code REST Client format, JetBrains HTTP Client format, JSONPath, and JUnit XML.
Why this beats prompting it yourself
Writing custom scripts for API chaining is error-prone and tedious. This skill provides a consistent parser that handles complex variable resolution and response body traversal without manual boilerplate.
Use cases
- Smoke testing new deployments using existing developer request files.
- CI/CD gates that fail builds if API assertions like
time under 500are not met. - Local debugging of authenticated flows by chaining login and data requests.
Known limitations
Requires Python 3 environment. Does not support complex JavaScript-based pre-request scripts or GUI-based visual testing.
Requires Python 3. Focuses on standard .http format; does not support Postman-specific JavaScript sandboxes or custom crypto libraries for request signing.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 month ago