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
0
votes
1 answer

HTTP request gives 302

I have setup xml file, I think there ssl certificate issue while I am hitting http request in tsung.
Progi1990
  • 57
  • 1
  • 3
  • 13
0
votes
1 answer

How to test login and signup functionality with tsung

I have integrated Tsung tool. I have Rails, Foreman. Just tell me an example to check login and signup functionality. like for login where I can put username and password. like where do I put signup info into xml file.
Progi1990
  • 57
  • 1
  • 3
  • 13
0
votes
1 answer

Tsung load testing not able to send message ejabberd server

I am new to this tsung load testing framework, since last one week i have been exploring this tool to load test my ejabberd server till now i am able to register some 200 users at one go that is awesome, i am able to generate report Graphs (right…
gauravD
  • 89
  • 11
0
votes
1 answer

Tsung how to get the controller id

I know that it is possible to set a id to the controller in tsung using the flag -i, i.e, tsung start -i ID. My question is It is possible retrieve that id in the tsung.xml?
Juan
  • 2,073
  • 3
  • 22
  • 37
0
votes
1 answer

Whats the relation between load and for?

I am trying tsung for the first time, however, I need some clarification. I am using load tag as:
simo
  • 23,342
  • 38
  • 121
  • 218
0
votes
1 answer

is it possible dynamically post files using tsung?

i am planning to post dynamic files, is there any option to post dynamic files instead of hard coded one ?
0
votes
1 answer

Tsung Load test - Websocket + XMPP + SSL

Recently we have started investigating possibilities of creating load test script using Tsung tool to run against our XMPP server(Openfire). I am using load balancer address as server server configuration, which distributes the load between…
0
votes
1 answer

What is the limit of TCP connections per machine using TSUNG?

I want to generate a lot of requests using TSUNG. My configuration file is
sjmach
  • 426
  • 6
  • 15
0
votes
0 answers

How can I check the response of MQTT when doing testing through Tsung

I am trying to connect to IOTF platform which is based on MQTT for load testing through Tsung, want to know is it possible in Tsung to check the server response when we are configuring xml for mqtt req. I have tried match tag but nothing seems to…
0
votes
1 answer

"[os_mon] cpu supervisor port (cpu_sup)" error while starting Tsung test

I'm the newbie in performance testing with Tsung, so maybe my question seems obvious to someone, but... I have installed the Tsung on Mac (OS X 10.11.2) which already has Erlang using homebrew: Erlang and Tsung versions Next, I have created very…
Maxim
  • 1
  • 1
  • 2
0
votes
0 answers

Tsung Getting Crashed at the end of test and tsung.log getting zero

While running the Tsung test, values are getting captured in Tsung.log, but as the test is going to end just before that it goes to zero (0) byte and gives error in tsung_controller@hostname.log as follows: ** Reason for termination == **…
Shrikant Borse
  • 165
  • 1
  • 2
  • 10
0
votes
1 answer

In Tsung, how can I get publish message time in milisec?

In Tsung, I want publish message time in milisec, I tried below but able to get time in Sec only.
Deepak10
  • 5
  • 4
0
votes
1 answer

Erlang - checking for existence of dynamic variable retrieved from JSON path

I am trying to retrieve an attribute 'seriesId' from a JSON response. This attribute itself may or may not exist in the response. So, here I want to do some stuff…
Supriya K
  • 300
  • 1
  • 4
  • 12
0
votes
2 answers

Tsung - How to send array or object in request parameters?

I need to send object like php $obj = [ array('id' => '111'); ]; as POST request parameter. I tried to use [{struct,[{<<"id">>,<<"111">>},{<<"id">>,…
0
votes
3 answers

How does one POST JSON encoded content in tsung?

Here's what I have:
user2254391
  • 330
  • 2
  • 11