Questions tagged [tsung]

Tsung is an open-source multi-protocol distributed load testing tool.

Tsung is an open source multi-protocol distributed load tool.

The purpose of Tsung is to simulate users in order to test the scalability and performance of IP based client/server applications.

Tsung is written in Erlang to take advantage of that language’s concurrency support.
Tsung will send X TPS every second even if tested system cannot cope - so you can expose bottlnecks.
The tool can simulate very large numbers of users per server, making it ideal for analyzing and testing the performance of large-scale applications, such as instant messaging solutions.

Tsung scales well (it’s been used to simulate tens of thousands of users), it supports forms and HTTP sessions, and includes some niceties like proxy recording, ‘thinktime’ support, and a choice of random or ordered traffic.

Tsung is available free of charge under the GPLv2 license as an open-source software product.
It is protocol-independent and can be used to stress HTTP, WebDAV, SOAP, PostgreSQL, MySQL, LDAP, Jabber/XMPP servers.

153 questions
4
votes
1 answer

Can anyone post an example of how to enable SSL in Tsung?

I'm load testing a CouchDB server from another machine using Tsung, and need to establish a secure connection. Unfortunately, I've not been able to find an example of the syntax in the documentation or online... Any help would be greatly…
Colfax
  • 177
  • 2
  • 8
3
votes
1 answer

Tsung: CPU usage value from munin too high

I am struggling to get munin reporting working when running a Tsung load test. My set up is as follows. Web site staging server (staging4): 2 CPUs Tsung server 2 CPUs My Tsung server has an SSH tunnel to staging4 on port 4950 see my tsung.xml…
emson
  • 8,015
  • 4
  • 19
  • 27
3
votes
1 answer

Telegram Bot load testig

How can I make load testing of Telegram (of FB Messenger) Chatbot? Is there any online/offline tools like load testing in Microsoft Bot Framework? I know about tools such as Tsung, but how can I use it when chatbot deployed on Heroku?
3
votes
1 answer

Tsung - Maximum number of concurrent users in a single VM reached

I am new to tsung performance test. I have installed Tsung in Mac OS X using brew. After many tries and resolving few other issues, I am struck with the below error, and I do not find a proper solution elsewhere. I am facing the below…
ADPK
  • 232
  • 3
  • 12
3
votes
1 answer

Tsung: client connection using port

Is there a way to configure client to communicate over ports. My Setup: I want to setup multiple tsung clients to distribute load generation. The tsung clients are docker containers, each running in a different box. So one of the ways to connect…
ram13
  • 33
  • 2
3
votes
1 answer

Tsung is started failed

I used Ejabberd version :15.10 Erlang/OTP version: 18 Tsung version: 1.6.1 when i starting tsung after "make install", use: xxxxx:~/.tsung$ tsung -f jabber_register.xml start eg:the jabber_register.xml is copyed from example then show that:…
李李微
  • 45
  • 2
  • 6
3
votes
3 answers

Tokumx VS mongodb read performance

I was doing a read performance stress testing by comparing Tokumx and pure Mongodb. Tokumx Community Edition 2.0.0 MongoDB 2.6.4_1 Both tokumx and mongodb were running in the same machine. Hardware Overview: Model Name: Mac mini Model Identifier:…
Joshua
  • 632
  • 6
  • 15
3
votes
1 answer

Tsung issue with crypto.so when testing https

I am using Tsung for load testing. I have set up Erlang/OTP R16B03-1 and Tsung 1.5.1 on CentOS 6.4 and openssl 1.0.1e-fips. Everything was successfully compiled except when running ./configure for Tsung, there is a warning: WARNING: ssl application…
anhlc
  • 11,441
  • 4
  • 28
  • 37
3
votes
1 answer

Tsung using xmpp authentication

Hari Haran
  • 1,503
  • 4
  • 12
  • 25
3
votes
1 answer

erlang init error using tsung-recorder

I have setup Tsung to do some load testing on an ubuntu VM. Tsung itself works fine if I write the setup scripts by hand, but I would like to use tsung-recorder to build my scripts dynamically through the browser. When I start tsung-recorder I get…
cpjolicoeur
  • 12,116
  • 7
  • 43
  • 59
3
votes
2 answers

Failed TCP accept: emfile

I got this error after reaching Current request rate: 11.12 req/sec Current users: 1184 Current connected users: 990 Current phase: 1 ejabberd tsung testing after that i google it some of them suggested to increase the …
Hari Haran
  • 1,503
  • 4
  • 12
  • 25
3
votes
1 answer

how to test ejabberd internal and external components

I have 3 xmpp components (internal and external) in my ejabberd. These components exchange stanzas (mostly iq) I read in the Internet that for load tests I should use tsung, but how can I test if the stanzas exchanged by the components are correct…
user601836
  • 3,045
  • 3
  • 35
  • 46
3
votes
3 answers

Tsung error: can't start newbeam on host

I have been trying to get tsung to connect to a box I have running kubuntu 12.04 Here is the client portion of my config I run tsung with the following command tsung -f…
copacetic
  • 404
  • 4
  • 13
3
votes
2 answers

Load testing and Tsung - Does it work on ec2?

I have tried to get tsung to work on ec2 but to no avail. Is this why people tend to use jmeter? Tsung works of a single host but not at all on ec2. 1) I have using the same zone thus using the private dns and ip on ec2. 2) I create a master and…
Tampa
  • 62,379
  • 105
  • 250
  • 388
2
votes
5 answers

Tsung Distributed Client Load Testing - Simple HTTP Requests

I am trying to create a distributed client network using Tsung. I have a cluster of 14 different machines. I want to use m01 as the server and machines m02 and m03 as the clients (or simulated users). Here is what I wrote: