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

tsung. Fatal config error

I'v faced with the problem (On debian 8, using tsung 1.5.1.). The XML config is:
0
votes
1 answer

badarg when trying to read a csv file in erlang, with tsung

I am using tsung to load test my websocket server. I am new to tsung and to erlang. I have a list of users and keys exported to a .csv file. To get it running i reduced the csv file to: 1;2 with no empty line at the end of the file. This is a…
haren
  • 1,595
  • 2
  • 11
  • 17
0
votes
1 answer

Tsung Load Testing for Ajax request

I'm writing a config file for Tsung load testing the application. I want to write a request that can simulate clicking a button on the page. I know that this is usually done by something like this
Irene Yeh
  • 85
  • 1
  • 1
  • 3
0
votes
1 answer

Tsung: BOSH over XMPP - unable to connect to opnefire server

I have been trying to connect openfire server over bosh xmpp using Tsung. I am getting below error message saying bad args. I am not completely familiar with output. Could anyone help me out please? **=ERROR REPORT==== 3-May-2015::13:05:08 === **…
0
votes
1 answer

Tsung - Using Erlang expressions in variable substitution

In Tsung you can substitute variables like this: %%_counter%%. But how do I do something like %%_counter * 2 + 1%%?
bcoughlan
  • 25,987
  • 18
  • 90
  • 141
0
votes
1 answer

Tsung setdynvars not substituting value

I have the following script and for some reason the value is not being substituted with the value 1.
0
votes
0 answers

C10k Tsung Gatling and PlayWS

I'm new in Load Testing, but I googled a lot and configured test system on Amazon. The system consist of: the Websocket server, on Play framework, and some load testing machines. I tried such load testing tools: Tsung and Gatling. My testing…
Igor Masternoy
  • 436
  • 1
  • 11
  • 36
0
votes
1 answer

Tsung test can't connect by ssl with sha-256 algorithm

I faced with the error_unknown launching tsung tests. Errors have occured after changing certificate cipher algorithm from sha-1 to sha-2 on host. Maybe I need to add some extra option to the tsung configuration?
ema
  • 891
  • 11
  • 21
0
votes
1 answer

Different loops in tsung

Could someone please advise me what's the main difference between loops like for and ? I've figured out strange behavior. I have the config file:
0
votes
1 answer

Tsung dynamic variables scope

I want to write a test case for a user hitting a websockets server with thousands of different packets generated by tsung, but I received only the same packet thousands of times. What is the scope of Tsung's dyn variables? ....
Igor Masternoy
  • 436
  • 1
  • 11
  • 36
0
votes
1 answer

Tsung SOAP call

I'm trying to test the performance of the web service via SOAP calls using Tsung. I've wrote the script like it's described in this example: http://lists.process-one.net/pipermail/tsung-users/2010-November/001584.html
0
votes
1 answer

Tsung match tag : How to match specific xml tag (Server response is XML)

Im using tsung to test a webapplication. when requested, the server respond with xml. What Im trying to do : Use tsung match tag in the request to log if an error occure. If an error occure, the xml response is as this :
Xarouma
  • 171
  • 1
  • 10
0
votes
1 answer

How to set up Tsung-recorder proxy on mac os x?

I am trying to use stung-recorder to record a session on my browser. Seems simple enough but I don't see how to do it. Tsung-recorder says: perftest1(master)> tsung-recorder start Creating local Tsung directory /Users/pitosalas/.tsung Creating Tsung…
pitosalas
  • 10,286
  • 12
  • 72
  • 120
0
votes
2 answers

tsung cluster error:too few file descriptors available

I'am using tsung's cluster. I have modified the limits of file descriptors. The node which I take it as the slave will report errors: ts_launcher:(2:<0.49.0>) WARNING !!! too few file descriptors available (1024), you should decrease maxusers…
jess
  • 1
  • 1
0
votes
1 answer