load

module
v0.0.0-...-59933e5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2026 License: Apache-2.0

README

Load Testing

Load testing framework and loadtests for the kcp project. Please note this setup is intended to be used for load-testing only and not setting up fully production grade environments.

Architecture

Please refer to the drawing of the general layout.

Setup

Installation scripts and manuals are provided in setup/Readme.

Usage

All test cases are organized in the testing folder. You can run the entire suite using:

go test ./testing/...

The tests will prompt you for any specific required variables and configs.

Alternatively you can run a subset of tests using standard go test syntax. E.g.:

go test ./testing/... -run ^TestExample

Development

The load-testing framework itself is organized in the pkg folder. You can run its unit tests directly using:

go test ./pkg/...

Partitioning

You can partition your loadtest by providing it with a unique start number. Please be advised that this multiplexes your test. Any load you place will be multiplied by the number of partitions. Depending per test, adjust throughput values like qps accordingly.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL