{"id":50744235,"url":"https://github.com/iamarunbrahma/http-smoke-runner","last_synced_at":"2026-06-10T19:01:52.812Z","repository":{"id":353709846,"uuid":"1220421151","full_name":"iamarunbrahma/http-smoke-runner","owner":"iamarunbrahma","description":"Turn your .http files into runnable smoke tests, right inside VS Code.","archived":false,"fork":false,"pushed_at":"2026-05-04T07:45:14.000Z","size":1700,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-04T09:34:23.834Z","etag":null,"topics":["api-client","api-testing","http","http-testing","rest-client","smoke-test","typescript","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=arunbrahma.http-smoke-runner","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iamarunbrahma.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-24T22:09:24.000Z","updated_at":"2026-05-04T07:45:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/iamarunbrahma/http-smoke-runner","commit_stats":null,"previous_names":["iamarunbrahma/http-smoke-runner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iamarunbrahma/http-smoke-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamarunbrahma%2Fhttp-smoke-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamarunbrahma%2Fhttp-smoke-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamarunbrahma%2Fhttp-smoke-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamarunbrahma%2Fhttp-smoke-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamarunbrahma","download_url":"https://codeload.github.com/iamarunbrahma/http-smoke-runner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamarunbrahma%2Fhttp-smoke-runner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34165482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","api-testing","http","http-testing","rest-client","smoke-test","typescript","vscode-extension"],"created_at":"2026-06-10T19:01:51.996Z","updated_at":"2026-06-10T19:01:52.807Z","avatar_url":"https://github.com/iamarunbrahma.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTP Smoke Runner\n\n**Turn your `.http` files into runnable smoke tests, right inside VS Code.**\n\n[![Marketplace Version](https://img.shields.io/github/package-json/v/iamarunbrahma/http-smoke-runner?logo=visualstudiocode\u0026label=Marketplace\u0026color=007ACC)](https://marketplace.visualstudio.com/items?itemName=arunbrahma.http-smoke-runner)\n[![VS Code](https://img.shields.io/badge/VS%20Code-%5E1.90.0-007ACC?logo=visualstudiocode\u0026logoColor=white)](https://code.visualstudio.com/)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.6-3178C6?logo=typescript\u0026logoColor=white)](https://www.typescriptlang.org/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green)](./LICENSE)\n[![GitHub Stars](https://img.shields.io/github/stars/iamarunbrahma/http-smoke-runner?logo=github\u0026label=Stars)](https://github.com/iamarunbrahma/http-smoke-runner)\n\n\u003e Run `.http` and `.rest` files like smoke tests with pass/fail, latency, and jump-to-failure, directly in VS Code's Testing panel.\n\n![HTTP Smoke Runner in action: Testing tree, CodeLens, failing-test transcript, and status bar summary](https://raw.githubusercontent.com/iamarunbrahma/http-smoke-runner/main/media/screenshots/hero.png)\n\n## Why\n\nDevelopers already keep API requests in `.http` files alongside source code (popularized by the REST Client extension). That workflow is great for sending *one* request, but awkward for running the *whole file* as a smoke check. HTTP Smoke Runner adds a thin test-runner layer:\n\n- Works with REST Client's common file syntax (`###`, `@var`, `{{var}}`, `# @name`, `{{$guid}}`, `{{$dotenv}}`). Drop-in compatible, no rewrites required\n- Assertions are inline comments: `# expect status 200`\n- Results appear in VS Code's native **Testing panel**, not another sidebar\n- **Zero external runtime**: no Node install, no Python install, no cloud service\n- **Zero telemetry**, zero account, fully local\n\n## Install\n\nSearch **\"HTTP Smoke Runner\"** in VS Code's Extensions view, or run:\n\n```\next install arunbrahma.http-smoke-runner\n```\n\n## Quick start\n\nCreate `requests.http` in your repo:\n\n```http\n@baseUrl = http://localhost:3000\n\n### health\nGET {{baseUrl}}/health\n# expect status 200\n# expect body contains \"ok\"\n# expect time \u003c 500ms\n\n### create user\nPOST {{baseUrl}}/users\nContent-Type: application/json\n\n{ \"name\": \"Ada\" }\n# expect status 201\n# expect body path $.id exists\n# expect body path $.name equals \"Ada\"\n```\n\nOpen the **Testing** view. Your `.http` file appears, each request as a test. Click ▶ next to any request, or use the **CodeLens** above each `###` block.\n\n## How it looks\n\n### CodeLens and inline assertions\n\nEvery `###` block gets a **▶ Run Request** CodeLens; the whole file gets a **▶ Run File** CodeLens at the top. No extra UI: the file *is* the test suite.\n\n![CodeLens above each request block](https://raw.githubusercontent.com/iamarunbrahma/http-smoke-runner/main/media/screenshots/codelens.png)\n\n### Native Testing panel\n\nEach file becomes a test group, each `###` block a test. Click to jump to source, re-run a single test, cancel mid-run; all native VS Code interactions you already know.\n\n![Testing panel with expanded request list](https://raw.githubusercontent.com/iamarunbrahma/http-smoke-runner/main/media/screenshots/testing-panel.png)\n\n## Assertion grammar\n\nAll assertions are `#` comment lines (so the file stays valid for REST Client). Multiple per request are AND-ed.\n\n```\n# expect status 200\n# expect status 2xx\n# expect header content-type contains json\n# expect header x-request-id exists\n# expect body contains \"ok\"\n# expect body path $.id exists\n# expect body path $.name equals \"Ada\"\n# expect body path $.email matches /@example\\.com$/\n# expect time \u003c 500ms\n```\n\n## Variables\n\n| Type | Syntax | Example |\n|---|---|---|\n| File | `@name = value` → `{{name}}` | `@baseUrl = http://localhost:3000` |\n| System | `{{$guid}}`, `{{$uuid}}`, `{{$randomInt min max}}` | `X-Req-Id: {{$guid}}` |\n| Timestamp | `{{$timestamp}}`, `{{$datetime iso8601}}`, `{{$localDatetime rfc1123}}` | `createdAt: {{$datetime iso8601}}` |\n| Process env | `{{$processEnv VAR}}` | `Authorization: Bearer {{$processEnv TOKEN}}` |\n| Dotenv | `{{$dotenv VAR}}` (first use prompts once per workspace) | `api_key: {{$dotenv API_KEY}}` |\n\n## Development\n\n```bash\ngit clone https://github.com/iamarunbrahma/http-smoke-runner.git\ncd http-smoke-runner\nnpm install\n\nnpm test          # 76 unit tests: parser, assertions, HTTP runner (with a live stub server)\nnpm run typecheck # tsc --noEmit\nnpm run build     # bundle with esbuild → dist/extension.js\nnpm run package   # produce a .vsix for local install\n```\n\n**Repo layout**\n\n| Path | What lives there |\n|---|---|\n| `src/parser/` | `.http` file lexer + request / assertion / variable parsing (pure, no VS Code dep) |\n| `src/runner/` | Smoke runner (`fetch` + `AbortController`), assertion engine, JSON path, header redactor |\n| `src/testing/` | `vscode.tests.createTestController` wiring + run handler |\n| `src/codeLens/`, `src/diagnostics/`, `src/statusBar.ts` | Editor integrations |\n| `test/fixtures/` | Stub HTTP server + sample `.http` file used by unit tests |\n\n## Contributing\n\nBug reports and feature requests welcome. [Open an issue](https://github.com/iamarunbrahma/http-smoke-runner/issues) on GitHub.\n\n## License\n\nMIT © 2026 Arun Brahma\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamarunbrahma%2Fhttp-smoke-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamarunbrahma%2Fhttp-smoke-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamarunbrahma%2Fhttp-smoke-runner/lists"}