Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
 - func Check(val, arg0 otto.Value) (bool, error)
 - type Console
 - type HTTPParams
 - type HTTPResponse
 - type InitAPI
 - type JSAPI
 - func (a JSAPI) BatchHTTPRequest(requests otto.Value) otto.Value
 - func (a JSAPI) DoCheck(obj otto.Value, conds map[string]otto.Value, extraTags map[string]string) bool
 - 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, paramData string) map[string]interface{}
 - func (a JSAPI) MetricAdd(m *stats.Metric, v float64, tags map[string]string)
 - func (a JSAPI) Sleep(secs float64)
 
- type Runner
 - type Runtime
 - type VU
 
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var ErrDefaultExport = errors.New("you must export a 'default' function")
    Functions ¶
Types ¶
type HTTPParams ¶ added in v0.6.0
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) BatchHTTPRequest ¶ added in v0.11.0
func (JSAPI) HTMLSelectionAddSelection ¶
func (JSAPI) HTTPRequest ¶
type Runner ¶
type Runner struct {
	Runtime      *Runtime
	DefaultGroup *lib.Group
	Options      lib.Options
	HTTPTransport *http.Transport
}
    func (*Runner) ApplyOptions ¶
func (*Runner) GetDefaultGroup ¶ added in v0.5.0
func (*Runner) GetOptions ¶
type Runtime ¶
      
      Source Files
      ¶
    
   Click to show internal directories. 
   Click to hide internal directories.