MCPcopy
hub / github.com/httprunner/httprunner / WithParams

Method WithParams

hrp/step_websocket.go:172–175  ·  view source on GitHub ↗
(params map[string]interface{})

Source from the content-addressed store, hash-verified

170}
171
172func (s *StepWebSocket) WithParams(params map[string]interface{}) *StepWebSocket {
173 s.step.WebSocket.Params = params
174 return s
175}
176
177func (s *StepWebSocket) WithHeaders(headers map[string]string) *StepWebSocket {
178 s.step.WebSocket.Headers = headers

Callers 13

testcase_test.goFile · 0.45
TestHTTPProtocolFunction · 0.45
TestCaseConfigVariablesFunction · 0.45
TestCaseStepVariablesFunction · 0.45
TestCaseParseVariablesFunction · 0.45
TestRendezvousFunction · 0.45
TestCaseBasicRequestFunction · 0.45
TestCaseCallFunctionFunction · 0.45

Calls

no outgoing calls

Tested by 11

TestHTTPProtocolFunction · 0.36
TestCaseConfigVariablesFunction · 0.36
TestCaseStepVariablesFunction · 0.36
TestCaseParseVariablesFunction · 0.36
TestRendezvousFunction · 0.36
TestCaseBasicRequestFunction · 0.36
TestCaseCallFunctionFunction · 0.36
TestCaseValidateStepFunction · 0.36