Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions test/load/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Installation scripts and manuals are provided in [setup/Readme](./setup/Readme.m

## Usage

### Local Development

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

```sh
Expand All @@ -27,6 +29,18 @@ Alternatively you can run a subset of tests using standard `go test` syntax. E.g
go test ./testing/... -run ^TestExample
```

### Report Creation

If you are running the tests to create reports, please use the `suite.sh` helper script. It automatically
ensures that all files get generated using unified timestamps in a `.loadtest-results` folder.

```sh
./suite.sh TestExample
```

The script will show live output and is safe to run in jumphost environments where connectivity might
break.

## Development

The load-testing framework itself is organized in the `pkg` folder. You can run its unit
Expand Down
5 changes: 3 additions & 2 deletions test/load/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,19 @@ module github.com/kcp-dev/kcp/test/load
go 1.26.0

require (
github.com/kcp-dev/client-go v0.35.1
github.com/kcp-dev/logicalcluster/v3 v3.0.5
github.com/kcp-dev/sdk v0.31.0
github.com/montanaflynn/stats v0.7.1
github.com/stretchr/testify v1.11.1
k8s.io/api v0.36.0
k8s.io/apimachinery v0.36.0
k8s.io/client-go v0.36.0
)

replace (
github.com/kcp-dev/apimachinery/v2 => ../../staging/src/github.com/kcp-dev/apimachinery
github.com/kcp-dev/client-go => ../../staging/src/github.com/kcp-dev/client-go
github.com/kcp-dev/code-generator/v3 => ../../staging/src/github.com/kcp-dev/code-generator
github.com/kcp-dev/sdk => ../../staging/src/github.com/kcp-dev/sdk
)
Expand Down Expand Up @@ -56,12 +59,10 @@ require (
golang.org/x/term v0.42.0 // indirect
golang.org/x/text v0.36.0 // indirect
golang.org/x/time v0.15.0 // indirect
golang.org/x/tools v0.44.0 // indirect
google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af // indirect
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/api v0.36.0 // indirect
k8s.io/apiextensions-apiserver v0.36.0 // indirect
k8s.io/klog/v2 v2.140.0 // indirect
k8s.io/kube-openapi v0.0.0-20260414162039-ec9c827d403f // indirect
Expand Down
Loading