Files let you ship data alongside your tests. When you upload a file in LoadForge, it is automatically made available on all runners for your team under theDocumentation Index
Fetch the complete documentation index at: https://docs.loadforge.com/llms.txt
Use this file to discover all available pages before exploring further.
files/ directory, so your test code can open it directly.
What files are for
- CSV datasets for data-driven scenarios
- JSON config or fixtures
- Text lists (e.g., usernames, URLs)
Files are team-scoped and synced to every worker. You do not need to upload them per region or run.
Where files live
- Path on runners:
files/{your_file_name} - Supported extensions:
.csv,.json,.txt
Using files in Locust
CSV example
JSON example
Best practices
- Keep files reasonably small for fast sync
- Load once in
on_startrather than per request - Use structured formats (CSV/JSON) when possible
- Validate rows and handle missing fields
Related
- See API:
POST /api/v2/filesto create files programmatically - See API:
GET /api/v2/filesto list files