When defining a test script in testRTC you can add multiple profiles to be used in your
test:
There are two different allocation algorithms that you can use:
There are two different allocation algorithms that you can use:
- Round-robin
- Random
Round-robin probes allocation
By default, profiles are allocated for the probes needed for the test in a round-robin fashion. This means that profiles are allocated sequentially to the probes one after the other, and once no more profiles are available, the allocation algorithm will start from the first profile again for the next probe.
Assume we have 10 probes configured in a test with 4 profiles. Here is how the allocation of
profiles to probes will be:
Probe number | Profile allocated |
---|---|
Probe #1 | Profile #1 |
Probe #2 | Profile #2 |
Probe #3 | Profile #3 |
Probe #4 | Profile #4 |
Probe #5 | Profile #1 |
Probe #6 | Profile #2 |
Probe #7 | Profile #3 |
Probe #8 | Profile #4 |
Probe #9 | Profile #1 |
Probe #10 | Profile #2 |
Note: testRTC ignores the session size you configure for the
test script altogether when matching probes to profiles.
Random probes allocation
If you would like, you can instruct testRTC to allocate the profiles to probes in a test randomly.
This can be done by adding the #random directive to the run options of your script.