running-load-tests
Creates and executes performance and stress tests using tools like k6, JMeter, and Artillery.
Install
mkdir -p .claude/skills/running-load-tests && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/9194" && unzip -o skill.zip -d .claude/skills/running-load-tests && rm skill.zipInstalls to .claude/skills/running-load-tests
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Create and execute load tests for performance validation using k6, JMeter,Key capabilities
- →Analyze application endpoints and critical paths
- →Identify test scenarios like stress, spike, or soak tests
- →Generate load test scripts for k6, JMeter, or Artillery
- →Define performance thresholds for test execution
- →Provide execution instructions for generated scripts
How it works
This skill analyzes user requests to understand application endpoints and identify test scenarios, then generates load test scripts using k6, JMeter, or Artillery. It also defines performance thresholds and provides execution instructions.
Inputs & outputs
When to use running-load-tests
- →Validating system performance
- →Running spike tests
- →Identifying latency bottlenecks
- →Stress testing APIs
About this skill
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
Prerequisites
How it compares
This skill automates the creation and execution of load tests, generating scripts and defining thresholds, unlike manually writing scripts and configuring tests.
Compared to similar skills
running-load-tests side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| running-load-tests (this skill) | 1 | 27d | Review | Intermediate |
| chrome-devtools | 41 | 7mo | Review | Intermediate |
| code-coverage-with-gcov | 15 | 4mo | Review | Intermediate |
| angular-best-practices | 21 | 3mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jeremylongshore
View all by jeremylongshore →You might also like
chrome-devtools
mrgoonie
Browser automation, debugging, and performance analysis using Puppeteer CLI scripts. Use for automating browsers, taking screenshots, analyzing performance, monitoring network traffic, web scraping, form automation, and JavaScript debugging.
code-coverage-with-gcov
gadievron
Add gcov code coverage instrumentation to C/C++ projects
angular-best-practices
sickn33
Angular performance optimization and best practices guide. Use when writing, reviewing, or refactoring Angular code for optimal performance, bundle size, and rendering efficiency.
3d-games
davila7
3D game development principles. Rendering, shaders, physics, cameras.
perf-lighthouse
tech-leads-club
Run Lighthouse audits locally via CLI or Node API, parse and interpret reports, set performance budgets. Use when measuring site performance, understanding Lighthouse scores, setting up budgets, or integrating audits into CI. Triggers on: lighthouse, run lighthouse, lighthouse score, performance audit, performance budget.
react-best-practices
redpanda-data
Client-side React performance optimization patterns.