Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InputParam ¶
type Repeater ¶
type Repeater struct {
TestCases []*TestCase
}
func NewRepeater ¶
func NewRepeater(inputFuncList []*InputFunc, inputParamList []*InputParam) *Repeater
NewRepeater get a new object
func (*Repeater) Init ¶
func (r *Repeater) Init(inputFuncList []*InputFunc, inputParamList []*InputParam)
Init init
type TestCase ¶
type TestCase struct { Name string Func func() error Concurrence int64 TotalCount int64 SuccessCount int64 Total float64 Avg float64 P95 float64 P99 float64 IsFinish bool }
TestCase Single test case
func (*TestCase) Init ¶
func (c *TestCase) Init(inputFunc *InputFunc, inputParam *InputParam)
Init init
Click to show internal directories.
Click to hide internal directories.