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.

156 questions
1
vote
0 answers

Cannot Establish Distributed Tsung Load Test: Can't start newbeam on host remote_test (reason: timeout)

I'm trying to establish distributed Tsung load test, But without luck, it failed anyway. Background: Two virtual machines in a same network,the name of 192.168.14.145 in /etc/hosts is "master"and the name of 192.168.14.146 is "remote_test"; Same…
1
vote
1 answer

Tsung crashes with ** Reason for termination == ** {{badmatch,false}

I am using tsung ,compiled with openssl and erlang for sending queries. In the tsung_controller.log I am getting this error : ** Reason for termination == ** {{badmatch,false}, [{ts_config_server,handle_call,3, …
1
vote
1 answer

Tigase load testing with Tsung. Registration conflict 409

I am testing Tigase by using Tsung. My first test script would be only registering users on the Tigase server. But I have a strange problem of Tigase duplicating register requests for some user IDs. Take a look at the tsung.dump file below. The…
Goran
  • 1,807
  • 7
  • 27
  • 41
1
vote
0 answers

How to load test a python script from Tsung?

I am trying to check the performance of twemproxy tool with memcached servers. For application load test, I have used Tsung to check the RPS of APIs which will fetch data from DB through twemproxy. However, to confirm the individual performance of…
NJoel
  • 29
  • 2
1
vote
1 answer

How to script custom Openfire IQ request in tsung

My IQ request is someuser How do I customize tsung scripts to bombard my openfire with above IQ request. Value in…
Iqbal S
  • 1,156
  • 10
  • 16
1
vote
0 answers

tsung statement or how to get current page in tsung?

I have site with multiple redirects leading to login page. The number of redirects could vary and I solved it with :
1
vote
0 answers

Testing ejabberd with Tsung

I have a running ejabberd server, how can I load-test it? I tried to use Tsung, but none of found in Google solutions didn't help. I need to do the following: Pick a bunch of usernames and passwords from file Make them all authenticate and…
vortexxx192
  • 929
  • 1
  • 9
  • 24
1
vote
2 answers

Redirect http://- to https:// with tsung recorder

I’m trying to run tsung-recorder from my ubuntu VM I have set up a proxy in firefox, localhost:8090 The site I'm trying to use tsung-recorder with is https:// According to the docs For HTTPS recording, use http://- instead of https:// in your…
Alex
  • 37,502
  • 51
  • 204
  • 332
1
vote
2 answers

Tsung using ejabberd server authentication failure?

After start tsung i got log message from ejabberd.log file: I(<0.427.0>:ejabberd_c2s:651) : ({socket_state,gen_tcp,#Port<0.4407>,<0.426.0>}) Failed authentication for one1@192.155.1.666 from IP 192.155.1.666 ({{192,155,1,666},5
Hari Haran
  • 1,543
  • 4
  • 13
  • 25
1
vote
1 answer

Sending messages to other users randomly using tsung

I am using tsung.I want to create so many users then allow them to send messages to each others randomly.I have created a CSV file with values of username and passwords in it and i checked that are authorized.My problem is with the code of sending…
1
vote
1 answer

Embedded Erlang in Tsung.xml Dynamic Variable fails to parse for If expressions

I've been trying to remove some complications in a build process by bringing some external Erlang code into my Tsung config file (tsung.xml) and setting some dynamic variables with it, but have found that a few expressions just don't seem to work…
1
vote
1 answer

The meaning of tsung output (graphs-user-simultaneous)

I'm trying to test my Tigase XMPP server with tsung (load test). The tsung read a list of 'username;password' from .csv file. For basic test the .csv file contains only 3 users: user1, user2 and user3. In the tsung.xml configuration file I configure…
kande
  • 559
  • 1
  • 10
  • 28
1
vote
1 answer

Tigase refuses Tsung

I set up a tigase(5.1.5) server, and succeed to register, login and chat using Spark. But strangely I failed to use tsung(1.5.0) to perform loading test. I use the jabber_registrer.xml as tsung script. The tsung log shows the error, it seems that…
xFinal
  • 11
  • 2
1
vote
1 answer

Tigase xmpp server crash while testing with Tsung

I'm trying to test the capabilities of the Tigase XMPP server 5.2.0. I'm running tests with tsung 1.4.2 to reach 20K users connected (once 20K works, I'll try to check it with 150K). The tigase crashes after around 6000 connections. Someone can…
kande
  • 559
  • 1
  • 10
  • 28
1
vote
2 answers

Can I use Tsung to load test Socket.io Applications?

I want to use Tsung to load test socket.io application using tsung_ws plugins. However, Socket.io implementation of websocket depends on their javascript. Is there anyway to achieve this?
Jack Daniel's
  • 2,583
  • 22
  • 28