Monday, September 12, 2016
How to install Tsung Good Load testing opensource tool for xmpp jabber server
How to install Tsung Good Load testing opensource tool for xmpp jabber server
Are you loooking for a best xmpp/jabber load testing open source (free tool), then TSUNG is a good solution for you.
Tsung is protocol independent and can be used to test Jabber, XMPP, HTTP, SOAP, LDAP and PostgreSQL server.
Tsung can simulate millions request from a machine.
TSUNG INSTALLATION:
Download and Install Erlang:
http://www.erlang.org/download.html
Click on Additional Packages > https://www.erlang-solutions.com/downloads/download-erlang-otp Confirm Ubuntu tab
1. Adding repository entry
To add Erlang Solutions repository (including our public key for apt-secure) to your system, call the following commands:
wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
Go to /etc/apt/
sudo gedit sources.list
Check distribution you are running,
run lsb_release -c
Add one of the following lines to your /etc/apt/sources.list (according to your distribution): at last in sources.txt
deb http://packages.erlang-solutions.com/ubuntu trusty contrib
db http://packages.erlang-solutions.com/ubuntu saucy contrib
db http://packages.erlang-solutions.com/ubuntu precise contrib
2. Installing Erlang
Refresh the repository cache and install the erlang package.
sudo apt-get update
sudo apt-get install erlang
$ su
# Perl Templating-Toolkit and the Gnu plotting utility to create HTML and graphical reports with the result data set.
$ apt-get install gnuplot-nox libtemplate-perl libhtml-template-perl libhtml-template-expr-perl
Run: tsung -f myconfigfile.xml start
LOg: cd to the log directory of your test (say ~/.tsung/log/20040325-16:33/) To generate Report
/usr/lib/tsung/bin/tsung_stats.pl
Open Firefox report.html to see results
** Beware of the dumptraffic attribute. You might want to set it to false for a real load test.
** maxusers=numeric value should be add in clint if testing max users.
Important Links:
http://www.erlang.se/euc/05/0930Remond.pdf
http://www.process-one.net/en/tsung/
http://beebole.com/blog/erlang/test-performance-and-scalability-of-your-web-applications-with-tsung/
##https://github.com/lavrin/euc-2014/blob/master/README.md
Tsung is protocol independent and can be used to test Jabber, XMPP, HTTP, SOAP, LDAP and PostgreSQL server.
Tsung can simulate millions request from a machine.
TSUNG INSTALLATION:
Download and Install Erlang:
http://www.erlang.org/download.html
Click on Additional Packages > https://www.erlang-solutions.com/downloads/download-erlang-otp Confirm Ubuntu tab
1. Adding repository entry
To add Erlang Solutions repository (including our public key for apt-secure) to your system, call the following commands:
wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
Go to /etc/apt/
sudo gedit sources.list
Check distribution you are running,
run lsb_release -c
Add one of the following lines to your /etc/apt/sources.list (according to your distribution): at last in sources.txt
deb http://packages.erlang-solutions.com/ubuntu trusty contrib
db http://packages.erlang-solutions.com/ubuntu saucy contrib
db http://packages.erlang-solutions.com/ubuntu precise contrib
2. Installing Erlang
Refresh the repository cache and install the erlang package.
sudo apt-get update
sudo apt-get install erlang
$ su
# Perl Templating-Toolkit and the Gnu plotting utility to create HTML and graphical reports with the result data set.
$ apt-get install gnuplot-nox libtemplate-perl libhtml-template-perl libhtml-template-expr-perl
Run: tsung -f myconfigfile.xml start
LOg: cd to the log directory of your test (say ~/.tsung/log/20040325-16:33/) To generate Report
/usr/lib/tsung/bin/tsung_stats.pl
Open Firefox report.html to see results
** Beware of the dumptraffic attribute. You might want to set it to false for a real load test.
** maxusers=numeric value should be add in clint if testing max users.
Important Links:
http://www.erlang.se/euc/05/0930Remond.pdf
http://www.process-one.net/en/tsung/
http://beebole.com/blog/erlang/test-performance-and-scalability-of-your-web-applications-with-tsung/
##https://github.com/lavrin/euc-2014/blob/master/README.md
Go to link Download
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment