Documentation ¶
Index ¶
- Variables
- type K6
- func (*K6) Check(ctx context.Context, arg0, checks goja.Value, extras ...goja.Value) (bool, error)
- func (*K6) Fail(msg string) (goja.Value, error)
- func (*K6) Group(ctx context.Context, name string, fn goja.Callable) (goja.Value, error)
- func (*K6) RandomSeed(ctx context.Context, seed int64)
- func (*K6) Sleep(ctx context.Context, secs float64)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCheckInInitContext = common.NewInitContextError("Using check() in the init context is not supported")
ErrCheckInInitContext is returned when check() are using in the init context
View Source
var ErrGroupInInitContext = common.NewInitContextError("Using group() in the init context is not supported")
ErrGroupInInitContext is returned when group() are using in the init context
Functions ¶
This section is empty.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
generated by js/modules/k6/html/gen/gen_elements.go directed by js/modules/k6/html/elements.go; DO NOT EDIT nolint: goconst
|
generated by js/modules/k6/html/gen/gen_elements.go directed by js/modules/k6/html/elements.go; DO NOT EDIT nolint: goconst |
Click to show internal directories.
Click to hide internal directories.