2 unstable releases

new 0.2.0 Dec 2, 2025
0.1.0 Nov 25, 2025

#280 in Profiling

MIT license

17KB
178 lines

karga-http

crates.io

karga-http is the implementation of the main web protocols for the karga load testing framework.

It provides a simple and easy way to define and execute HTTP-based scenarios using reqwest under the hood.


Installation

Add both karga and karga-http to your Cargo.toml:

[dependencies]
karga = "*"
karga-http = "*"

Features

http_action

A helper function that wraps an HTTP request into a karga action. It measures latency, success, and bytes transferred, and feeds them into HttpAggregate.

Analysis pipeline

Implements HttpMetric, HttpAggregate and HttpReport, providing the most useful data points for analysing http performance.


License

Licensed under MIT. See LICENSE for details.

Dependencies

~7–22MB
~244K SLoC