Difference between revisions of "Test Performance OpenSER mengunakan SIPp"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: Gunakan Referensi http://www.openser.org/docs/openser-performance-tests/ Software yang digunakan * SIPp * OpenSER ==TM - Transaction-oriented tests==) |
Onnowpurbo (talk | contribs) |
||
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Gunakan Referensi | Gunakan Referensi | ||
− | http://www. | + | http://www.opensips.org/Resources/PerformanceTests |
Software yang digunakan | Software yang digunakan | ||
Line 7: | Line 7: | ||
* SIPp | * SIPp | ||
* OpenSER | * OpenSER | ||
+ | |||
+ | |||
+ | Instalasi SIPp sangat mudah menggunakan perintah | ||
+ | |||
+ | # apt-get install sipp sip-tester | ||
+ | |||
==TM - Transaction-oriented tests== | ==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== | ||
+ | |||
+ | * http://sipp.sourceforge.net/ | ||
+ | |||
+ | ==Pranala Menarik== | ||
+ | |||
+ | * [[Evaluasi dan Testing SIP]] | ||
+ | * [[OpenSER Softswitch]] | ||
+ | * [[VoIP]] | ||
+ | |||
+ | |||
+ | |||
+ | [[Category: VoIP]] | ||
+ | [[Category: Internet Telepon]] |
Latest revision as of 15:44, 10 May 2010
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