api-load-tester
Installation
SKILL.md
API Load Tester
Overview
This skill generates realistic load test scripts from API definitions and executes them with proper ramp-up patterns, authentication flows, and assertions. It produces clear reports identifying breaking points, bottlenecks, and latency percentiles at each traffic level.
Instructions
Step 1: Choose Tool and Gather API Info
Prefer k6 for complex scenarios (multi-step flows, thresholds, custom metrics). Use wrk for quick single-endpoint benchmarks. Use autocannon if only Node.js is available.
- k6: the current release is v2.3.0 (v2.0.0 shipped 2026-05-11). Scripts written for v1 mostly still run, but v2 removed old commands: write
k6 cloud run script.js(thek6 cloud script.jsform is gone), use--summary-mode=disabledinstead of--no-summary, and dropexecutor: externally-controlledalong withk6 pause,resume,scaleandstatus. Useramping-vusorconstant-arrival-rateinstead. - autocannon (8.0.0): a Node.js benchmark with
-cfor connections and-dfor duration in seconds. Example:npx autocannon@8.0.0 -c 100 -d 60 "https://api.brightcart.io/api/search?q=laptop&page=1". - wrk: install it from your OS package manager (
brew install wrkorapt install wrk). It is single-endpoint only and has no scripted multi-step flows without Lua. Its current release was not checked for this skill.