> ## 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.

## Browse by Category

> [card] [Getting Started](https://docs.loadforge.com/examples/getting-started/rest-api.md)
>
> Basic examples for beginners - REST APIs, static content, and simple patterns

> [card] [Advanced API Testing](https://docs.loadforge.com/examples/advanced-api-testing/graphql-api.md)
>
> GraphQL, gRPC, XML-RPC, and advanced API testing patterns

> [card] [Authentication & Security](https://docs.loadforge.com/examples/authentication-security/simple-api-key-testing.md)
>
> OAuth, JWT, API keys, and secure authentication patterns

> [card] [Performance Testing](https://docs.loadforge.com/examples/performance-testing/controlling-request-rates.md)
>
> Stress testing, spike testing, and performance validation

> [card] [Browser Testing](https://docs.loadforge.com/examples/browser-testing/basic-browser-navigation.md)
>
> Selenium-based browser automation and user flow testing

> [card] [Real-Time Applications](https://docs.loadforge.com/examples/real-time-applications/websockets.md)
>
> WebSockets, SSE, polling, and real-time communication testing

> [card] [E-Commerce & Business](https://docs.loadforge.com/examples/ecommerce-business/shopping-cart-apis.md)
>
> Shopping carts, checkout flows, and business process testing

> [card] [Modern Web Frameworks](https://docs.loadforge.com/examples/modern-web-frameworks/spa-load-test.md)
>
> React, Vue, Angular, and modern JavaScript framework testing

## 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

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

## Get Started

> [card] [Ready to run these examples?](https://app.loadforge.com/register)
>
> Create your free LoadForge account and paste any example script to start load testing in minutes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.