cucumber for days (#5766)

This commit is contained in:
Anthony Stirling
2026-02-21 23:17:28 +00:00
committed by GitHub
parent 7631b222bd
commit 30c258ce0b
40 changed files with 4079 additions and 49 deletions
+42
View File
@@ -0,0 +1,42 @@
@info
Feature: Info API Validation
@status @positive
Scenario: Get application status
When I send a GET request to "/api/v1/info/status"
Then the response status code should be 200
And the response content type should be "application/json"
And the response file should have size greater than 0
And the JSON value of "status" should be "UP"
@uptime @positive
Scenario: Get application uptime
When I send a GET request to "/api/v1/info/uptime"
Then the response status code should be 200
And the response file should have size greater than 0
@requests @positive
Scenario: Get total request count
When I send a GET request to "/api/v1/info/requests"
Then the response status code should be 200
And the response file should have size greater than 0
@requests @positive
Scenario: Get per-endpoint request counts
When I send a GET request to "/api/v1/info/requests/all"
Then the response status code should be 200
And the response content type should be "application/json"
And the response file should have size greater than 0
@load @positive
Scenario: Get current system load
When I send a GET request to "/api/v1/info/load"
Then the response status code should be 200
And the response file should have size greater than 0
@load @positive
Scenario: Get per-endpoint load statistics
When I send a GET request to "/api/v1/info/load/all"
Then the response status code should be 200
And the response content type should be "application/json"
And the response file should have size greater than 0