RestResponse interface
The properties that make up the expected REST response
Properties
regex | The regular expressions to match the response content with. |
success |
The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK. |
Property Details
regex
The regular expressions to match the response content with.
regex?: RestResponseRegex
Property Value
successStatusCodes
The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.
successStatusCodes?: string[]
Property Value
string[]