Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointRequest ¶
type EndpointRequest struct { Url string QueryParameters map[string]string Payload string Variables definitions.VariableMap }
type EndpointResponse ¶
type EndpointResponse struct { StatusCode int // StatusCode is the status code of the response RawData any // RawData is the raw data of the response Url string // Url is the full url of the request }
func Fetch ¶
func Fetch(request EndpointRequest, definition definitions.Endpoint) (EndpointResponse, error)
requestData sends based on the given request a http GET request and returns the response
type EndpointTestCases ¶
type EndpointTestCases struct { Definition definitions.Endpoint HttpRequests []EndpointRequest }
func Preprocess ¶
func Preprocess(definition definitions.Endpoint) (EndpointTestCases, error)
Click to show internal directories.
Click to hide internal directories.