k6-load-testing

Featured

Comprehensive k6 load testing skill for API, browser, and scalability testing. Write realistic load scenarios, analyze results, and integrate with CI/CD.

Testing & QA 27,632 stars 2848 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# k6 Load Testing ## Overview k6 is a modern, developer-centric load testing tool that helps you write and execute performance tests for HTTP APIs, WebSocket endpoints, and browser scenarios. This skill provides comprehensive guidance on writing realistic load tests, configuring test scenarios (smoke, load, stress, spike, soak), analyzing results, and integrating with CI/CD pipelines. Use this skill when you need to validate system performance, identify bottlenecks, ensure SLA compliance, or catch performance regressions before deployment. --- ## When to Use This Skill - Use when you need to load test HTTP APIs, WebSocket endpoints, or browser scenarios - Use when setting up performance regression tests in CI/CD - Use when analyzing system behavior under various load conditions - Use when comparing performance between code changes - Use when validating SLA requirements and performance budgets --- ## k6 Basics ### Installation ```bash # macOS brew install k6 # Windows choco install k6 # Linux sudo gpg -k sudo gpg --no-default-keyring --keyring /usr/share/keyrings/k6-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C5AD17C747E3415A3642D57D77C6C491D6AC1D69 echo "deb [signed-by=/usr/share/keyrings/k6-archive-keyring.gpg] https://dl.k6.io/deb stable main" | sudo tee /etc/apt/sources.list.d/k6.list sudo apt-get update sudo apt-get install k6 ``` ### Quick Start ```javascript // simple-test.js import http from 'k6/http'; import { check, sleep }...

Details

Author
davila7
Repository
davila7/claude-code-templates
Created
10 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Related Skills