Skip to content

Kanon is a powerful CLI and CI tool designed for efficient HTTP load testing. It allows users to easily configure requests, view detailed metrics, and integrate seamlessly into CI pipelines. ๐Ÿ› ๏ธ๐Ÿš€

Notifications You must be signed in to change notification settings

godziller728/kanon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Kanon: HTTP Load-Testing CLI and CI Application ๐Ÿš€

Kanon Logo

Welcome to Kanon, your go-to tool for HTTP load testing. This command-line interface (CLI) and continuous integration (CI) application helps you ensure your web applications can handle traffic efficiently.

Table of Contents

Introduction

Kanon is designed for developers and testers who need to simulate traffic to their web applications. It supports various platforms, including Linux and macOS, and integrates seamlessly with CI/CD pipelines. With Kanon, you can run load tests, analyze performance, and identify bottlenecks before they affect your users.

Features

  • Cross-Platform: Works on Linux and macOS.
  • Docker Support: Easily deploy Kanon in a containerized environment.
  • Gradle Integration: Simplify your build process with Gradle support.
  • JVM and Kotlin: Built with modern technologies for performance and reliability.
  • Comprehensive Reporting: View detailed reports of your load tests.
  • Continuous Integration: Integrate with CI tools to automate your testing.

Installation

To get started with Kanon, you need to download the latest release. Visit the Releases section to find the appropriate package for your system. Download and execute the file as instructed.

Prerequisites

  • Java Development Kit (JDK) installed on your machine.
  • Docker (if you choose to run in a container).
  • Gradle (for building from source).

Usage

After installing Kanon, you can run it from the command line. The basic command structure is as follows:

kanon [options] <target-url>

Options

  • -h, --help: Show help information.
  • -c, --config <file>: Specify a configuration file.
  • -r, --report: Generate a report after the test.
  • -d, --duration <time>: Set the duration of the test.

Configuration

Kanon allows you to configure various parameters for your load tests. You can create a configuration file in JSON or YAML format. Hereโ€™s an example of a basic configuration:

target:
  url: "http://example.com"
load:
  users: 100
  ramp_up: 10
duration: "5m"

Place this file in your working directory and reference it using the -c option.

Running Tests

To execute a load test, run the following command:

kanon -c path/to/config.yaml

Kanon will start the load test based on the parameters defined in your configuration file. Monitor the console output for real-time updates.

Viewing Results

Once the test completes, Kanon generates a report. You can view this report in the console or save it to a file. Use the -r option to specify the output file format:

kanon -c path/to/config.yaml -r report.html

Open the generated report in your browser to analyze the results.

Contributing

We welcome contributions to Kanon. To get started:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your branch and submit a pull request.

Please ensure your code follows the project's coding standards and includes tests where applicable.

License

Kanon is licensed under the MIT License. See the LICENSE file for more details.

Contact

For questions or feedback, feel free to reach out:

Releases

To download the latest version of Kanon, visit the Releases section. Download the file, execute it, and start testing your applications today!

Download Kanon


Thank you for using Kanon. We hope it helps you achieve your load testing goals efficiently!

About

Kanon is a powerful CLI and CI tool designed for efficient HTTP load testing. It allows users to easily configure requests, view detailed metrics, and integrate seamlessly into CI pipelines. ๐Ÿ› ๏ธ๐Ÿš€

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •