Back to Skills

running-load-tests

jeremylongshore
Updated Yesterday
21 views
712
74
712
View on GitHub
Metaaitestingdesign

About

This skill enables Claude to generate and execute load test scripts using tools like k6, JMeter, and Artillery for performance validation. Use it when you need to create load tests, conduct performance or stress testing, or identify application breaking points. It helps define performance thresholds and provides execution instructions for the generated scripts.

Documentation

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.

Quick Install

/plugin add https://github.com/jeremylongshore/claude-code-plugins-plus/tree/main/load-test-runner

Copy and paste this command in Claude Code to install this skill

GitHub 仓库

jeremylongshore/claude-code-plugins-plus
Path: backups/skills-batch-20251204-000554/plugins/performance/load-test-runner/skills/load-test-runner
aiautomationclaude-codedevopsmarketplacemcp

Related Skills

sglang

Meta

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

View skill

evaluating-llms-harness

Testing

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

View skill

llamaguard

Other

LlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.

View skill

langchain

Meta

LangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.

View skill