load-testing

Designs k6 load, stress, spike, and soak test scenarios with thresholds and CI/CD integration.

3|2|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/Yoodaddy0311/artibot --skill load-testing-yoodaddy0311
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: load-testing
Source: https://github.com/Yoodaddy0311/artibot/tree/main/plugins/artibot/skills/load-testing
Command: npx skills add https://github.com/Yoodaddy0311/artibot --skill load-testing-yoodaddy0311

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams often ship APIs without knowing how they behave under real traffic, discovering bottlenecks only after production incidents. This Skill provides structured k6-based performance testing guidance so you can establish baselines, enforce SLA/SLO thresholds, and catch capacity limits before deployment. ## Core Features & Use Cases - Scenario Design: Pre-built patterns for smoke, load, stress, spike, and soak tests with appropriate VU counts and durations. - Threshold Quality Gates: Define p95/p99 latency and error-rate thresholds with abortOnFail so CI pipelines fail automatically on regressions. - CI/CD Integration: Ready-to-adapt GitHub Actions workflow that installs k6, runs tests, and archives JSON results. - Use Case: Before launching a new API endpoint, generate a load test script with p95 < 500ms and error rate < 1% thresholds, wire it into your pull request pipeline, and record the performance baseline for future comparison. ## Quick Start Ask the AI to create a k6 load test script for your API endpoint with p95 latency and error-rate thresholds, then integrate it into your GitHub Actions workflow.

Frequently Asked Questions about load-testing

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 an options object with stages for ramp-up, steady state, and ramp-down, then write a default function that makes HTTP requests and validates responses with checks. Add thresholds like p(95)<500 for latency and rate<0.01 for failures to enforce performance criteria.

What is the difference between load, stress, spike, and soak tests?▼

Load tests verify behavior under expected traffic, stress tests find breaking points by gradually increasing load, spike tests check resilience to sudden traffic surges, and soak tests run normal load for hours to detect memory leaks and degradation.

How do I integrate k6 load tests into GitHub Actions CI/CD?▼

Install k6 via the official apt repository in a workflow step, run your test script with k6 run, and upload the JSON results as an artifact. Thresholds with abortOnFail cause non-zero exit codes, failing the pipeline automatically on regressions.

What are good performance thresholds for API load testing?▼

Common baselines are p95 response time under 500ms, p99 under 1 second, and error rate below 1%. You can also set per-endpoint thresholds using tags, such as stricter limits for search endpoints versus login.

When should I not use k6 load testing?▼

k6 load testing does not apply to unit tests, functional correctness tests, or UI rendering performance. Use Lighthouse for frontend rendering metrics and dedicated security scanners for network vulnerability assessment instead.