* bin/sipp.sh: add option to set SIP SERVER_IP
* bin/check.sh: add option to set SIP SERVER_IP
* bin/scenario.pl: add server_ip info to scenario_ids.yml file
* bin/get_config.pl: add server_ip info to output
* bin/run_tests.sh: get server_ip from config and use it
Change-Id: If7a2284827df344eaecfdb5671146a9a79e81ea8
Since 3.6.0 sipp is throwing a warning that doesn't
change behavior but we detect an error file as failed
sipp execution for responders
So let's clean the known error from error files and
remove the empty ones after
See details at https://github.com/SIPp/sipp/issues/497
* bin/sipp.sh: add -e option to define error file
* bin/check.sh: use -e option with the proper filename
so there's no need to move the files later
Change-Id: I5ce4b73d858d928f4bc9ec89bfe8658fad48b6e6
* check for dirs with a scenario.yml file
* remove some shellcheck warnings:
SC2207: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Change-Id: I88b48fcc9668c3be26755472d6001f630a341fca
Additionally increased the timeout of the sipp simulations.
This is necessary to avoid failures of the tests in case kamailio
takes a bit more time to preocess the incoming SIP message.
Change-Id: I60856430f28b081d74e484b2346894dd13a38d11
* fix sipp transport arguments
* change port range of media from 6003 to 46003 for responders
* change port range of media from 7002 to 45003 for senders
* change port from 50602 to 51602 for senders
Change-Id: Ia76daeb9098e05d67c6fb95ebe945cdb59c8a493
Fixing the test -z -n mess I notice
that ./run_test.sh needed a missing -J
for creating the initial KAM_DIR (cfgtest)
Change-Id: Ic0832c977657248852f5795cd35851f881299cf9
scenario.yml:
scenarios:
- ip: 127.126.0.1
user: testuser1002
domain: spce.test
username: testuser1002
password: testuser
responders:
- ip: 127.1.0.1
number: 4311003
user: testuser1003
domain: spce.test
register: yes
username: testuser1003
password: testuser
bin/scenario.pl: script to generate the csv files from a scenario.yml
bin/check.sh:
- calls bin/scenario.pl to generate needed csv files.
- uses the generated scenario.csv file to know the ip of the caller/callee.
- don't need to do any unreg. All locations are removed before run any scenario.
bin/sipp.sh:
- callee.csv and caller.csv are now in the test dir
- no peer.csv