9.1.1.1.1.1.1.1. GeoHealthCheck.plugins.check.checks
9.1.1.1.1.1.1.1.1. Module Contents
9.1.1.1.1.1.1.1.1.1. Classes
Checks if HTTP status code is not in the 400- or 500-range. |
|
Checks if header exists and has given header value. |
|
Checks if HTTP response has content type. |
|
Checks if HTTP response has image content type. |
|
Checks if HTTP response is valid XML. |
|
Checks if HTTP response is valid JSON. |
|
Checks if HTTP response contains given strings (keywords). |
|
Checks if HTTP response NOT contains given strings (keywords). |
|
Checks if HTTP response NOT contains given OWS Exceptions. |
- class GeoHealthCheck.plugins.check.checks.HttpStatusNoError[source]
Bases:
GeoHealthCheck.check.Check
Checks if HTTP status code is not in the 400- or 500-range.
- NAME = 'HTTP status should not be errored'
- DESCRIPTION = 'Response should not contain a HTTP 400 or 500 range Error'
- class GeoHealthCheck.plugins.check.checks.HttpHasHeaderValue[source]
Bases:
GeoHealthCheck.check.Check
Checks if header exists and has given header value. See http://docs.python-requests.org/en/master/user/quickstart
- NAME = 'Has specific HTTP Header value'
- DESCRIPTION = 'HTTP response has specific HTTP Header value'
- PARAM_DEFS
Param defs
- class GeoHealthCheck.plugins.check.checks.HttpHasContentType[source]
Bases:
HttpHasHeaderValue
Checks if HTTP response has content type.
- NAME = 'Has specific Content-Type'
- DESCRIPTION = 'HTTP response has specific Content-Type'
- PARAM_DEFS
Params defs for header content type.
- class GeoHealthCheck.plugins.check.checks.HttpHasImageContentType[source]
Bases:
GeoHealthCheck.check.Check
Checks if HTTP response has image content type.
- NAME = 'HTTP response is image'
- DESCRIPTION = 'HTTP response has image/* Content-Type'
- class GeoHealthCheck.plugins.check.checks.XmlParse[source]
Bases:
GeoHealthCheck.check.Check
Checks if HTTP response is valid XML.
- NAME = 'Valid XML response'
- DESCRIPTION = 'HTTP response contains valid XML'
- class GeoHealthCheck.plugins.check.checks.JsonParse[source]
Bases:
GeoHealthCheck.check.Check
Checks if HTTP response is valid JSON.
- NAME = 'Valid JSON response'
- DESCRIPTION = 'HTTP response contains valid JSON'
- class GeoHealthCheck.plugins.check.checks.ContainsStrings[source]
Bases:
GeoHealthCheck.check.Check
Checks if HTTP response contains given strings (keywords).
- NAME = 'Response contains strings'
- DESCRIPTION = 'HTTP response contains all (comma-separated) strings specified'
- PARAM_DEFS
Param defs
- class GeoHealthCheck.plugins.check.checks.NotContainsStrings[source]
Bases:
ContainsStrings
Checks if HTTP response NOT contains given strings (keywords).
- NAME = 'Response NOT contains strings'
- DESCRIPTION = Multiline-String
Show Value
""" HTTP response does not contain any of the (comma-separated) strings specified """
- PARAM_DEFS
Param defs