running-load-tests
Create and execute load tests for performance validation using k6, JMeter, and Artillery. Use when validating application performance under load conditions or identifying bottlenecks. Trigger with phrases like "run load test", "create stress test", or "validate performance under load".
Best use case
running-load-tests is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Create and execute load tests for performance validation using k6, JMeter, and Artillery. Use when validating application performance under load conditions or identifying bottlenecks. Trigger with phrases like "run load test", "create stress test", or "validate performance under load".
Teams using running-load-tests should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/running-load-tests/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How running-load-tests Compares
| Feature / Agent | running-load-tests | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Create and execute load tests for performance validation using k6, JMeter, and Artillery. Use when validating application performance under load conditions or identifying bottlenecks. Trigger with phrases like "run load test", "create stress test", or "validate performance under load".
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
SKILL.md Source
# Load Test Runner
Create and execute load tests using k6, JMeter, and Artillery to validate application performance under stress, spike, soak, and scalability scenarios.
## Overview
This skill empowers Claude to automate the creation and execution of load tests, ensuring applications can handle expected traffic and identify potential performance bottlenecks. It streamlines the process of defining test scenarios, generating scripts, and executing tests for comprehensive performance validation.
## How It Works
1. **Analyze Application**: Claude analyzes the user's request to understand the application's endpoints and critical paths.
2. **Identify Test Scenarios**: Claude identifies relevant test scenarios, such as baseline load, stress test, spike test, soak test, or scalability test, based on the user's requirements.
3. **Generate Load Test Scripts**: Claude generates load test scripts (k6, JMeter, Artillery, etc.) based on the selected scenarios and application details.
4. **Define Performance Thresholds**: Claude defines performance thresholds and provides execution instructions for the generated scripts.
## When to Use This Skill
This skill activates when you need to:
- Create load tests for a web application or API.
- Validate the performance of an application under different load conditions.
- Identify performance bottlenecks and breaking points.
## Examples
### Example 1: Creating a Stress Test
User request: "Create a stress test for the /api/users endpoint to simulate 1000 concurrent users."
The skill will:
1. Analyze the request and identify the need for a stress test on the /api/users endpoint.
2. Generate a k6 script that simulates 1000 concurrent users hitting the /api/users endpoint.
### Example 2: Validating Performance After a Code Change
User request: "Validate the performance of the application after the recent code changes with a baseline load test."
The skill will:
1. Identify the need for a baseline load test to validate performance.
2. Generate a JMeter script that simulates normal traffic patterns for the application.
## Best Practices
- **Realistic Scenarios**: Define load test scenarios that accurately reflect real-world usage patterns.
- **Threshold Definition**: Establish clear performance thresholds to identify potential issues.
- **Iterative Testing**: Run load tests iteratively to identify and address performance bottlenecks early in the development cycle.
## Integration
This skill can be integrated with CI/CD pipelines to automate performance testing as part of the deployment process. It can also be used in conjunction with monitoring tools to correlate performance metrics with application behavior.
## Prerequisites
- Load testing tools installed (k6, JMeter, or Artillery)
- Access to target application endpoints
- Test scenario definitions and expected load patterns
- Results storage location at ${CLAUDE_SKILL_DIR}/load-tests/
## Instructions
1. Analyze application architecture and identify critical endpoints
2. Define test scenarios (baseline, stress, spike, soak, scalability)
3. Generate appropriate load test scripts using selected tool
4. Configure performance thresholds and acceptance criteria
5. Execute load tests and capture metrics
6. Analyze results and identify performance bottlenecks
## Output
- Load test scripts (k6, JMeter, or Artillery format)
- Test execution logs and metrics
- Performance reports with response times and throughput
- Threshold violation alerts
- Recommendations for performance improvements
## Error Handling
If load test execution fails:
- Verify tool installation and configuration
- Check network connectivity to target endpoints
- Validate authentication and authorization
- Review test script syntax and parameters
- Ensure sufficient system resources for test execution
## Resources
- k6 documentation and examples
- JMeter user manual and best practices
- Artillery load testing guides
- Performance testing methodology referencesRelated Skills
generating-unit-tests
Test automatically generate comprehensive unit tests from source code covering happy paths, edge cases, and error conditions. Use when creating test coverage for functions, classes, or modules. Trigger with phrases like "generate unit tests", "create tests for", or "add test coverage".
managing-snapshot-tests
Create and validate component snapshots for UI regression testing. Use when performing specialized testing. Trigger with phrases like "update snapshots", "test UI snapshots", or "validate component snapshots".
running-smoke-tests
Execute fast smoke tests validating critical functionality after deployment. Use when performing specialized testing. Trigger with phrases like "run smoke tests", "quick validation", or "test critical paths".
tracking-regression-tests
Track and manage regression test suites across releases. Use when performing specialized testing. Trigger with phrases like "track regressions", "manage regression suite", or "validate against baseline".
running-performance-tests
Execute load testing, stress testing, and performance benchmarking. Use when performing specialized testing. Trigger with phrases like "run load tests", "test performance", or "benchmark the system".
running-mutation-tests
Execute mutation testing to evaluate test suite effectiveness. Use when performing specialized testing. Trigger with phrases like "run mutation tests", "test the tests", or "validate test effectiveness".
testing-load-balancers
Validate load balancer behavior, failover, and traffic distribution. Use when performing specialized testing. Trigger with phrases like "test load balancer", "validate failover", or "check traffic distribution".
running-integration-tests
Execute integration tests validating component interactions and system integration. Use when performing specialized testing. Trigger with phrases like "run integration tests", "test integration", or "validate component interactions".
running-e2e-tests
Execute end-to-end tests covering full user workflows across frontend and backend. Use when performing specialized testing. Trigger with phrases like "run end-to-end tests", "test user flows", or "execute E2E suite".
managing-database-tests
Test database testing including fixtures, transactions, and rollback management. Use when performing specialized testing. Trigger with phrases like "test the database", "run database tests", or "validate data integrity".
running-chaos-tests
Execute chaos engineering experiments to test system resilience. Use when performing specialized testing. Trigger with phrases like "run chaos tests", "test resilience", or "inject failures".
windsurf-load-scale
Scale Windsurf adoption across large organizations with workspace strategies and performance tuning. Use when rolling out Windsurf to 50+ developers, managing large monorepo workspaces, or planning enterprise-scale deployment. Trigger with phrases like "windsurf at scale", "windsurf large team", "windsurf monorepo", "windsurf organization", "windsurf 100 developers".