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

How to stop tsung running process gracefully?

How do I stop a tsung process grecefully which is running under a stress load(assume 100k concurrent xmpp users).
1
vote
1 answer

Sending chunked requests using Tsung

Does anybody know how to send POST requests with 'Transfer-Encoding' set to 'chunked' in Tsung? Do I just set the header in my request? If so, will Tsung automatically chunk the requests? Is the chunk size configurable? Also is there some method to…
Murali
  • 31
  • 3
1
vote
1 answer

Running tsung_stats from tsung and getting Symbol not found: _Perl_xs_handshake error

I am trying to produce an output using tsung_stats, however whenever I run the command: /usr/local/Cellar/tsung/1.7.0/lib/tsung/bin/tsung_stats.pl --stats /Users/Chris/.tsung/log/20181031-2312/tsung.log The following happens: warn, last interval…
griz
  • 119
  • 7
1
vote
2 answers

Increase Max Connections under Ubuntu? (Tsung concurrency test)

I am testing NodeJs, especially the concurrency. I am using Tsung for this. Unfortunately Tsung seems not be able to spawn enough users. I'm only getting about 30K simultaneous connections although ~2GB RAM is still unused. (Check the charts) The…
Filly
  • 11
  • 1
  • 2
1
vote
1 answer

Why tsung setdynvars not set data

Tsung not want set vars from my csv file. This my tsung config:
1
vote
1 answer

Specify separate data to each user in Tsung

I am using Tsung for load testing. Here is the config file for Tsung.
skjindal93
  • 706
  • 1
  • 16
  • 34
1
vote
1 answer

Ejabberd Registering Users with Tsung

I've installed tsung and running the same on Centos. No using is registered when trying to run jabber_register.xml tsung -f file.xml start. Where exactly is the problem? I see Acceted connection in Ejabberd logs, but no user is registered.
Praful Bagai
  • 16,684
  • 50
  • 136
  • 267
1
vote
1 answer

Tsung replace characters in a dynamic variable

Using I am able to extract the the below url from the json http://localhost:8081/mycode/1.5.0/extended/call/action But, In the next request Iwant to make use of the above…
SanalBathery
  • 628
  • 5
  • 10
1
vote
0 answers

How can i use chinese string in tsung

I'm china developer, i use tsung to test my application. but now , i have problem, this is my xml code.
kk wang
  • 11
  • 1
1
vote
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…
user2492958
1
vote
1 answer

TSung HTTP not working with header

We are performing load testing using tsung. We were able to load test a HTTP end point without any headers. But when add HTTP header, tsung is failing and not able to make the request. I am unable to decipher from the tsung logs the issue. The…
Rajneesh
  • 2,185
  • 4
  • 20
  • 30
1
vote
1 answer

tsung: parsing respone of a request in dyn_variable using regex

I am trying to capture the response of a HTTP request in TSUNG in a dynamic variable. I actually need to capture the line with '200 OK' response. I tried a few other…
Supriya K
  • 300
  • 1
  • 4
  • 12
1
vote
1 answer

tsung jabber/xmpp request message to a single node

i would like to send XMPP-Messages to specific XMPP-User. Unfortunately the tsung request "jabber" with typ "chat" only allows broadcast messages to all online users (see below).
Niecore
  • 312
  • 3
  • 10
1
vote
1 answer

How should I filter multiple fields with the same name in logstash?

I'm putting tsung logs into ElasticSearch (ES) so that I can filter, visualize and compare results using Kibana. I'm using logstash and its JSON parsing filter to push tsung logs in JSON format to ES. Tsung logs are a bit complicated (IMO) with…
Peter
  • 13
  • 3
1
vote
0 answers

is there any way to include load information in the tsung report

I want display the load details in tsung report file. is there any way to add load information like : in the…
SanalBathery
  • 628
  • 5
  • 10