Documentation ¶
Index ¶
- Variables
- func Check(val, arg0 otto.Value) (bool, error)
- type DirectoryTraversalError
- type HTTPResponse
- type InitAPI
- type JSAPI
- func (a JSAPI) DoCheck(call otto.FunctionCall) otto.Value
- func (a JSAPI) DoGroup(call otto.FunctionCall) otto.Value
- func (a JSAPI) ElapsedMs() float64
- func (a JSAPI) HTMLParse(src string) *goquery.Selection
- func (a JSAPI) HTMLSelectionAddSelection(vA, vB otto.Value) *goquery.Selection
- func (a JSAPI) HTTPRequest(method, url, body string, params map[string]interface{}) map[string]interface{}
- func (a JSAPI) Log(level int, msg string, args []otto.Value)
- func (a JSAPI) MetricAdd(m *stats.Metric, v float64, tags map[string]string)
- func (a JSAPI) Sleep(secs float64)
- func (a JSAPI) Taint()
- type Runner
- type Runtime
- type VU
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MetricReqs = stats.New("http_reqs", stats.Counter) MetricReqDuration = stats.New("http_req_duration", stats.Trend, stats.Time) MetricReqBlocked = stats.New("http_req_blocked", stats.Trend, stats.Time) MetricReqLookingUp = stats.New("http_req_looking_up", stats.Trend, stats.Time) MetricReqConnecting = stats.New("http_req_connecting", stats.Trend, stats.Time) MetricReqSending = stats.New("http_req_sending", stats.Trend, stats.Time) MetricReqWaiting = stats.New("http_req_waiting", stats.Trend, stats.Time) MetricReqReceiving = stats.New("http_req_receiving", stats.Trend, stats.Time) )
View Source
var ErrDefaultExport = errors.New("you must export a 'default' function")
Functions ¶
Types ¶
type DirectoryTraversalError ¶
func (DirectoryTraversalError) Error ¶
func (e DirectoryTraversalError) Error() string
type HTTPResponse ¶
type HTTPResponse struct {
Status int
}
type InitAPI ¶
type InitAPI struct {
// contains filtered or unexported fields
}
type JSAPI ¶
type JSAPI struct {
// contains filtered or unexported fields
}
func (JSAPI) HTMLSelectionAddSelection ¶
func (JSAPI) HTTPRequest ¶
type Runner ¶
type Runner struct { Runtime *Runtime DefaultGroup *lib.Group Options lib.Options HTTPTransport *http.Transport // contains filtered or unexported fields }
func (*Runner) ApplyOptions ¶
func (*Runner) GetDefaultGroup ¶ added in v0.5.0
func (*Runner) GetOptions ¶
type Runtime ¶
Click to show internal directories.
Click to hide internal directories.