Endpoint selection parameter #40

Open
opened 2025-12-28 18:13:42 +00:00 by sami · 0 comments
Owner

Originally created by @EESergey on GitHub (Dec 1, 2025).

If there are more endpoints than VU, not all endpoints will be used (in round-robin mode).
If one endpoint stops responding, all VU will very quickly start waiting for it to respond and stop sending requests to other endpoints (in random mode).
The load distribution across endpoints may be uneven, repeatability of test results is not always good (in random mode).
Depending on the testing goals, I want to have the option to choose.

Describe the solution you'd like

Add a parameter that defines the VU's endpoint selection algorithm.
For example: -e ENDPOINT_SELECTION=round-robin or -e ENDPOINT_SELECTION=random
round-robin: current behavior
random: default value, behavior before the commit nspcc-dev/xk6-neofs@81054d43c3

Additional context

This is only needed for S3 now, but it might be useful in other scenarios too.

Originally created by @EESergey on GitHub (Dec 1, 2025). ## Is your feature request related to a problem? Please describe. If there are more endpoints than VU, not all endpoints will be used (in round-robin mode). If one endpoint stops responding, all VU will very quickly start waiting for it to respond and stop sending requests to other endpoints (in random mode). The load distribution across endpoints may be uneven, repeatability of test results is not always good (in random mode). Depending on the testing goals, I want to have the option to choose. ## Describe the solution you'd like Add a parameter that defines the VU's endpoint selection algorithm. For example: `-e ENDPOINT_SELECTION=round-robin` or `-e ENDPOINT_SELECTION=random` round-robin: current behavior random: default value, behavior before the commit https://github.com/nspcc-dev/xk6-neofs/commit/81054d43c3e10d3e0a87d0ece69efa42a16c5e36 ## Additional context This is only needed for S3 now, but it might be useful in other scenarios too.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/xk6-neofs#40
No description provided.