k6-load-test

Design and execute k6 load, stress, and spike tests for web applications and APIs.

19|5|Updated Nov 23, 2025
One-click install
npx skills add https://github.com/Nir-Bhay/markups --skill k6-load-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: k6-load-test
Source: https://github.com/Nir-Bhay/markups/tree/main/.agents/skills/k6-load-test
Command: npx skills add https://github.com/Nir-Bhay/markups --skill k6-load-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you design, execute, and analyze performance tests for your applications using the k6 framework, ensuring scalability and reliability.

Core Features & Use Cases

  • Load, Stress, Spike, Soak Testing: Define various test scenarios to simulate different traffic patterns.
  • Custom Metrics & Thresholds: Monitor key performance indicators and set pass/fail criteria.
  • Data-Driven Testing: Use external data sources (like CSV) for realistic test inputs.
  • CI/CD Integration: Automate performance testing within your development pipeline.
  • Use Case: Simulate 1000 concurrent users accessing your e-commerce site during a flash sale to identify performance bottlenecks before they impact real customers.

Quick Start

Execute a basic k6 load test script named 'basic_test.js' with 50 virtual users for 10 minutes.

Frequently Asked Questions about k6-load-test

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

FAQPage Schema
How do I write a k6 load testing script for API performance validation?

You can use k6 for stress testing by defining test configurations that simulate extreme traffic patterns. This helps identify performance bottlenecks and ensure scalability by gradually increasing virtual users beyond normal operational capacity.

Can I automate k6 performance tests within a CI/CD pipeline?

Yes, k6 supports data-driven testing by using external data sources like CSV files for realistic test inputs. This allows you to parameterize your load testing scripts and simulate diverse user behaviors during performance tests.

What is the best way to simulate concurrent users accessing an e-commerce site during a flash sale?

The best way to simulate concurrent users during a flash sale is using k6 load testing to define specific traffic scenarios. You can configure hundreds of virtual users to simultaneously access your web application and identify performance bottlenecks.

Does k6 support custom metrics and thresholds for stress testing web applications?

Yes, k6 supports custom metrics and thresholds for stress testing web applications. You can monitor key performance indicators during stress tests and set explicit pass/fail criteria to ensure your application meets reliability standards.