For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Control Plane test scenarios configuration

You can configure Control Plane test scenarios in the dedicated section tests. This section contains the list of all test scenarios. Each test case has the following common parameters:

The settings for the generators have the following options:

Ramp Up

Ramp Up test case is used for plain throughput measurements. It consists of the following steps:

  1. Create session_count sessions.
  2. Sleep for the hold_time.
  3. Terminate all sessions.

See the example of the Ramp Up test configuration:

yaml

Stability Loop

Stability Loop test case includes the sessions churn during the main cycle of the run. This function uses ring as a session storage. The function should be used in the case when all requests are successful. The oldest sessions are deleted first. Each created session exists for the same period of time before deletion that equals (sessions_loop_count-sessions_count)/rate seconds. If the session creation fails, there is no immediate retry until next scheduled creation every sessions_count/rate seconds.

The test consists of the following steps:

  1. Create session_loop_count sessions.
  2. For the test_duration, create and delete sessions according to the configured rate.
  3. Terminate all sessions.

See the example of the Stability Loop test configuration:

yaml

Steady Loop

Steady Loop function acts similarly to Stability Loop, but it takes into account failed requests. It uses failed requests value as feedback for lowering the rate of the corresponding function pair. The function uses create/delete queues instead of ring. The created session goes to the end of the deleted queue and vice versa. Failed sessions are reattempted before successful ones.

The test consists of the following steps:

  1. Create session_loop_count sessions.
  2. For the test_duration, create and delete sessions according to the configured rate. If max_diff is not 0, try to keep successful creation and deletion counters within the max_diff range by slowing down faster actions.
  3. Terminate all sessions.

See the example of the Steady Loop test configuration:

yaml

MeasureRateCapacity

The test consists of the following steps:

  1. Create half of sessions_count sessions using the default rate.
  2. Set rates to start_rate.
  3. In the loop, create and delete no more than sessions_count sessions and change rate from start_rate to target_rate gradually over transition_duration time.
  4. Delete created sessions.

See the example of the MeasureRateCapacity test configuration:

yaml

RateMeasurement

The test consists of the following steps:

  1. Create sessions_loop_count sessions.
  2. In the loop, create and delete sessions within the sessions_count range for test_duration.
  3. Delete created sessions.

See the example of the RateMeasurement test configuration:

yaml

SessionMeasurement

The test consists of the following steps:

  1. Create sessions_increase_count sessions.
  2. In the loop, create and delete sessions within the sessions_count range for step_duration starting from session_increase_count session id.
  3. Delete created sessions.
  4. Repeat steps 1-3 session_steps times every time increasing starting session on sessions_increase_count amount

See the example of the SessionMeasurement test configuration:

yaml

ThroughputMeasure

ThroughputMeasure test acts as a binary search of maximum throughput with the acceptable packet loss. The test consists of the following steps:

See the example of the ThroughputMeasure test configuration:

yaml