From 7e03c0c7a30dca90e90a32918e3008c34d9f25cc Mon Sep 17 00:00:00 2001 From: rtkay123 Date: Fri, 8 Aug 2025 08:59:43 +0200 Subject: test(warden): http check --- contrib/bruno/bruno.json | 9 +++++++++ contrib/bruno/environments/warden.bru | 3 +++ contrib/bruno/health-check.bru | 19 +++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 contrib/bruno/bruno.json create mode 100644 contrib/bruno/environments/warden.bru create mode 100644 contrib/bruno/health-check.bru diff --git a/contrib/bruno/bruno.json b/contrib/bruno/bruno.json new file mode 100644 index 0000000..24706f9 --- /dev/null +++ b/contrib/bruno/bruno.json @@ -0,0 +1,9 @@ +{ + "version": "1", + "name": "warden", + "type": "collection", + "ignore": [ + "node_modules", + ".git" + ] +} \ No newline at end of file diff --git a/contrib/bruno/environments/warden.bru b/contrib/bruno/environments/warden.bru new file mode 100644 index 0000000..d4a366c --- /dev/null +++ b/contrib/bruno/environments/warden.bru @@ -0,0 +1,3 @@ +vars { + WARDEN_API_HOST: http://localhost:2210 +} 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 +} -- cgit v1.2.3