Setup Load Testing
Configure comprehensive load testing with performance metrics and bottleneck identification
$ npx claude-code-templates@latest --command="testing/setup-load-testing" --yesRequires Claude Code. The command adds this command to your project's .claudedirectory — nothing runs on ToolZip's servers.
What's inside this command
Component source
Setup Load Testing
Configure comprehensive load testing with performance analysis and bottleneck identification: $ARGUMENTS
Current Performance Context
- Application type: !
find . -name "server.js" -o -name "app.py" -o -name "main.go" | head -1 && echo "Server application" || echo "Detect app type" - API endpoints: !
grep -r "app\\.get\\|app\\.post\\|@RequestMapping" . 2>/dev/null | wc -ldetected endpoints - Database: !
find . -name "*.sql" -o -name "database.js" | head -1 && echo "Database detected" || echo "No database files" - Current monitoring: !
find . -name "prometheus.yml" -o -name "newrelic.js" | head -1 || echo "No monitoring detected"
Task
Implement comprehensive load testing with performance optimization and bottleneck analysis:
Testing Type: Use $ARGUMENTS to focus on capacity planning, stress testing, spike testing, endurance testing, or volume testing Load Testing Framework:- Strategy & Requirements - Analyze application architecture, define testing objectives, determine scenarios, identify performance metrics
- Tool Selection & Setup - Choose appropriate tools (k6, Artillery, JMeter, Gatling), install dependencies, configure environments
- Test Scenario Design - Create realistic user scenarios, implement API test scripts, configure data generation, design load patterns
- Performance Metrics - Configure response time monitoring, throughput measurement, error rate tracking, resource utilization monitoring
- Infrastructure Setup - Configure test environments, setup monitoring dashboards, implement result collection, optimize test execution
- Analysis & Optimization - Identify performance bottlenecks, analyze resource constraints, recommend optimizations, track improvements
Related Claude Code Commands
Generate Tests
Generate a complete test file for a specified source file or component. Use when the user explicitly asks to write, create, or generate tests for a specific file.
Test Coverage
Analyze and improve test coverage with comprehensive reporting and gap identification
Generate Test Cases
Generate comprehensive test cases with automatic analysis and coverage optimization
E2e Setup
Configure comprehensive end-to-end testing suite with framework selection and CI integration
Write Tests
Write comprehensive unit and integration tests with proper mocking and coverage
Test Automation Orchestrator
Orchestrate comprehensive test automation with intelligent execution and optimization
Catalog data and component content are sourced from the open-source davila7/claude-code-templates project (MIT license). ToolZip curates the listing and writes original descriptions; every component links back to its original source. Claude Code is a product of Anthropic. ToolZip is an independent catalog and is not affiliated with or endorsed by Anthropic.