agentleFS
XData-siXData-si/xdata-agenthub/skills/load-testing/SKILL.md

load-testing

Skill1 starsChanged 32 days agoMITView on GitHub

Plan, run and interpret load and performance tests (k6, Locust, Gatling, JMeter) — realistic workload models, test types, environment parity, metrics and bottleneck analysis. Use before launches or traffic peaks, after architecture changes, or when capacity limits are unknown.

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use frontend-design.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • BlockSkill

    frontend-design

    Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Test plan, scripts in the repository, results report, identified limits and recommendations.

    line 39
  2. Distinctive:

    Never load-test production or third-party services without written approval and coordination.

    line 42

“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Load Testing

Goal

Know the system's capacity and failure behaviour under realistic load, with results that are reproducible and tied to SLOs.

Inputs

  • Traffic profile from production analytics (requests per second by endpoint, payload sizes, user journeys, peaks), SLOs, test environment description, data set size.

Procedure

  1. Define questions: maximum sustainable throughput at SLO latency; behaviour at 2× peak; recovery after overload; memory leaks over hours.
  2. Choose test types: load (expected peak), stress (beyond peak until failure), spike (sudden jumps), soak (hours at normal load).
  3. Model the workload: mix of journeys with think times and realistic data distribution; open model (arrival rate) for public traffic rather than a fixed number of looping users.
  4. Prepare the environment: production-like sizing and data volume; isolated from real users; external dependencies stubbed or rate-agreed; monitoring on all tiers.
  5. Run with warm-up, steady state and ramp-down; record client-side and server-side metrics (latency percentiles, error rate, CPU, memory, database connections, queue depth, GC).
  6. Find the bottleneck: the first resource to saturate; confirm with profiling (see performance-profiling); change one thing and re-test.
  7. Report against SLOs with the exact load-generator version, script revision, environment and data set.

Example fixture

// k6: open model, 200 requests/s for 10 minutes with thresholds
export const options = {
  scenarios: { checkout: { executor: 'constant-arrival-rate', rate: 200, timeUnit: '1s', duration: '10m', preAllocatedVUs: 300 } },
  thresholds: { http_req_failed: ['rate<0.01'], http_req_duration: ['p(95)<400'] },
};

Acceptance checks

  • Results include p50, p95, p99 latency, error rate and resource saturation, with the workload model documented.
  • The load generator itself was not the bottleneck (its CPU and network checked).
  • Negative case: at the overload point the system sheds load or degrades gracefully (errors are fast 429/503, not timeouts that cascade).

Output

Test plan, scripts in the repository, results report, identified limits and recommendations.

Safety

Never load-test production or third-party services without written approval and coordination; schedule tests, notify on-call, and have a stop procedure. Use synthetic data only.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.