Tsung

Open source

Tsung is a distributed load testing tool written in Erlang that stress tests HTTP, database, LDAP, MQTT, AMQP and XMPP servers.

Open-source alternative to

process-one.net
Tsung homepage screenshot
GitHub stars
2.6k
Last 30 days
+2(+0%)
Last commit
8 mo ago
Repository age
16 years
Licence
GPL-2.0
Self-hosted
Yes

About Tsung

Tsung is a multi-protocol distributed load testing tool, written in Erlang and released under the GNU GPL version 2. It is used to test the scalability and performance of IP-based client/server applications.

The README lists supported protocols as HTTP, WebDAV, SOAP, PostgreSQL, MySQL, LDAP, MQTT, AMQP and Jabber/XMPP. Wikipedia adds that it can simulate hundreds of simultaneous users on one machine and can also run in a clustered environment.

Wikipedia's feature list includes using several IP addresses on a machine through IP aliasing, OS monitoring of CPU, memory and network via SNMP, munin-node or Erlang agents, XML-described dynamic sessions, randomized think times and arrival rates, and HTML reports generated during the load. A user manual and a mailing list are linked from the README.

Key features

  • Distributed multi-protocol load testing
  • Supports HTTP, WebDAV, SOAP and databases
  • Simulates hundreds of users on one system
  • Dynamic sessions described in XML
  • Randomized think times and arrival rate
  • HTML reports during the load
  • Monitors server CPU, memory and network

Good fit for

  • Load testing web servers
  • Benchmarking XMPP or MQTT servers
  • Stress testing databases
Tags
load-testing
benchmark
erlang
xmpp
http
performance
mqtt

Tsung: questions and answers

What is Tsung used for?
Tsung is a distributed load testing tool written in Erlang that stress tests HTTP, database, LDAP, MQTT, AMQP and XMPP servers. It is a good fit for load testing web servers, benchmarking XMPP or MQTT servers and stress testing databases.
Is Tsung open source?
Yes. Tsung is open source under the GPL-2.0 licence. Its source code is on GitHub at processone/tsung and is written mainly in Erlang.
Is Tsung free?
Yes. Tsung is open source, so the software itself is free to use.
Can I self-host Tsung?
Yes. Tsung can be self-hosted on your own server or infrastructure.
What is Tsung an alternative to?
Tsung is an open-source alternative to OpenText LoadRunner, loader.io and BlazeMeter. Other open-source alternatives to OpenText LoadRunner include k6, Locust and Apache JMeter.
Is Tsung actively maintained?
The most recent commit to Tsung was on 2 March 2026. The project has 2.6k stars on GitHub, with 2 added in the last 30 days.

Open-source alternatives to Tsung

See all

SaaS alternatives to Tsung

See all