Skip to content

Vizzuality/load-testing

Repository files navigation

load-testing

PoC Load Testing framework using Locust and uv package manager.

Setup

This project uses uv for dependency management and ruff for code linting.

Prerequisites

  • Python 3.12+
  • uv package manager

Installation

  1. Clone the repository
  2. Install dependencies:
    uv sync

Usage

Running Load Tests with WebUI

uv run locust -f locustfile.py

Available Scenarios

  • Basic (locustfile.py): Web application load testing with different user types
  • API (tests/scenarios/api_scenario.py): REST API testing with various HTTP methods (not implemented yet)

Configuration

The project uses pyproject.toml for configuration:

  • Dependencies: Regular dependencies in [project.dependencies]
  • Dev Dependencies: Development tools in [dependency-groups.dev]
  • Ruff Settings: Code linting and formatting in [tool.ruff]

About

PoC Load Testing framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages