Skip to main content

Advanced CLI tool for load testing web applications and Telegram bots with multiple frameworks

Project description

 ██████╗██╗  ██╗ █████╗ ██╗  ██╗██╗      ██████╗  █████╗ ██████╗ 
██╔════╝██║  ██║██╔══██╗██║ ██╔╝██║     ██╔═══██╗██╔══██╗██╔══██╗
██║     ███████║███████║█████╔╝ ██║     ██║   ██║███████║██║  ██║
██║     ██╔══██║██╔══██║██╔═██╗ ██║     ██║   ██║██╔══██║██║  ██║
╚██████╗██║  ██║██║  ██║██║  ██╗███████╗╚██████╔╝██║  ██║██████╔╝
 ╚═════╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═╝╚══════╝ ╚═════╝ ╚═╝  ╚═╝╚═════╝ 

Comprehensive CLI tool for load testing web applications and Telegram bots with support for multiple frameworks (Locust, K6, Artillery, JMeter).

Features

  • Interactive terminal interface with color themes
  • Multiple load testing frameworks support
  • Built-in templates for common test scenarios
  • Real-time progress tracking
  • Detailed metrics and reporting
  • Command-based operation with / commands

Installation

pip install chakload-cli

Or using pipx:

pipx install chakload-cli

After installation, run the tool using:

chakload

External Dependencies

Some advanced frameworks require separate installation:

K6:

Locust:

  • Install via pip: pip install locust

JMeter:

Artillery:

  • Install via npm: npm install -g artillery

The built-in frameworks (simple, advanced) are included by default and require no additional installation.

Quick Start

Run the interactive CLI:

chakload

In the interactive mode, you can use commands like:

  • /framework locust - Select Locust as the testing framework
  • /type web-site - Select the type of test
  • /url https://example.com - Set the target URL
  • /users 100 - Set the number of concurrent users
  • /run - Start the load test

Command Reference

  • /help - Show available commands
  • /framework <name> - Select framework (locust, k6, artillery, jmeter)
  • /type <test-type> - Select test type (web-site, telegram-webhook, api-endpoint)
  • /config - Show current configuration
  • /run - Execute the test
  • /results - Show test results
  • /export <format> - Export results (json, csv, html)
  • /theme <name> - Change color theme
  • /exit - Exit the CLI

Supported Test Types

  • Web site testing (HTTP/HTTPS)
  • Telegram bot webhook testing
  • API endpoint testing
  • GraphQL endpoint testing
  • WebSocket connection testing

Supported Frameworks

  • Simple HTTP (Built-in, using requests library)
  • More frameworks coming soon (Locust, K6, Artillery, JMeter)

Configuration

Save and load configuration presets:

# Save current configuration
/config save my-test-config

# Load a saved configuration
/config load my-test-config

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

This project is licensed under the MIT License.

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

chakload_cli-1.0.0.tar.gz (2.7 MB view details)

Uploaded Source

Built Distribution

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

chakload_cli-1.0.0-py3-none-any.whl (3.2 MB view details)

Uploaded Python 3

File details

Details for the file chakload_cli-1.0.0.tar.gz.

File metadata

  • Download URL: chakload_cli-1.0.0.tar.gz
  • Upload date:
  • Size: 2.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for chakload_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e623365435df66584e25e69bef4053099fabea2dd4db3fd9589110f239dbb401
MD5 aebe20c966c399aa7563cad3bf829392
BLAKE2b-256 06a1320cf0b23a6f787bca56c9f0a1cc03606ceef57067d32fa0dbff4d0886a2

See more details on using hashes here.

File details

Details for the file chakload_cli-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: chakload_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for chakload_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca798654402aee18a9e0c3f23fcbde99fd71a6159f6d42f521726da3d76fcdcf
MD5 f1577109def17c521af87f19a4245763
BLAKE2b-256 6376100db1963b84f4c83c2bc013dc57d9e7d85027cb99077c9f429c5798effb

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