Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckResponseErrorMessage ¶
CheckResponseErrorMessage reads and closes the response body payload (if any), and asserts that it matches the expectedMessage argument
func RandHighPort ¶
func RandHighPort() (randPort int)
RandHighPort return a free port in the range[1024,65535)
func ReadBodyAndClose ¶
func ReadBodyAndClose(bodyReader io.ReadCloser) ([]byte, error)
ReadBodyAndClose properly handles the reading of body and closing the reader
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.