The script move the kamailio json files from /tmp/cfgtest folder
to the log folder as stated in the README file. This is executed
at the end of each single test.
To be sure that the /tmp/cfgtest is in place, it creates the folder
before start the test and it deletes the folder afterwards.
Change-Id: I54426b4415898165c1c2ba8154d0761a869c85d4
* generate a link for every scenario on the fly if doesn't exist
* BASE_DIR has to be an absolute path
Change-Id: Ib50c641f127966b672646b8579d3a8b92bb76b55
* 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
* support dynamic checks with defined ids
* create_subscribers.pl generates scenario/scenario_ids.yml
* create_peers.pl will add peers info to it
* generate_test.pl will produce the final test_0XXX.tt2 with the
proper values
* we put the scenario_ids.yml in log if debug is needed
Example of scenarios_ids.yml:
---
customer_test:
id: 7
peer_00_host0:
id: 95
spce_test:
testuser1003:
uuid: 15dd6b9a-1b83-4d74-b630-be05d3fada77
Example of checks:
- return|ROUTE_SET_CALLEE_DIALOG:
$avp(lua_dlg_profile): [
"totalaccount:[% customer_test.id %]",
"totaluser:[% spce_test.testuser1003.uuid %]",
"total", "account:[% customer_test.id %]",
"user:[% spce_test.testuser1003.uuid %]"
]
Change-Id: I3d81bcae0865d9861b4f721618f2bc21f2db14b8
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
- fix check.py comparation when int -> string
- disable tcpdump by default ( new option -K to enable it)
- fix graph_flow for json ( new option --json )
Change-Id: I25f49ef6303b4e2e28c34fefd7860c744e6c3250
- bin/config_debug.pl: we need to deactivate dns_cache on lb
- bin/scenario.pl: generates scenario hosts file + adds info on scenario.csv
- bin/check.sh: uses the info from scenario.csv and hosts files
bin/set_preferences.pl: Create prefs for domain, peer or subscriber
domain: "@domain.whatever"
peer: "peer_host" as on peer.yml
subscriber: "user@domain.whatever"
bin/upgrade_peer.pl: Added script to upgrade ip:host peer info.
- This is neeeded because we don't know for sure the port used on a responder
bin/check.sh: call upgrade_peerl script if needed
bin/scenario.pl: new peer_host option