K6 Integration for Loadtesting#110
Conversation
|
Initially I was thinking something like: the |
Should I just get rid of the loadtest batch then? |
dc9856f to
4fe1ef1
Compare
|
I removed batch submitting, made it so that the parser uses advanced arguments underneath, did some cleanup and a lot of debugging. Also pinned the k6 version. It is in a working state now, we can improve it later on. |
|
I added prometheus remote write for k6 and added/removed some flags for loadtest. This should be more or less good to go now. Lmk if there are any issues or things that we want to add. |
|
robmsmt
left a comment
There was a problem hiding this comment.
looks good, nearly there... just some docs updates to change?
Suggested by SonarQube to avoid duplicating the .yaml literal across scenario loading code.
…lt job time setting
The k6 script.js is JavaScript, not part of the Python test surface, and was reporting 0% coverage on 174 new lines — dragging new-code coverage to 62% and failing the 80% quality gate. Excluding it brings new-code coverage to ~86%. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
can't see what is blocking suggest we move forwards with this





This branch adds a cluster-native loadtesting workflow to SML.
It introduces sml loadtest commands for launching a model and running k6 against it, running k6 against an already-running model, running against an external OpenAI-compatible URL, and batch-testing multiple model configs from YAML. k6 runs as its own SLURM job inside a container on the cluster, so load generation does not happen locally.