Skip to main content

Lightweight load-testing API and CLI built around FastAPI, k6, and decorator-based target registration.

Project description

LoaderUp

Lightweight load-testing API and CLI built around FastAPI, k6, and decorator-based target registration.

Requirements

  • Python >=3.12
  • uv (recommended package manager)
  • k6 (optional but recommended for real load runs)

Install

uv pip install -e .

Run API directly

python -m loader.main

Server starts on http://127.0.0.1:8000 by default.

Run via CLI

python -m loaderup.cli up --app loader.main:app --targets loader.demo_registry_target --reload

This command opens the dashboard automatically at http://127.0.0.1:8000/. Use --no-open-browser if you want to disable auto-open.

You can also use fallback-friendly forms like:

python -m loaderup.cli up --app main:app --targets demo_registry_targets --reload

Health check

curl http://127.0.0.1:8000/health

Dashboard

Open:

http://127.0.0.1:8000/

Dashboard includes:

  • live status + progress stream
  • metrics cards + quick chart bars
  • saved run history (persisted in artifacts/history/runs.jsonl)
  • React-based multi-tab control center (Run Now, Live, Registered Targets, History)

Notes

  • Registry targets are loaded when the module is imported.
  • Use /run/targets to submit explicit targets.
  • Use /run/registry to run all decorator-registered targets.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

loaderup-0.1.1.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

loaderup-0.1.1-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file loaderup-0.1.1.tar.gz.

File metadata

  • Download URL: loaderup-0.1.1.tar.gz
  • Upload date:
  • Size: 23.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for loaderup-0.1.1.tar.gz
Algorithm Hash digest
SHA256 07b7404e01890f42fc355442bd0e27ec11413c020c3029c2ca752f4da03b9496
MD5 078b9b41e6ec7e48d7db5c8a1ccb9ca2
BLAKE2b-256 2c325ce591b5c6378a912fabe3342c5b711569ca641e067c02fbd8ca6b2b16c6

See more details on using hashes here.

File details

Details for the file loaderup-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: loaderup-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 27.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for loaderup-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d965fc40c94183e590f6b74d0f4491e7c3e2c2f118bf45293319262d579147db
MD5 c83c97cf14e862eb83e00568ab617f9e
BLAKE2b-256 74fc033e6ded6bbfbfce2e4f49eedc51cb2084cccc6a58a78a7a1d0dfcffc85b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page