locust-best-practices

Community

Master reliable load testing with Locust scripting.

Authormveselovski
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Developers and testers need a comprehensive guide to create, fix, and structure Locust load test scripts effectively, ensuring accurate and maintainable performance tests.

Core Features & Use Cases

  • Guidance for Writing Locust Scripts: Provides best practices for organizing code, handling authentication, and parameterizing tests.
  • Debugging and Fixing Failures: Explains how to ensure requests report failures correctly via catch_response and response.failure().
  • Use Case: Use this Skill to craft a robust load test for an API, including environment setup, user behavior modeling, and custom load shapes in Locust, for scalable and reliable performance testing.

Quick Start

Ask this Skill to generate a complete Locust file with proper structure, environment variable config, user classes, wait_time, and run commands, suitable for your test scenario.

Dependency Matrix

Required Modules

None required

Components

referencesscripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: locust-best-practices
Download link: https://github.com/mveselovski/lpnu-k6-testing/archive/main.zip#locust-best-practices

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.