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.
- Introduction
- Features
- Installation
- Usage
- Configuration
- Running Tests
- Viewing Results
- Contributing
- License
- Contact
- Releases
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.
- 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.
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.
- Java Development Kit (JDK) installed on your machine.
- Docker (if you choose to run in a container).
- Gradle (for building from source).
After installing Kanon, you can run it from the command line. The basic command structure is as follows:
kanon [options] <target-url>
-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.
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.
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.
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.
We welcome contributions to Kanon. To get started:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your branch and submit a pull request.
Please ensure your code follows the project's coding standards and includes tests where applicable.
Kanon is licensed under the MIT License. See the LICENSE file for more details.
For questions or feedback, feel free to reach out:
- GitHub: godziller728
- Email: your-email@example.com
To download the latest version of Kanon, visit the Releases section. Download the file, execute it, and start testing your applications today!
Thank you for using Kanon. We hope it helps you achieve your load testing goals efficiently!