net_benchmark.http_bench.load_test_exporters

CSV/Excel/PDF/JSON export for load test results. Takes List[LoadTestSummary] (one per target) so Excel gets a per-URL sheet. Reuses base.py’s table/chart helpers; adds a local line-chart helper for time-series (base.py’s generate_bar_chart is bar-only).

Functions

combined_error_breakdown(summaries)

error_breakdown(summary)

Error message counts for a single target's load test — mirrors HTTPAnalyzer.get_error_statistics() but works directly off LoadTestSummary.results since load tests don't go through HTTPAnalyzer for the raw-result path (only for the aggregate stats).

Classes

LoadTestCSVExporter()

One static method per export type, mirroring HTTPCSVExporter.

LoadTestExcelExporter()

LoadTestExportBundle()

LoadTestPDFExporter()

net_benchmark.http_bench.load_test_exporters.error_breakdown(summary)[source]

Error message counts for a single target’s load test — mirrors HTTPAnalyzer.get_error_statistics() but works directly off LoadTestSummary.results since load tests don’t go through HTTPAnalyzer for the raw-result path (only for the aggregate stats).

Return type:

Dict[str, int]

net_benchmark.http_bench.load_test_exporters.combined_error_breakdown(summaries)[source]
Return type:

Dict[str, int]

class net_benchmark.http_bench.load_test_exporters.LoadTestExportBundle[source]

Bases: object

static export_json(summaries, output_path)[source]
Return type:

None

class net_benchmark.http_bench.load_test_exporters.LoadTestCSVExporter[source]

Bases: object

One static method per export type, mirroring HTTPCSVExporter.

static export_raw_results(summaries, output_path)[source]
Return type:

None

static export_summary(summaries, output_path)[source]
Return type:

None

static export_intervals(summaries, output_path)[source]
Return type:

None

static export_error_breakdown(summaries, output_path)[source]
Return type:

None

class net_benchmark.http_bench.load_test_exporters.LoadTestExcelExporter[source]

Bases: object

static export_results(summaries, output_path, include_charts=True)[source]
Return type:

None

class net_benchmark.http_bench.load_test_exporters.LoadTestPDFExporter[source]

Bases: object

static export_results(summaries, output_path, include_charts=True)[source]
Return type:

None