Open
Conversation
Collaborator
Author
0ec7ad7 to
9b8acb3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of change
Description
This PR introduces a new HTTP Load Testing scenario plugin for krkn, enabling users to simulate heavy HTTP traffic against services, routes, or ingresses within Kubernetes/OpenShift clusters. This feature is similar to popular load testing tools like Gatling and Goku, but integrated directly into the krkn chaos engineering framework.
Key Features
Core Functionality
Load Testing Capabilities
Metrics & Monitoring
Use Cases
Implementation Details
New Files Created
krkn/scenario_plugins/http_load/__init__.py- Package initializationkrkn/scenario_plugins/http_load/http_load_scenario_plugin.py- Main plugin (263 lines)tests/test_http_load_scenario_plugin.py- Comprehensive unit tests (30 tests)scenarios/kube/http_load_test.yaml- Example configurationdocs/http_load_scenarios.md- Comprehensive documentationcontainers/http-load-tester/- Container image files (Dockerfile, entrypoint.sh)Architecture
Technology Stack
Related Tickets & Documents
Documentation
docs/http_load_scenarios.mdHTTP_LOAD_IMPLEMENTATION_SUMMARY.mdcontainers/http-load-tester/README.mdRelated Documentation PR
krkn-chaos/website#245
Checklist before requesting a review
Test Results
Unit Test Execution
Test Output
Code Coverage Report
python -m coverage run -a -m pytest tests/test_http_load_scenario_plugin.py -v python -m coverage report --include="krkn/scenario_plugins/http_load/*"Coverage Output
Coverage: 87% (exceeds the 80% requirement)
Test Coverage Breakdown
Test Categories (30 tests total)
Key Test Scenarios Covered
Configuration Example
Additional Testing
Integration Testing
The plugin has been tested with:
Manual Testing
Verified functionality with:
Backward Compatibility
✅ 100% Backward Compatible
Code Quality
Performance Impact
Security Considerations
Next Steps
After merge:
quay.io/krkn-chaos/krkn-http-load:latestReferences