Use for load, stress, and scalability testing of applications and APIs. Covers k6 (Grafana), JMeter, Gatling, Artillery, and Lighthouse for web performance audits. Includes test type definitions, key metrics, thresholds, CI integration patterns, and performance budgets.
USE FOR: k6, JMeter, Gatling, Artillery, Lighthouse, load testing, stress testing, performance benchmarks, Core Web Vitals, throughput testing, spike testing, soak testing, capacity planning, performance budgets
DO NOT USE FOR: functional API testing (use api-testing), browser E2E tests (use e2e-testing), visual regression (use visual-testing)
Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.
Quelldateien prüfen
Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Ein direkter Befehl überspringt den Prüf-Prompt. Prüfen Sie die Quelle, bevor Sie ihn ausführen.
Use for load, stress, and scalability testing of applications and APIs. Covers k6 (Grafana), JMeter, Gatling, Artillery, and Lighthouse for web performance audits. Includes test type definitions, key metrics, thresholds, CI integration patterns, and performance budgets.
USE FOR: k6, JMeter, Gatling, Artillery, Lighthouse, load testing, stress testing, performance benchmarks, Core Web Vitals, throughput testing, spike testing, soak testing, capacity planning, performance budgets
DO NOT USE FOR: functional API testing (use api-testing), browser E2E tests (use e2e-testing), visual regression (use visual-testing)
Performance testing validates that your application meets speed, stability, and scalability requirements under expected and extreme conditions. It answers questions like "How many concurrent users can we handle?", "What's the 99th percentile response time?", and "Where does the system break?".
# Basic run
k6 run tests/performance/load-test.k6.js
# With environment variables
k6 run tests/performance/load-test.k6.js --env BASE_URL=https://staging.example.com
# Output to multiple destinations
k6 run tests/performance/load-test.k6.js \
--out json=results.json \
--out influxdb=http://localhost:8086/k6
# k6 cloud (Grafana Cloud k6)
k6 cloud tests/performance/load-test.k6.js
Artillery
YAML Configuration Example
# tests/performance/artillery-config.ymlconfig:target:"https://staging-api.example.com"phases:-name:"Warm up"duration:60# secondsarrivalRate:5# new virtual users per second-name:"Ramp up"duration:120arrivalRate:5rampTo:50-name:"Sustained load"duration:300arrivalRate:50defaults:headers:Authorization:"Bearer {{ $processEnvironment.AUTH_TOKEN }}"Content-Type:"application/json"ensure:thresholds:-http.response_time.p95:500-http.response_time.p99:1000-http.codes.200:95# 95% of responses must be 200plugins:expect: {}
scenarios:-name:"Browse and purchase flow"flow:-get:url:"/api/products"expect:-statusCode:200-hasProperty:"body.length"capture:-json:"$[0].id"as:"productId"-think:2-get:url:"/api/products/{{ productId }}"expect:-statusCode:200-think:1-post:url:"/api/cart"json:productId:"{{ productId }}"quantity:1expect:-statusCode:201
Running Artillery
# Install Artillery
npm install -g artillery
# Run test
artillery run tests/performance/artillery-config.yml
# Run with environment overrides
artillery run tests/performance/artillery-config.yml --target https://staging.example.com
# Generate HTML report
artillery run tests/performance/artillery-config.yml --output results.json
artillery report results.json --output report.html
# Quick one-liner smoke test
artillery quick --count 10 --num 5 https://staging-api.example.com/api/health
JMeter
Overview
Apache JMeter is a mature load testing tool with a GUI for building test plans and a CLI mode for CI execution.
# Run with Maven
mvn gatling:test# Run with Gradle
gradle gatlingRun
# Run specific simulation
mvn gatling:test -Dgatling.simulationClass=simulations.BasicSimulation
Lighthouse
Overview
Lighthouse audits web performance, accessibility, best practices, and SEO. It measures Core Web Vitals and provides actionable improvement suggestions.