Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plan ¶
type Plan struct {
T *testing.T
W io.Writer
Ramping time.Duration
RequestPerSecond int
Duration time.Duration
Setup func() (any, error)
Test func(request any, err error) (any, error)
Cleanup func(response any, err error) (any, error)
Assert func(*Report) (any, error)
Formalize func() (any, error)
// contains filtered or unexported fields
}
type Report ¶
type Report struct {
T *testing.T
RequestPerSecond int
TestDuration time.Duration
RequestCount int
P50 time.Duration
P90 time.Duration
P95 time.Duration
P99 time.Duration
Avg time.Duration
Std time.Duration
SvcUnderLoad time.Duration
Throughput float64 // req/s
ErrorCount int
ErrorRate float64
Ramping ramping
Results []result
Asserts ane
Formalize ane
}
Click to show internal directories.
Click to hide internal directories.