anwesen/tests/hurl/health/health_shape.hurl

15 lines
575 B
Text
Raw Permalink Normal View History

2026-05-14 19:04:03 +02:00
# GET /health returns 200, JSON, and the shape promised by the User Manual.
GET {{host}}/health
HTTP 200
[Asserts]
header "Content-Type" startsWith "application/json"
jsonpath "$.note_count" exists
jsonpath "$.note_count" >= 14
jsonpath "$.watcher_state" matches "^(running|degraded)$"
jsonpath "$.in_flight_rescan" isBoolean
jsonpath "$.vault_path" exists
jsonpath "$.supervisor.restarts.vault_scanner" exists
jsonpath "$.supervisor.restarts.filesystem_watcher" exists
jsonpath "$.supervisor.restarts.index_writer" exists
jsonpath "$.supervisor.restarts.http_server" exists