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:
- Create
session_countsessions. - Sleep for the
hold_time. - Terminate all sessions.
See the example of the Ramp Up test configuration:
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:
- Create
session_loop_countsessions. - For the
test_duration, create and delete sessions according to the configured rate. - Terminate all sessions.
See the example of the Stability Loop test configuration:
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:
- Create
session_loop_countsessions. - For the
test_duration, create and delete sessions according to the configured rate. If max_diff is not0, try to keep successful creation and deletion counters within the max_diff range by slowing down faster actions. - Terminate all sessions.
See the example of the Steady Loop test configuration:
MeasureRateCapacity
The test consists of the following steps:
- Create half of
sessions_countsessions using the default rate. - Set rates to
start_rate. - In the loop, create and delete no more than
sessions_countsessions and change rate fromstart_ratetotarget_rategradually overtransition_durationtime. - Delete created sessions.
See the example of the MeasureRateCapacity test configuration:
RateMeasurement
The test consists of the following steps:
- Create
sessions_loop_countsessions. - In the loop, create and delete sessions within the
sessions_countrange fortest_duration. - Delete created sessions.
See the example of the RateMeasurement test configuration:
SessionMeasurement
The test consists of the following steps:
- Create
sessions_increase_countsessions. - In the loop, create and delete sessions within the
sessions_countrange forstep_durationstarting fromsession_increase_countsession id. - Delete created sessions.
- Repeat steps 1-3
session_stepstimes every time increasing starting session onsessions_increase_countamount
See the example of the SessionMeasurement test configuration:
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: