load-test

Design and execute k6 load tests validating system performance against latency and error-rate SLOs.

1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill load-test-kalilurrahman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: load-test
Source: https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts/tree/main/07-testing-quality/load-test
Command: npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill load-test-kalilurrahman

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams often discover performance limits only after production traffic hits them. This Skill provides a structured process to validate that a system meets its SLOs under expected, peak, spike, and sustained load before real users find the breaking point. ## Core Features & Use Cases - k6 Test Scripts: Generates realistic load test scripts with arrival-rate scenarios (steady load, ramp-up, spike), custom metrics, think time, and SLO thresholds that fail the test automatically. - Results Analysis: Computes P50/P95/P99 latency and error rates from k6 JSON output and checks them against defined SLO thresholds. - CI Integration: Runs load tests on a nightly schedule via GitHub Actions with artifact uploads for trend tracking. - Use Case: Before launching a checkout flow expected to handle 500 RPS, run steady-load, spike, and soak tests against staging to confirm P95 latency stays under 500ms and error rate under 0.1%. ## Quick Start Ask the AI to create a k6 load test for your staging API at 500 RPS validating P95 latency under 500ms and error rate under 0.1%.

Frequently Asked Questions about load-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a k6 load test script for my API?

Define scenarios using the constant-arrival-rate or ramping-arrival-rate executor with a target RPS, then model realistic user journeys with groups, checks, and think time. Add thresholds for P95 latency and error rate so the test fails automatically when SLOs are violated.

k6 vs JMeter for load testing APIs?

k6 uses JavaScript scripts with code-first configuration, built-in thresholds, and easy CI integration, making it well suited for developer workflows. JMeter uses XML test plans and a GUI, which fits Java enterprise environments with existing JMeter infrastructure.

Should I use virtual users or arrival rate for load testing?

Use arrival rate rather than VU count. Constant arrival rate generates a fixed number of requests per second regardless of response time, which models real traffic more accurately than a fixed pool of threads that slows down when the system degrades.

Can I run load tests against production safely?

Never run load tests against production without explicit traffic isolation. Use a production-like staging environment, start at 10% of target load to baseline, and ramp up gradually while monitoring database and resource utilization.

Why do load tests pass but production still fails under traffic?

Common causes include unrealistic traffic models that hammer one endpoint, missing think time, no spike or soak scenarios, and unmonitored database bottlenecks. Model the real request mix, add 1-5 second pauses, and run soak tests to catch memory leaks.