update the scenarios for service availability check

This commit is contained in:
Prajwol Amatya
2024-11-28 16:01:30 +05:45
parent 15420a3d7b
commit 34dc52d426
9 changed files with 174 additions and 187 deletions
@@ -1,19 +1,15 @@
Feature: service health check
@skip
Scenario: check service health
When a user requests these endpoints:
| endpoint | service | comment |
| wopi-onlyoffice:9304/healthz | collaboration | wopi-onlyoffice port 9304: Connection refused in CI |
| wopi-collabora:9304/healthz | collaboration | wopi-collabora port 9304: Connection refused in CI |
| wopi-fakeoffice:9304/healthz | collaboration | wopi-fakeoffice port 9304: Connection refused in CI |
When a user requests these endpoints with "GET" and no authentication
| endpoint | service |
| %collaboration_hostname%:9304/healthz | collaboration |
Then the HTTP status code of responses on all endpoints should be "200"
@skip
Scenario: check service readiness
When a user requests these endpoints:
| endpoint | service | comment |
| wopi-onlyoffice:9304/readyz | collaboration | wopi-onlyoffice port 9304: Connection refused in CI |
| wopi-collabora:9304/readyz | collaboration | wopi-collabora port 9304: Connection refused in CI |
| wopi-fakeoffice:9304/readyz | collaboration | wopi-fakeoffice port 9304: Connection refused in CI |
Then the HTTP status code of responses on all endpoints should be "200"
When a user requests these endpoints with "GET" and no authentication
| endpoint | service |
| %collaboration_hostname%:9304/readyz | collaboration |
Then the HTTP status code of responses on all endpoints should be "200"