load-testing

Automate load and performance testing of APIs with k6 and vegeta.

1|1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/dennisonbertram/go-agent-harness --skill load-testing-dennisonbertram
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: load-testing
Source: https://github.com/dennisonbertram/go-agent-harness/tree/main/skills/load-testing
Command: npx skills add https://github.com/dennisonbertram/go-agent-harness --skill load-testing-dennisonbertram

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Load-testing APIs and services can be tedious and error-prone without repeatable, automated workflows. This skill provides structured guidance and ready-to-run patterns for measuring latency, throughput, and stability under varied loads using popular tools like k6 and vegeta.

Core Features & Use Cases

  • Provides end-to-end load and performance testing patterns for APIs and microservices.
  • Supports k6 for JavaScript-based scenarios and vegeta for simple, fast throughput tests.
  • Includes ramp-up, steady-state, soak, and spike test patterns, plus thresholds and result analysis for CI/CD.

Quick Start

Run a basic load test against your target URL with a simple k6 script to observe latency, throughput, and error rates.

Frequently Asked Questions about load-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate API load testing in CI/CD pipelines?

You can automate API load testing in CI/CD using this skill to apply structured k6 and vegeta workflows. It provides ready-to-run patterns for ramp-up, steady-state, and soak tests with automated threshold validation and results analysis.

What is the difference between soak and spike testing for microservices?

Soak testing evaluates microservices stability under sustained load over time, while spike testing measures behavior during sudden traffic surges. This skill provides standardized execution patterns for both soak and spike tests to measure latency and throughput.

Does this load-testing skill work with both k6 and vegeta?

Yes, this load-testing skill works with both k6 and vegeta. It supports k6 for JavaScript-based testing scenarios and vegeta for simple, fast throughput tests across API endpoints and microservices.

How do I measure API latency and throughput under stress?

You measure API latency and throughput by running ramp-up and steady-state load tests against your target URL. This skill automates the configuration and execution of these stress tests to capture error rates and performance metrics reliably.

What's the best way to validate performance thresholds for APIs?

The best way to validate performance thresholds for APIs is by applying automated test patterns within your CI/CD pipeline. This skill specifies execution details and threshold validation rules to ensure APIs remain stable under varied loads.

Can I use JavaScript to write custom API performance testing scenarios?

Yes, you can use JavaScript to write custom API performance testing scenarios via k6 support. This skill applies k6 workflows to structure and automate your latency and throughput tests with specific execution configurations.