Tsung

From Wikipedia, the free encyclopedia

Tsung (earlier known as idx-Tsunami) is a stress testing tool written in the Erlang language. It can currently stress test HTTP, PostgreSQL , SOAP and Jabber/XMPP servers. Tsung is distributed under the GPL license. Tsung can simulate hundreds of simultaneous users on a single system. It can also function in a clustered environment.

[edit] Features

  • High Performance: load can be distributed on a cluster of client machines.
  • Multi-protocols using a plugin system: HTTP, SOAP, PostgreSQL and Jabber/XMPP. SSL is also supported.
  • Several IP addresses can be used on a single machine using the underlying OS's IP Aliasing.
  • OS monitoring (CPU, memory, and network traffic) using SNMP or Erlang agents on remote servers.
  • XML configuration system; several sessions can be used to simulate differents type of users.
  • Dynamic sessions can be easily described in XML (this can be used to retrieve at runtime an ID from the server output and use it later in the session).
  • In order to generate a realistic traffic, user thinktimes and the arrival rate can be randomize using a probability distribution (exponential currently).
  • HTML reports can be generated during the load to view response times measurement, server CPU, amongst others.

[edit] External links