package
0.13.206
Repository: https://github.com/sdfe/terratest.git
Documentation: pkg.go.dev

# Functions

Continuously check the given URL every 1 second until the stopChecking channel receives a signal to stop.
HttpGet performs an HTTP GET on the given URL and return the HTTP status code and body.
HttpGetE performs an HTTP GET on the given URL and return the HTTP status code, body, and any error.
HttpGetWithCustomValidation performs an HTTP GET on the given URL and validate the returned status code and body using the given function.
HttpGetWithCustomValidationE performs an HTTP GET on the given URL and validate the returned status code and body using the given function.
HttpGetWithRetry repeatedly performs an HTTP GET on the given URL until the given status code and body are returned or until max retries has been exceeded.
HttpGetWithRetryE repeatedly performs an HTTP GET on the given URL until the given status code and body are returned or until max retries has been exceeded.
HttpGetWithRetryWithCustomValidation repeatedly performs an HTTP GET on the given URL until the given validation function returns true or max retries has been exceeded.
HttpGetWithRetryWithCustomValidationE repeatedly performs an HTTP GET on the given URL until the given validation function returns true or max retries has been exceeded.
HttpGetWithValidation performs an HTTP GET on the given URL and verify that you get back the expected status code and body.
HttpGetWithValidationE performs an HTTP GET on the given URL and verify that you get back the expected status code and body.
RunDummyServer runs a dummy HTTP server on a unique port that will return the given text.
RunDummyServerE runs a dummy HTTP server on a unique port that will return the given text.

# Structs

No description provided by the author
ValidationFunctionFailed is an error that occurs if a validation function fails.