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
- Analyze Application: Claude analyzes the user's request to understand the application's endpoints and critical paths.
- 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.
- Generate Load Test Scripts: Claude generates load test scripts (k6, JMeter, Artillery, etc.) based on the selected scenarios and application details.
- 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:
- Analyze the request and identify the need for a stress test on the /api/users endpoint.
- 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:
- Identify the need for a baseline load test to validate performance.
- 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
- Analyze application architecture and identify critical endpoints
- Define test scenarios (baseline, stress, spike, soak, scalability)
- Generate appropriate load test scripts using selected tool
- Configure performance thresholds and acceptance criteria
- Execute load tests and capture metrics
- 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 references
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: running-load-tests-23description: 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". Use when this capability is needed.4---5# Load Test Runner67Create and execute load tests using k6, JMeter, and Artillery to validate application performance under stress, spike, soak, and scalability scenarios.89## Overview1011This 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.1213## How It Works14151. **Analyze Application**: Claude analyzes the user's request to understand the application's endpoints and critical paths.162. **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.173. **Generate Load Test Scripts**: Claude generates load test scripts (k6, JMeter, Artillery, etc.) based on the selected scenarios and application details.184. **Define Performance Thresholds**: Claude defines performance thresholds and provides execution instructions for the generated scripts.1920## When to Use This Skill2122This skill activates when you need to:23- Create load tests for a web application or API.24- Validate the performance of an application under different load conditions.25- Identify performance bottlenecks and breaking points.2627## Examples2829### Example 1: Creating a Stress Test3031User request: "Create a stress test for the /api/users endpoint to simulate 1000 concurrent users."3233The skill will:341. Analyze the request and identify the need for a stress test on the /api/users endpoint.352. Generate a k6 script that simulates 1000 concurrent users hitting the /api/users endpoint.3637### Example 2: Validating Performance After a Code Change3839User request: "Validate the performance of the application after the recent code changes with a baseline load test."4041The skill will:421. Identify the need for a baseline load test to validate performance.432. Generate a JMeter script that simulates normal traffic patterns for the application.4445## Best Practices4647- **Realistic Scenarios**: Define load test scenarios that accurately reflect real-world usage patterns.48- **Threshold Definition**: Establish clear performance thresholds to identify potential issues.49- **Iterative Testing**: Run load tests iteratively to identify and address performance bottlenecks early in the development cycle.5051## Integration5253This 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.5455## Prerequisites5657- Load testing tools installed (k6, JMeter, or Artillery)58- Access to target application endpoints59- Test scenario definitions and expected load patterns60- Results storage location at ${CLAUDE_SKILL_DIR}/load-tests/6162## Instructions63641. Analyze application architecture and identify critical endpoints652. Define test scenarios (baseline, stress, spike, soak, scalability)663. Generate appropriate load test scripts using selected tool674. Configure performance thresholds and acceptance criteria685. Execute load tests and capture metrics696. Analyze results and identify performance bottlenecks7071## Output7273- Load test scripts (k6, JMeter, or Artillery format)74- Test execution logs and metrics75- Performance reports with response times and throughput76- Threshold violation alerts77- Recommendations for performance improvements7879## Error Handling8081If load test execution fails:82- Verify tool installation and configuration83- Check network connectivity to target endpoints84- Validate authentication and authorization85- Review test script syntax and parameters86- Ensure sufficient system resources for test execution8788## Resources8990- k6 documentation and examples91- JMeter user manual and best practices92- Artillery load testing guides93- Performance testing methodology references9495---96> Converted and distributed by [TomeVault](https://tomevault.io/claim/jeremylongshore) — claim your Tome and manage your conversions.97<!-- tomevault:4.0:skill_md:2026-04-11 -->