Skip to content

Files

Latest commit

author
Balazs Kreith
Feb 23, 2020
4654709 · Feb 23, 2020

History

History

tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 7, 2017
Feb 22, 2020
Feb 23, 2020
Oct 2, 2017
Feb 22, 2020
Feb 22, 2020
Nov 27, 2018
Jan 12, 2019
Dec 15, 2018
Dec 16, 2018
Dec 16, 2018
Dec 16, 2018
Sep 8, 2017
Feb 22, 2020
Feb 23, 2020
Mar 18, 2017
Mar 18, 2017
Dec 16, 2018
Dec 15, 2018
Mar 21, 2017
Dec 15, 2018
Nov 22, 2016
Dec 15, 2018
Feb 22, 2020
Dec 15, 2018

Tests for gst-mprtp

To test the plugin a sender and receiver is built. The sender and receiver need to run in a separate namespace. This is done by a tester application.

Compile and Run

You need to setup the testbed for the test, so please run:

./scripts/setup_testbed.sh

After that you can run tests by type:

python3 tester/main.py TEST_ARGUMENTS

Tester

the tester is the orchastraetor, controls the test and evalute the results.

usage: main.py [-h] [-l {50,100,150,300} [{50,100,150,300} ...]]
               [-j JITTER [JITTER ...]] [-a {FRACTaL,SCReAM}] [-r RUNS]
               [-t TARGET] [-s SOURCE] [-i SINK] [-u SUBFLOWS_NUM] [--tcp TCP]
               [--vqmt VQMT]
               {rmcat1,rmcat2,rmcat3,rmcat4,rmcat5,rmcat6,rmcat7,mprtp1,mprtp2,mprtp3,mprtp4,mprtp5,mprtp6,mprtp7,mprtp8,mprtp9,mprtp10,mprtp11}
               [{rmcat1,rmcat2,rmcat3,rmcat4,rmcat5,rmcat6,rmcat7,mprtp1,mprtp2,mprtp3,mprtp4,mprtp5,mprtp6,mprtp7,mprtp8,mprtp9,mprtp10,mprtp11} ...]

positional arguments:
  {rmcat1,rmcat2,rmcat3,rmcat4,rmcat5,rmcat6,rmcat7,mprtp1,mprtp2,mprtp3,mprtp4,mprtp5,mprtp6,mprtp7,mprtp8,mprtp9,mprtp10,mprtp11}
                        The type of the test

optional arguments:
  -h, --help            show this help message and exit
  -l {50,100,150,300} [{50,100,150,300} ...], --latency {50,100,150,300} [{50,100,150,300} ...]
                        The late ncy of the path
  -j JITTER [JITTER ...], --jitter JITTER [JITTER ...]
                        The jitter for the test
  -a {FRACTaL,SCReAM}, --algorithm {FRACTaL,SCReAM}
                        The algorithm for the test
  -r RUNS, --runs RUNS  The runtimes
  -t TARGET, --target TARGET
                        The target directory
  -s SOURCE, --source SOURCE
                        The source type format
  -i SINK, --sink SINK  The sink type format
  -u SUBFLOWS_NUM, --subflows_num SUBFLOWS_NUM
                        The number of subflows we want
  --tcp TCP             TCP Indicator
  --vqmt VQMT           Calculate metrics video quality metrics using VQMT
                        after the run

Examples

python3 tester/main.py rmcat1 -l 100 -j 10 -a FRACTaL

Runs a test type of RMCAT 1, in which the latency between the sender and receiver is 100ms, the jitter is 10ms, and the used algorithm is FRACTaL.