* expires in Contact
* split logic between specific changes for a header and
common subst for any header, so both can be executed
* don't stop checking for network occurrences on first
match, line can have more than one occurrence
Change-Id: I682f39f93d14fd081241a9ed2674cddb25150248
* 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
* subst sipp ports for sender/receivers defined at scenarios.yml file
* fix some common substitutions
* subst ids from scenarios_ids.yml
* check.py fix some style issues
Change-Id: I245c76ff540851fa7c1248995476411f092b857c
* fix delete perm registration: subscriber needs to exists
move delete before deletion of domain
* bench.sh: obey PROFILE environment variable
* bin/config_debug.pl: set tcp for one of the extra_sockets
Change-Id: I4650058f22ffcac68fa44913e1b03ecf090c2f28
* this will filter common headers
* fix Content-Length substitution
* run_tests.sh: PROFILE environment as default
Change-Id: Ib0f42f3be6a378e8bfd5e32d7982687fc9869e4e
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
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
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
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
Added tests:
* scenarios/invite_hm
* scenarios/invite_hm_callforward
* scenarios/invite_hm_peerout
Add a new file descriptors for the tests:
* pro.yml
If the file is present and the PROFILE is CE, then
the test isskipped because not in scope.
Change-Id: I8da41d764ef352d3caf592f31894e0c58399ed07
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