- Home
- Skills
- Testing & Debugging
- Load Testing with k6: Find Your Breaking Point First
Works with the AI Agents you already use
Load Testing with k6: Find Your Breaking Point First
Writes realistic k6 load tests from your routes or OpenAPI spec: user journeys, ramp-up, spike and soak profiles, thresholds tied to SLOs. Runs them, reads the results and tells you the bottleneck and the fix.
$6.99
Load Testing with k6: Find Your Breaking Point First
Example session with this skill installed
Load test our checkout API before Black Friday. Expect 300 orders/minute peak. Staging is staging.shop.dev.
- Read your context and instructions
- Compiled the load testing
Script load/checkout.js (journeys: browse 70%, cart 20%, checkout 10%)
export const options = {
scenarios: { peak: { executor: 'ramping-arrival-rate', startRate: 10, timeUnit: '1s', preAllocatedVUs: 200,
stages: [{ target: 50, duration: '5m' }, { target: 50, duration: '10m' }, { target: 150, duration: '5m' }] } },
thresholds: { 'http_req_duration{journey:checkout}': ['p(95)<800'], http_req_failed: ['rate<0.01'] },
};
(50 req/s total ≈ 300 checkouts/min at a 10% share; final stage is 3× for stress.)
Results on staging
| Journey | p95 at peak | p95 at 3× | Errors at 3× |
|---|---|---|---|
| browse | 120 ms | 210 ms | 0% |
| cart | 180 ms | 450 ms | 0.2% |
| checkout | 690 ms ✅ | 4.8 s ❌ | 7.5% |
Knee: checkout latency bends at ~95 req/s. DB metrics show the connection pool pinned at 10/10 and SELECT ... FROM inventory WHERE sku = $1 FOR UPDATE waiting.
Fixes: raise pool to 30 (DB allows 100), add index on inventory(sku), move the confirmation email to a queue. Re-run the stress stage after deploy; target p95 < 800 ms at 3×.
Connects securely to your tools. The creator never sees your data.
About this skill
Writes realistic k6 load tests from your routes or OpenAPI spec: user journeys, ramp-up, spike and soak profiles, thresholds tied to SLOs. Runs them, reads the results and tells you the bottleneck and the fix.
How it works
- Model real traffic
- Profiles
- Script rules
- Run and read
- Diagnose
Use it when
You say load test, stress test, how many users can we handle, performance test before launch, k6, the API is slow under traffic, or capacity planning.
Why this one
- Concrete output: code, tables and next steps you can act on today
- Verifies before it claims: no generic advice
- Works with Claude Code, Codex CLI, Cursor, Gemini CLI and any SKILL.md agent
More by Ignasi: 8 bundles (Ship to Production, Founder Growth, Investor Research and more) save up to 52%.
Defaults to staging environments. Requires k6 installed locally to execute commands. Server-side diagnosis depends on provided logs or metrics.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed today
Permissions
No special permissions declared or detected