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 2628aa7fbe
split logic. run_tests.sh runs the sipp scenarios. get_results.sh generates the tap files.
13 years ago
bin split logic. run_tests.sh runs the sipp scenarios. get_results.sh generates the tap files. 13 years ago
debian split logic. run_tests.sh runs the sipp scenarios. get_results.sh generates the tap files. 13 years ago
scenarios scenarios/invite_speeddial: fix PRO profile 13 years ago
.gitignore ignore generated tests files 13 years ago
README split logic. run_tests.sh runs the sipp scenarios. get_results.sh generates the tap files. 13 years ago
get_results.sh split logic. run_tests.sh runs the sipp scenarios. get_results.sh generates the tap files. 13 years ago
run_tests.sh split logic. run_tests.sh runs the sipp scenarios. get_results.sh generates the tap files. 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
 - ngcp-ossbss-clients-perl
 - parallel

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 \
                   ngcp-ossbss-clients-perl parallel

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

  This will create:
    - /usr/local/src/kamailio-config-tests/log
      with a directory per test with:
      - kamailio.log
      - parsed messages
      - sipp error logs

  #bash /usr/local/src/kamailio-config-tests/get_result.sh [-p PROFILE ] [-g]

  This will create:
    - /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 use -g option

 If you want to run test manually just exec this onces:
  #./bin/config_debug.pl on
  #ngcpcfg apply
 and run the check that you want:
  #./bin/check.sh <checkname>
 this will run the test and the result taps

--
Victor Seva <vseva@sipwise.com>