Documentation ¶
Index ¶
Constants ¶
View Source
const ERR_CONTINUE = "continue"
View Source
const ERR_STOP_ITERATION = "stop_iteration"
View Source
const ERR_STOP_TEST = "stop_test"
View Source
const ERR_STOP_VU = "stop_vu"
View Source
const HTTP_RESPONSE = "HTTP_Response"
View Source
const RE_FIRST = "first"
View Source
const RE_LAST = "last"
View Source
const RE_RANDOM = "random"
Variables ¶
This section is empty.
Functions ¶
func StringInSlice ¶
func ValidateTestDefinition ¶
Validate the Test Definition Consistency
Types ¶
type TestDef ¶
type TestDef struct { Version string `yaml:"version"` Iterations int `yaml:"iterations"` // (mandatory) -1 implies use of "duration" Duration int `yaml:"duration"` Users int `yaml:"users"` Rampup int `yaml:"rampup"` OnError string `yaml:"on_error"` // continue (default) | stop_vu | stop_test HttpErrorCodes string `yaml:"http_error_codes"` Timeout int `yaml:"timeout"` // default is 10s DfltValues Default `yaml:"default"` Variables map[string]string `yaml:"variables"` DataFeeder Feeder `yaml:"feeder"` Actions []map[string]interface{} `yaml:"actions"` }
Click to show internal directories.
Click to hide internal directories.