MCPcopy
hub / github.com/SpectoLabs/hoverfly / DoRequest

Function DoRequest

functional-tests/functional_tests.go:33–37  ·  view source on GitHub ↗
(r *sling.Sling)

Source from the content-addressed store, hash-verified

31var BinaryPrefix = ""
32
33func DoRequest(r *sling.Sling) *http.Response {
34 response, err := doRequest(r)
35 Expect(err).To(BeNil())
36 return response
37}
38
39func doRequest(r *sling.Sling) (*http.Response, error) {
40 req, err := r.Request()

Callers 15

GetModeMethod · 0.85
GetAllPostServeActionMethod · 0.85
DeletePostServeActionMethod · 0.85
SetModeWithArgsMethod · 0.85
SetDestinationMethod · 0.85
SetMiddlewareMethod · 0.85
GetSimulationMethod · 0.85
ImportSimulationMethod · 0.85
WriteLogsIfErrorMethod · 0.85
GetCacheMethod · 0.85

Calls 1

doRequestFunction · 0.70

Tested by

no test coverage detected