Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateHTML ¶
GenerateHTML creates an HTML report file with charts
func PrintConsoleReport ¶
PrintConsoleReport prints a formatted text summary to stdout
Types ¶
type StatusCodeRow ¶
StatusCodeRow represents a row in the status codes table
type TemplateData ¶
type TemplateData struct {
GeneratedAt string
TargetURL string
Method string
TestDuration string
Concurrency int
TotalRequests int64
SuccessCount int64
FailureCount int64
SuccessRate float64
RPS float64
P50 string
P90 string
P95 string
P99 string
Max string
Min string
StatusCodesTable []StatusCodeRow
Errors []ErrorRow
TimeLabels template.JS
RPSData template.JS
P50Data template.JS
P90Data template.JS
P95Data template.JS
P99Data template.JS
SuccessData template.JS
FailureData template.JS
StatusLabels template.JS
StatusData template.JS
}
TemplateData holds all data for the HTML template
Click to show internal directories.
Click to hide internal directories.