Skip to content

Output Formats

Readable in a terminal, parseable in a pipeline.

Pretty output for people, JSON for tools, raw response bodies for piping. Choose how much detail to show, and save the full results to a file in the same run.

report.yaml
# Override per run: curl-runner report.yaml --output-format json
global:
  output:
    format: pretty
    prettyLevel: detailed
    showHeaders: true
    showMetrics: true
    saveToFile: results.json

requests:
  - name: List users
    url: https://api.example.com/users

Benefits

  • Three formats

    pretty for reading, json for jq and dashboards, raw for response bodies only.

  • Three levels of detail

    minimal prints one line per request; standard and detailed add more, up to a full timing breakdown.

  • Saved and redacted

    saveToFile or --output writes the results to disk, with secrets redacted as in the terminal.

Good for

  1. Feeding results into jq or a dashboard
  2. Quiet CI logs that only show failures
  3. Inspecting headers and timings while debugging
  4. Piping a response body into another tool