Now we can define different module level of debug per scenario.
So we can have more info without changing the general config.yml
Change-Id: I64e5467eedf2c41827ab8de85835b0b6c09486eb
tool that reads info directly from scenario.yml
* check.sh: clean some shellcheck warnings
* bench.sh: fix group option
Change-Id: If736c42729e8fd32e964a5c9db7e47b289e916c8
* now it will be called *before* scenario is built
* introduced at b006dee9f8
TODO: move this external tool that can read scenario.yml info
directly
Change-Id: Ic85ceb2900ea137c96b7d3354d59439fa72a8a96
- invite_queue
- invite_group_serial
Some other tests has been prepared but not yet completed
- invite_group_parallel
- invite_xfer_blind_caller
- invite_xfer_blind_callee
Change-Id: I77f80495e85ba8691d4dc22c7807b945fac3325e
* remove invite_conference_update media file, this has to be a link
* ngcpcfg apply executed outside /etc/ngcp-config seems to generate
.ngcpcfg_perms file in $pwd so adding a workaround to avoid it
* bench.sh: support selecting the GROUP scenario
* show_flow_diff.pl: improve the diff output adding the values of
the flows not only the names
Change-Id: I40db8433595168ce8d3ef061f77f02a1616ed980
Add 'retrans: true' to the test.yml file and name
it '_test_retransmission.yml.tt2' instead of '_test.yml.tt2'
Change-Id: I2e83f773ed8a1ba537aedb61410db79fecbecf16
* From/To tag
* CSeq number
* WWW-Authenticate nonce
* Server Sipwise major version
* Content-Length >0
Change-Id: Ife7f3f6f791eb6b18b6538c99a9e612d9cb0cfa8
All ports 5080 are changed to 508[0|8] and all port 5085
are changed to 508[5|8].
This to allow to use the test als whtn b2b server is not
enabled.
Change-Id: Iec75fc5a92eb9bd09e1a0c4b2d2200df3006ed2e
Allow to filter out headers, match is case-insensitive
> ./bin/generate_test_tt2.pl -f Route -f Call-id -f via log/scenarios/invite/0001.json
Change-Id: Ia89792a99c36a375509bf4d8faea3f8950a2be25
* generate the scenario test_tt2 from kamailio cfgt json file
* show_sip to see sip_in and sip_out as SIP trace
Change-Id: I2b9d6872ffbc6775ab766b5fecc9975a69e64bd4
system-tester checks that logs have '0640' permissions and 'adm' group.
So we must preserve attributes during logs backup/restore procedure.
Change-Id: I02ec4cc10daa50ee85256259088507caa82741b3
The command
rtpengine-ctl -ip "${rtpengine_ctl_ip}" list interfaces
is used to check the number of rtp ports still open on the system
Change-Id: Id0e48aaf1f354cecf153db8102a5b5635e073287
* We want to be able to execute the tests with more than one
kamailio.proxy.process. So, don't set any value and added
the option to change it
Change-Id: I6fcf1af13b90341e85c784b2570565d52afb11f0
http://www.gnu.org/software/bash/manual/bashref.html
The exit status of a pipeline is the exit status of the last command in
the pipeline, unless the pipefail option is enabled (see The Set Builtin).
If pipefail is enabled, the pipeline's return status is the value of the
last (rightmost) command to exit with a non-zero status, or zero if all
commands exit successfully.
Change-Id: I708c3a48084e97ab2fc6186dfdd666e7f5ab5ee6
A new start and return from ROUTE_PREPARE_CALLER_CLI route
is necessary because of the outbound_pai_display preference check
Change-Id: Idef80c761fe881e3e78a52fbed1add7fcd6ccf1c
Helps to execute manually the tests. So run_tests.sh can be
called several times with -C options, skipping the config
* wrap-and-sort -sat
Change-Id: Id1426234a8fce3f0592016e2361d40ce256390af
* OPTIONS and SUBSCRIBE messages now use a different call_id
in order to don't be intercepted by the cfgt module and don't
create random packet ordering
* scenarios yml file reordering due to the removing of
OPTIONS and SUBSCRIBE messages
Change-Id: Ia804aca8d096bb949f5c35f8a81bc7d58f8bb9b4
* add -r by default
* allow selection of profile via option
* add and remove test config just once by default
Change-Id: I3894c0f338b79586da6fc3cdaace2594679fd38e
In case of sipp errors bin/check.sh was aborted without moving
the scenario_ids.yml, moving the json files and cleaning the
scenario's data if required.
Change-Id: Ibb1b5c1874476ff2f483488670f8c3953c38c58f
Call cfgt.clean RCP function at the end of the scenario execution
only if the json files were actually moved (SKIP_MOVE_JSON_KAM
not set). Otherwise the result will be to don't have any json
file generated.
Change-Id: I97f2b00516a8975c050f97a7ffecb47b2dceecd3
The option is triggered by run_tests.sh because it is already
taking care of the json file movement at the end of the scenarios
execution.
Change-Id: Ie609237b46c54734dc25f093351c89138a70d8f9
After JSON_KAM was enabled by default in commit 8618aa8 we lost
the possibility to disable it if necessary.
The option -J of bin/check.sh script now do the opposite: it is
used to disable JSON_KAM preference. Due to this change, the -J has
been removed from the script call in get_results.sh
Change-Id: I8ccc9d832ba808c72494dc27526e66ceff802a95
* This allows to run the same scenario without having to restart
kamailio-proxy every time
* set JSON_KAM as default
Change-Id: I0948095e318fa0220c16adfc52e124a9e6c35c67
The ROUTE_DROP has been anticipated in the kamailio config, therefore
the scenario needed a small rework.
Change-Id: I41ad18756a31a2953c4790ed7636ff3773081954