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.
Overview
This documentation page provides an example of how to simulate a real user’s browsing behavior. It demonstrates a test that replicates user actions on the Locust documentation site. The test identifies all links in the site’s table of contents and then accesses these links in a randomized manner, mimicking a genuine user’s experience.Key Features
- Real User Simulation: This test accesses links with a random delay between 10 to 600 seconds, accurately simulating user load.
- Versatility: A prime example for those wanting to recreate real user actions on different websites.
- Driven by Locust: The power of locust.io backs LoadForge, an esteemed open-source load testing tool.
LoadForge offers a comprehensive test generation wizard. This tool can automatically discover content on your domain and incorporate it into your test file, streamlining the process.
Test Script
Outlined below is the Python script underpinning this test:LoadForge operates on locust.io’s foundation. Thus, if you’re a current user of locust, this script is fully compatible. To amplify your testing strategies, consider importing your scripts into LoadForge.