update the scenarios for service availability check

This commit is contained in:
Prajwol Amatya
2024-11-26 17:03:49 +05:45
parent 15420a3d7b
commit 34dc52d426
9 changed files with 174 additions and 187 deletions

View File

@@ -2,14 +2,14 @@ Feature: service health check
Scenario: check service health
When a user requests these endpoints:
| endpoint | service |
| %base_url_without_scheme_and_port%:9174/healthz | notification |
When a user requests these endpoints with "GET" and no authentication
| endpoint | service |
| %base_url_hostname%:9174/healthz | notification |
Then the HTTP status code of responses on all endpoints should be "200"
Scenario: check service readiness
When a user requests these endpoints:
| endpoint | service |
| %base_url_without_scheme_and_port%:9174/readyz | notification |
When a user requests these endpoints with "GET" and no authentication
| endpoint | service |
| %base_url_hostname%:9174/readyz | notification |
Then the HTTP status code of responses on all endpoints should be "200"