feat: [SRTP-1440] Add GPD message k6 stress test#146
Merged
davideragusi29 merged 12 commits intomainfrom Feb 17, 2026
Merged
Conversation
michele-fucito
approved these changes
Feb 16, 2026
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.
Description
This PR introduces a new k6 performance test targeting the GPD message endpoint and improves the maintainability of the performance testing suite. It adds per-VU authentication token management with automatic refresh to support long-running stress executions and extends shared utilities to standardize payload generation and endpoint configuration. The overall objective is to provide a reliable, reusable, and clearly documented stress test aligned with production-like scenarios.
List of changes
gpd-message-finder.jsk6 performance testgpdMessagein sharedendpointsgenerateIuv()utilitygeneratePositiveLong()utilitybuildGpdMessagePayload()payload builderACTOR_CREDENTIALS_MAPwith RTP_CONSUMERrun-tests.shremoving activation file cleanup blockMotivation and context
A dedicated stress test for the GPD message endpoint was missing, and token handling was not suitable for extended executions, potentially leading to authentication failures. This change ensures stable long-running performance tests by introducing a per-VU token lifecycle strategy and improving code clarity through reusable utilities and documentation.
Aggregation level
Test type
Type of changes
Test Results
Did you update secrets accordingly?
.secrets_template.yamlDid you update dependencies accordingly?
Other information