[sr-dev] [kamailio] debugger: config test report (#8)

Victor Seva linuxmaniac at torreviejawireless.org
Wed Dec 10 11:22:39 CET 2014


On 12/10/2014 10:34 AM, Olle E. Johansson wrote:
> 
> On 10 Dec 2014, at 10:14, Victor Seva <linuxmaniac at torreviejawireless.org> wrote:
> 
>> I really want to see this but one of the things we want is to test the
>> configuration and the use of the variables.
> Can you give some examples?

Sure, this is what we use [0]. Highly tight to NGCP Sipwise ( creation
of domain, subscribers, etc...)

Attached the output of an invite test scenario [1]:
 - log invite.tar.bz2
 - results invite.zip

another using variable checks [2]:
 - log register_allowip.tar.bz2
 - results register_allowip.zip

I think you can get the idea. Parse the kamailio.log, produce msg_id.yml
files, test those files with the msg_id_test.yml files producing
msg_id_test.tap files with the results.

[0] https://github.com/sipwise/kamailio-config-tests/
[1]
https://github.com/sipwise/kamailio-config-tests/tree/master/scenarios/invite
[2]
https://github.com/sipwise/kamailio-config-tests/tree/master/scenarios/register_allowip


-------------- next part --------------
A non-text attachment was scrubbed...
Name: invite.tar.bz2
Type: application/x-bzip
Size: 78774 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20141210/7db0eb07/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: invite.zip
Type: application/zip
Size: 2740 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20141210/7db0eb07/attachment-0002.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: register_allowip.tar.bz2
Type: application/x-bzip
Size: 9510 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20141210/7db0eb07/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: register_allowip.zip
Type: application/zip
Size: 1230 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20141210/7db0eb07/attachment-0003.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20141210/7db0eb07/attachment-0001.pgp>


More information about the sr-dev mailing list