MCPcopy Index your code
hub / github.com/codesenberg/bombardier / testType

Method testType

config.go:77–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75}
76
77func (c *config) testType() testTyp {
78 typ := none
79 if c.numReqs != nil {
80 typ = counted
81 } else if c.duration != nil {
82 typ = timed
83 }
84 return typ
85}
86
87func (c *config) checkURL() error {
88 if c.url.Scheme != "http" && c.url.Scheme != "https" {

Callers 6

TestCheckArgsTestTypeFunction · 0.95
checkRunParametersMethod · 0.95
newBombardierFunction · 0.80
printIntroMethod · 0.80
gatherInfoMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestCheckArgsTestTypeFunction · 0.76