add test for checking service ready and health

This commit is contained in:
Viktor Scharf
2024-10-18 15:30:26 +02:00
committed by Prajwol Amatya
parent 46d397d74f
commit 18e0af90b7
7 changed files with 280 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
Feature: service health check
Scenario: health check
When a user requests these endpoints:
| endpoint | service |
| %base_url_without_scheme_and_port%:9297/healthz | antivirus |
Then the HTTP status code of responses on all endpoints should be "200"
Scenario: ready check
When a user requests these endpoints:
| endpoint | service |
| %base_url_without_scheme_and_port%:9297/readyz | antivirus |
Then the HTTP status code of responses on all endpoints should be "200"