Skip to content

Releases: gustofarbi/httper

v0.1.0

12 Jun 13:05
0b32bd2

Choose a tag to compare

httper is a CLI runner for .http files in the JetBrains HTTP Client format. Point it at a file and it resolves {{variables}} from environment files and previous responses, runs JavaScript pre-request and response handler scripts (including client.test assertions), sends the requests, and prints the responses plus a test report — making your IDE request collections runnable in CI. Beyond plain HTTP it speaks gRPC (unary and server-streaming via server reflection) and can turn any request into a load test with a @vegeta directive. Exit codes reflect test results, so it drops straight into a pipeline.

Install via the prebuilt binaries below, or:

go install github.com/gustofarbi/httper@v0.1.0

Highlights

  • .http file parsing: methods, headers, JSON/form/multipart bodies, file includes, multi-line URLs, multiple requests per file
  • Variables: env files (JetBrains format, with private overlays), in-file @vars, dynamic $uuid/$timestamp/$randomInt, request chaining via client.global
  • Scripts: pre-request and response handlers on an embedded JS engine, client.test assertions, crypto helpers
  • Per-request directives: @name, @timeout, @no-redirect, @no-cookie-jar, @no-log, @vegeta
  • gRPC: unary + server-streaming via server reflection (grpc:///grpcs://)
  • Load testing: -vegeta flag + @vegeta rate/duration profiles
  • Reports: JUnit XML and JSON output for CI
  • Exit codes: 0 success, 1 usage/parse error, 2 failing tests or send errors (-strict also fails non-2xx)

Full commit history: https://github.com/gustofarbi/httper/commits/v0.1.0