> ## Documentation Index
> Fetch the complete documentation index at: https://docs.loadforge.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LoadForge Examples

> Browse example Locust scripts for load testing various scenarios with LoadForge

Welcome to the LoadForge examples directory! Here you'll find a comprehensive collection of ready-to-use Locust test scripts for various load testing scenarios.

## What You'll Find Here

These examples demonstrate how to test different types of applications and APIs using LoadForge. Each example includes:

* **Complete working code** ready to use with LoadForge
* **Real-world use cases** for different testing scenarios
* **Best practices** for load testing specific technologies
* **Detailed explanations** of testing patterns

<Tip>
  All examples use Python and Locust, which are natively supported by LoadForge. You can copy any example and use it directly in your LoadForge tests.
</Tip>

## Browse by Category

<CardGroup cols={2}>
  <Card title="Getting Started" icon="rocket" href="/examples/getting-started/rest-api">
    Basic examples for beginners - REST APIs, static content, and simple patterns
  </Card>

  <Card title="Advanced API Testing" icon="code" href="/examples/advanced-api-testing/graphql-api">
    GraphQL, gRPC, XML-RPC, and advanced API testing patterns
  </Card>

  <Card title="Authentication & Security" icon="lock" href="/examples/authentication-security/simple-api-key-testing">
    OAuth, JWT, API keys, and secure authentication patterns
  </Card>

  <Card title="Performance Testing" icon="gauge-high" href="/examples/performance-testing/controlling-request-rates">
    Stress testing, spike testing, and performance validation
  </Card>

  <Card title="Browser Testing" icon="browser" href="/examples/browser-testing/basic-browser-navigation">
    Selenium-based browser automation and user flow testing
  </Card>

  <Card title="Real-Time Applications" icon="bolt" href="/examples/real-time-applications/websockets">
    WebSockets, SSE, polling, and real-time communication testing
  </Card>

  <Card title="E-Commerce & Business" icon="cart-shopping" href="/examples/ecommerce-business/shopping-cart-apis">
    Shopping carts, checkout flows, and business process testing
  </Card>

  <Card title="Modern Web Frameworks" icon="react" href="/examples/modern-web-frameworks/spa-load-test">
    React, Vue, Angular, and modern JavaScript framework testing
  </Card>
</CardGroup>

## Quick Start

1. **Browse the categories** to find an example that matches your use case
2. **Copy the example code** to your LoadForge test
3. **Customize** the URLs, parameters, and settings for your application
4. **Run your test** on LoadForge to see results

<Info>
  Need help choosing the right example? Check out our [Quick Start Guide](/quickstart) or contact support at [help@loadforge.com](mailto:help@loadforge.com)
</Info>

## Get Started

<Card title="Ready to run these examples?" icon="rocket" href="https://app.loadforge.com/register">
  Create your free LoadForge account and paste any example script to start load testing in minutes.
</Card>
