Test Performance OpenSER mengunakan SIPp
Revision as of 12:00, 10 February 2010 by Onnowpurbo (talk | contribs)
Gunakan Referensi
http://www.opensips.org/Resources/PerformanceTests
Software yang digunakan
* SIPp * OpenSER
Instalasi SIPp sangat mudah menggunakan perintah
# apt-get install sipp sip-tester
TM - Transaction-oriented tests
Asumsi
IP Server 192.168.0.2
Siapkan file
* uac_msg.xml di sisi CLIENT * cfg-test-uas.cfg di sisi SERVER * sfg-test-relay.cfg di sisi RELAY / PROXY SERVER jika ada.
Test konfigurasi di SERVER apakah sudah baik atau belum menggunakan perintah
# openser -c -f /etc/openser/cfg-test-uas.cfg
Jalankan di SERVER
# openser -f /etc/openser/cfg-test-uas.cfg
Jalankan di CLIENT
$ sipp -sf uac_msg.xml 192.168.0.2:5060 -m 200000 -r 10000 -d 1 -l 70
atau
$ sipp -sn uac 192.168.0.2:5060 -m 200000 -r 10000 -d 1 -l 70
Beberapa Contoh Parameter
cps 4000+ cps simultan 70
$ sipp -sn uac 192.168.0.2:5060 -m 200000 -r 10000 -d 1 -l 70
cps 99+ cps simultan 1-2
$ sipp -sn uac 192.168.0.2:5060 -m 20000 -r 100 -d 10 -l 20000
cps 1000+ simultan 10000
$ sipp -sn uac -d 10000 -s 1235 192.168.0.2 -r 1000 -l 200000 -mp 5606
cps 2000+ simultan 20000 (equivalen dengan STO di kota Lampung)
$ sipp -sn uac -d 10000 -s 1235 192.168.0.2 -r 2000 -l 200000 -mp 5606
cps 3000+ simultan 30000
$ sipp -sn uac -d 10000 -s 1235 192.168.0.2 -r 3000 -l 400000 -mp 5606
Referensi