You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Victor Seva 047f7e3036
scenarios/callee.csv: Add testuser1 info
13 years ago
scenarios scenarios/callee.csv: Add testuser1 info 13 years ago
.gitignore check.py: use proper "main" 13 years ago
README use templates for tests 13 years ago
check.py Added help option and try to be more verbose on usage messages 13 years ago
config_debug.pl Added help option and try to be more verbose on usage messages 13 years ago
create_domain.pl Initial version. 13 years ago
create_subscribers.pl Initial version. 13 years ago
delete_domain.pl delete_domain.pl: do not try to delete an nonexistent domain. 13 years ago
generate_tests.sh use templates for tests 13 years ago
graph_flow.pl Added help option and try to be more verbose on usage messages 13 years ago
restart_log.sh Initial version. 13 years ago
run_tests.sh Added help option and try to be more verbose on usage messages 13 years ago
set_subscribers_preferences.pl Initial version. 13 years ago
show_flow.pl Added help option and try to be more verbose on usage messages 13 years ago
sipp.sh sipp.sh: fix FD_SETSIZE error 13 years ago
test_check.py check.py: fix regex search when the val is not a string. 13 years ago
ulog_parser.pl Added help option and try to be more verbose on usage messages 13 years ago

README

Kamailio configuration tests
----------------------------

Requeriments:
-------------
 - A working NGCP
 - sipp with ssl enabled ( needed for auth ).
   We provide a version backported to wheezy
 - python-yaml
 - libgraphviz-perl
 - libtemplate-perl

Installation:
-------------
  You can install the scripts in other place but you have
  to modify BASE_DIR on run_test.sh and scenarios/check.sh
  scripts.

  #cd /usr/local/src
  #git clone git@git.mgm.sipwise.com:kamailio-config-tests
  #apt-get install python-yaml sip-tester \
                   libgraphviz-perl libtemplate-perl

Usage:
------
  PROFILE: "CE" the default
           "PRO"
  #bash /usr/local/src/kamailio-config-tests/run_tests.sh [-p PROFILE ]

  This will create 2 directories:
    - /usr/local/src/kamailio-config-tests/log
      with a directory per test with:
      - kamailio.log
      - parsed messages
      - sipp error logs
    - /usr/local/src/kamailio-config-tests/result
      with a directory per test with:
      - a tap file ( test results )
      - a png file ( routes flow )

 If you want to run test manually just exec this onces:
  #./config_debug.pl
  #ngcpcfg apply
 and run the check that you want:
  #./scenarios/check <checkname>

--
Victor Seva <vseva@sipwise.com>