You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
v1.2.0
Bug Fixes
Exit with non-zero code when tests fail — httpprobe run now exits with code 1 when any test case fails, enabling proper CI pipeline failure detection (#13)
Fix suite-level variables silently ignored — Added missing yaml/json struct tags to TestSuite.Variables, which caused suite-level variables defined in YAML/JSON to be silently dropped during parsing (#14)
Fix double slashes in URL concatenation — Replaced fmt.Sprintf with url.JoinPath to correctly normalise slashes when joining base URL with request path (#15)
Enable cross-variable references — Variables can now reference other defined variables (e.g. ${base_url}/users). Previously, InterpolateVariableValues passed nil instead of the variables map, preventing cross-variable resolution (#16)
Features
Variable type coercion (opt-in) — Variables with type: int, type: float, or type: bool are now coerced to native types when used in structured JSON request bodies. Omitting type defaults to string, preserving full backward compatibility (#18)
Chores
Consolidate CI workflows — Merged main.yml, pull-request.yml, and release.yml into a single ci.yml. Removed redundant manual status checks and duplicate test runs in the release pipeline. Standardised action versions
Fix filename typo — Renamed test_defintion.go to test_definition.go
Test Coverage
Added 13 new unit tests covering cross-variable references, type coercion, interpolation edge cases, and nil input handling