- Home
- Skills
- Testing & Debugging
- performance-testing-k6-pro
Works with the AI Agents you already use
Performance Testing k6 Pro
by Matthew King
Professional performance test planning and k6 script automation aligned with ISTQB standards.
Free
performance-testing-k6-pro
Example session with this skill installed
Create a load profile and k6 script for our checkout API. We expect 500 orders per hour at peak, with a p95 response time limit of 200ms.
- Read your context and instructions
- Compiled the performance-testing-k6-pro
I've generated a k6 project scaffold.
Load Profile: Peak 0.14 orders/sec (500/hr).
Test Type: Load Test (Average Peak).
import http from 'k6/http';
import { check, sleep } from 'k6';
export const options = {
scenarios: {
checkout_load: {
executor: 'ramping-arrival-rate',
startRate: 0,
timeUnit: '1s',
preAllocatedVUs: 10,
maxVUs: 50,
stages: [
{ target: 0.14, duration: '2m' }, // Ramp up
{ target: 0.14, duration: '10m' }, // Plateau
{ target: 0, duration: '2m' }, // Ramp down
],
},
},
thresholds: {
'http_req_duration{scenario:checkout_load}': ['p(95)<200'],
'http_req_failed': ['rate<0.01'],
},
};
export default function () {
const res = http.post(`${__ENV.BASE_URL}/v1/checkout`, JSON.stringify({ item_id: 'prod_123' }), {
headers: { 'Content-Type': 'application/json' },
});
check(res, { 'status is 201': (r) => r.status === 201 });
}
Validated with: k6 inspect checkout.js (Success).
Connects securely to your tools. The creator never sees your data.
About this skill
Advanced Performance Engineering and k6 Automation
Transform vague performance requirements into production-ready test suites. This skill acts as a senior performance architect and k6 engineer, bridging the gap between high-level business goals and technical execution. It solves the common problem of "testing in the dark" by applying ISTQB-aligned principles to identify risks, model realistic workloads, and generate maintainable test code.
What it does
- Strategic Planning: Generates comprehensive performance test plans covering risk assessment, environment requirements, and success criteria.
- Workload Modeling: Converts user personas and production analytics into precise operational and load profiles (RPS, concurrency, pacing).
- k6 Scaffolding: Builds modular, industry-standard k6 projects with support for arrival-rate executors, environment variable management, and threshold definitions.
- Expert Review: Analyzes and scores existing test plans out of 100, identifying gaps in monitoring, data setup, or risk coverage.
- SLA Discovery: Provides a structured "discovery + baseline" framework when formal SLAs or non-functional requirements are missing.
Why use this skill
Instead of manually writing boiler-plate k6 scripts or guessing at load levels, this skill ensures your performance testing is scientifically sound and risk-based. It follows a strict "safety first" approach, sequencing tests from smoke to stress, and includes a mandatory validation step using k6 inspect to ensure generated scripts are syntactically correct and ready for execution.
- Does not provide real-time production monitoring or SLO tracking.
- Requires external k6 binary for script execution.
- Cannot physically provision cloud load injectors.
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 buying a skill.
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
6 uses
Times used to date
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 5 months ago
- Free with an Agensi account
Permissions
Allowed Hosts
What's inside
Frequently Asked Questions
New in Testing & Debugging
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.