@@ -12,51 +12,4 @@ Feature: Smoke tests
1212 Given the system is in default state
1313 When I access endpoint "/" using HTTP GET method
1414 Then The status code of the response is 200
15-
16-
17- Scenario : Check if service report proper readiness state
18- Given the system is in default state
19- When I access REST API endpoint "readiness" using HTTP GET method
20- Then The status code of the response is 200
21- And The body of the response has the following schema
22- """
23- {
24- "ready": "bool",
25- "reason": "str"
26- }
27- """
28- And The body of the response is the following
29- """
30- {"ready": true, "reason": "service is ready"}
31- """
32-
33-
34- Scenario : Check if service report proper liveness state
35- Given the system is in default state
36- When I access REST API endpoint "liveness" using HTTP GET method
37- Then The status code of the response is 200
38- And The body of the response has the following schema
39- """
40- {
41- "alive": "bool"
42- }
43- """
44- And The body of the response is the following
45- """
46- {"alive":true}
47- """
48-
49-
50- Scenario : Check if the OpenAPI endpoint works as expected
51- Given the system is in default state
52- When I access endpoint "openapi.json" using HTTP GET method
53- Then The status code of the response is 200
54- And The body of the response contains OpenAPI
55-
56-
57- Scenario : Check if info endpoint is working
58- Given the system is in default state
59- When I access REST API endpoint "info" using HTTP GET method
60- Then The status code of the response is 200
61- And The body of the response contains name
62- And The body of the response contains version
15+ And Content type of response should be set to "text/html"
0 commit comments