Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurf+15 more

    Performance Testing k6 Pro

    by Matthew King

    1

    Professional performance test planning and k6 script automation aligned with ISTQB standards.

    Free

    Free forever. No account required to browse.

    0 installsSecurity scanned

    See it in action

    You say

    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.

    Your agent does

    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).

    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.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 1 month ago

    • Free forever, no account required

    Listed1 month ago

    Creator

    Building quality-driven AI solutions that streamline complex processes, improve decision-making, and deliver outcomes you can trust.

    Frequently Asked Questions

    Popular in Testing & QA

    Free