-
Notifications
You must be signed in to change notification settings - Fork 5
K6 performance tests #245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
K6 performance tests #245
Conversation
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
…s, assets, epochs, governance and pools
- Disable governance and asset scenarios in smoke, soak, load, and stress tests. - Adjust weights for account and pool scenarios. - Introduce `shelley-era-endpoints` and `shelley-test-data` configs for Shelley-specific test coverage. - Remove response time checks in `checks.ts` to focus solely on functional correctness. - Modify thresholds to accommodate increased HTTP request duration. - Update types to include optional fields for future implementation of snapshot-dependent tests.
- Modularize test scenarios for epochs, pools, governance, and assets. - Introduce `apiClient` for consistent API requests and automated metrics tracking. - Simplify `checks` by removing the batch response check helper. - Adjust smoke, stress, load, and soak tests to include modularized scenarios. - Update test weights and configurations for improved clarity and usage simulation. - Remove unused types and helpers for cleaner codebase.
- Update smoke test configuration to use `externally-controlled` executor. - Remove unused random test methods from scenarios. - Add new counters for endpoint requests and errors in `metrics.ts`. - Enhance `randomSleep` helper with integer range support. - Adjust pool-related Shelley test data by removing inactive pool IDs. - Refine load test user scaling and weight distribution. - Improve API client for better error and metric tracking.
- Rename `testAccountEndpoints` to `testGetAccount` for improved clarity. - Update smoke, stress, load, and soak tests to use the renamed function. - Simplify `README.md` by removing deprecated report generation steps and clarifying result handling.
golddydev
approved these changes
Oct 14, 2025
- Remove redundant comments and annotations from thresholds and `shelley-era-endpoints`. - Relocate `buildUrl` to `helpers.ts` and update imports across scenarios. - Improve readability of helper functions with consistent formatting. - Simplify and consolidate Shelley-specific endpoint configurations.
whankinsiv
approved these changes
Oct 14, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We discussed potentially making these tests more useable by including the omnibus startup and a configuration file with the storage options which are needed for the tests. This can be addressed in a follow up PR if not already provided by the Blockfrost test suite.
This was referenced Oct 24, 2025
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.
What?
K6-based performance testing suite covering Acropolis Cardano node API endpoints.
Test Types:
Endpoints Tested For Milestone Completion:
See
src/config/shelley-era-endpoints.tsfor more information about the endpoints tested.Test Data:
Notes:
Example Dashboard Report
https://acropolisk6s.grafana.net/public-dashboards/bce534bdc1654b7f975fb2e802e2166e