k11 Performance QA

v0.2.0
io.github.K11-Software-Solutions/performance-qa Checked 9 hours ago Published 4 days ago

Load tests from your API flows: latency SLOs and significant regressions as release evidence.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

perf_config Performance config

Environments (and whether load is allowed and why), scenarios with their flows, SLOs, regression settings, guardrails, the engine that would run (k6 if installed, else builtin) and the saved baselines.

review_perf_plan Review performance plan

Call before the first load test of a new or changed plan. Checks the request (what the user asked for, in their words) and .qa-mcp/perf.yaml for the decisions a load test needs a person to make: SLOs per endpoint (percentile, ms, error rate), the peak load and where it comes from, duration and ramp-up, test data, and the environment's size relative to production. Deterministic (no LLM). Returns {ready, questions, assumptions, next}; each question has kind, question, why and, where it applies, quote. If ready is false, show the questions to the user and s…

ParameterTypeDescription
requeststring
scenario

run_load_test Run load test

Run a load test and write .qa-mcp/perf-report/ (JSON evidence for the Release Gate, Markdown, samples). Returns the verdict, findings (server errors, SLO breaches, statistically significant regressions), per-endpoint latency (p50/p95/p99), errors and throughput, and the baseline comparison. Overrides (vus, duration like '30s', ramp_up, max_rps, engine 'k6'|'builtin') are still capped by the guardrails. Refused on production-like environments and when data-changing flows target a read-only environment.

ParameterTypeDescription
compare_baselineboolean
duration
engine
environment
max_rps
ramp_up
scenario
vus

save_baseline Save baseline

Save the baseline later runs are compared with. from_last_run=True uses the last completed run's samples (.qa-mcp/perf-report/samples.json); otherwise runs the scenario now and saves it. Do this on main or a release you trust, not on the branch under test.

ParameterTypeDescription
duration
environment
from_last_runboolean
scenario
vus

import_jmeter_results Import JMeter results

Analyse an existing JMeter results file (.jtl, CSV with a header row or XML) inside the project exactly like a run of our own: per-endpoint latency (endpoints are sampler labels; name them 'GET /orders/{id}'), SLOs, the baseline comparison and findings, written to .qa-mcp/perf-report/ for the Release Gate. scenario defaults to 'jmeter'; use the same scenario and environment for the baseline and later imports. save_as_baseline=True stores these results as the baseline instead of comparing.

ParameterTypeDescription
path *string
compare_baselineboolean
environment
save_as_baselineboolean
scenario

get_report Get report

The last run's report. With endpoint ('GET /orders/{id}'), that endpoint's full detail: latency percentiles, status codes, SLO results, baseline comparison and example errors.

ParameterTypeDescription
endpoint

init_perf_config Create performance config

Write a starter .qa-mcp/perf.yaml (scenario, profile, SLOs, regression settings, guardrails). Environments and auth stay in .qa-mcp/api-test.yaml.

ParameterTypeDescription
overwriteboolean