aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/bruno/health-check.bru
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2025-08-08 08:59:43 +0200
committerrtkay123 <dev@kanjala.com>2025-08-08 08:59:43 +0200
commit7e03c0c7a30dca90e90a32918e3008c34d9f25cc (patch)
tree91cf240299f9861db9c1bf08cd244ba722c39894 /contrib/bruno/health-check.bru
parent92d853e8c535d21c7e51200ba5ca2b8393fb0656 (diff)
downloadwarden-7e03c0c7a30dca90e90a32918e3008c34d9f25cc.tar.bz2
warden-7e03c0c7a30dca90e90a32918e3008c34d9f25cc.zip
test(warden): http check
Diffstat (limited to 'contrib/bruno/health-check.bru')
-rw-r--r--contrib/bruno/health-check.bru19
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/bruno/health-check.bru b/contrib/bruno/health-check.bru
new file mode 100644
index 0000000..0ef5178
--- /dev/null
+++ b/contrib/bruno/health-check.bru
@@ -0,0 +1,19 @@
+meta {
+ name: health-check
+ type: http
+ seq: 1
+}
+
+get {
+ url: {{WARDEN_API_HOST}}
+ body: none
+ auth: inherit
+}
+
+assert {
+ res.status: eq 200
+}
+
+settings {
+ encodeUrl: true
+}