Result Files
glubean run writes structured evidence to .result.json files that you can
inspect, upload, or feed into CI. These files are derived from authored
contracts, workflows, and raw tests; do not edit them to change behavior.
Generating result files
glubean run --profile localEvery functional run writes the latest result to
.glubean/last-run.result.json. Use an explicit path when another tool needs a
stable artifact in addition to the latest-result file:
glubean run --profile local --result-json .glubean/results/local.result.jsonCI profiles usually put this in glubean.yaml instead of repeating the flag:
profiles:
ci:
reporters:
resultJson: .glubean/results/ci.result.json
junit: .glubean/results/junit.xmlWhat’s inside
A .result.json file contains:
- Run metadata — timestamp, environment, CLI version, custom metadata (
--meta) - Runnable results — pass/fail/skip status, assertions, timing, and events for each
test(), contract case, browser check, or workflow - HTTP events — request/response summaries (add
--emit-full-tracefor full headers and bodies) - Errors and logs — any
ctx.log()output or caught errors - Thresholds — when the run profile declares metric gates
- Discovery failures — files that failed to import before any runnable could execute
Trace files
When you use --emit-full-trace, glubean also writes per-test trace files under .glubean/traces/. These contain the full HTTP request/response bodies for detailed inspection.
Use --trace-limit <N> to control how many trace files are kept per test (default: 20).
Uploading results
glubean run --profile local --upload # Run and upload in one step
glubean ci run --upload # Run the `ci` profile and uploadBefore uploading, results pass through redaction to mask sensitive values. Run through a profile when you rely on project-specific redaction rules.
Load testing uses a separate artifact shape. glubean load writes one
.glubean/{runnerId}.load.result.json file per completed loadRunner(...);
Cloud reads those as kind=load evidence for Performance and Benchmarks.
Viewing results
- VS Code/Cursor — The glubean extension opens
.result.jsonfiles with a visual viewer. See Extension: Result Viewer. - Terminal — Use
jqor any JSON tool to query the file directly. - Cloud — Uploaded results appear in Glubean Cloud under the run’s Target.