anon
${BASE_URL}
Create Session: create a HTTP session to a server
Create an unauthenticated HTTP session.
${resp}
anon
/health
expected_status=200
Sends a GET request on a previously created HTTP Session.
${response.status_code}
${expected_status}
Fails if objects are unequal after converting them to integers.
${resp}
200
Assert that the response status code matches the expected value.
${json}
${response.text}
Convert String to JSON object
${values}
${json}
${json_path}
Get Value From JSON using JSONPath
${value}
${values}[0]
Returns the given values which can then be assigned to a variables.
${value}
${status}
${resp}
$.status
Extract a value from a JSON response using JSONPath.
${status}
healthy
Fails if objects are unequal after converting them to strings.
Removes all the session objects
Starting Browser process /home/lukas/miniconda3/lib/python3.13/site-packages/Browser/wrapper/index.js using at 127.0.0.1:40377
Verify the basic health endpoint returns 200.
anon
${BASE_URL}
Create Session: create a HTTP session to a server
Create an unauthenticated HTTP session.
${resp}
anon
/health/detailed
expected_status=200
Sends a GET request on a previously created HTTP Session.
${response.status_code}
${expected_status}
Fails if objects are unequal after converting them to integers.
${resp}
200
Assert that the response status code matches the expected value.
${json}
${response.text}
Convert String to JSON object
${json}
${key}
Fails if ``key`` is not found from ``dictionary``.
${key}
@{keys}
${resp}
status
version
uptime
dependencies
Assert that the JSON response contains all the specified top-level keys.
${json}
${resp.text}
Convert String to JSON object
${json["dependencies"]}
system
Fails if ``key`` is not found from ``dictionary``.
${json["dependencies"]["system"]}
memory_percent
Fails if ``key`` is not found from ``dictionary``.
${json["dependencies"]["system"]}
cpu_percent
Fails if ``key`` is not found from ``dictionary``.
Removes all the session objects
Verify the detailed health endpoint returns metrics.
Health check API tests for Aniworld.
Covers basic and detailed health endpoints.
All Tests
Health