Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

OpenSRP load testing uses the tool Tsung.

Tsung is a heavy duty, load-testing tool that is used to benchmark the performance of servers and applications.

The main main advantage of Tsung is 

  • High performance — Tsung can simulate up to 50,000 simultaneous users per physical computer.
  • Ease of use — Based on XML configuration, Tsung removes the need for developers to write complex scripts. The tool handles tasks such as managing cookies automatically, so developers can focus on designing the scenarios not managing lines of code.

More feature of Tsung are on http://tsung.readthedocs.io/en/latest/features.html

Installing Tsung on Ubuntu

  1. Download the latest version from http://tsung.erlang-projects.org/dist/. OpenSRP uses the current version 1.7.0. Run 
    wget http://tsung.erlang-projects.org/dist/tsung-1.7.0.tar.gz
  2. tar zxvf tsung-1.7.0.tar.gz

  3. cd tsung-1.7.0

  4. ./configure

  5.  make

  6.  make install


  7.  Check the version of tsung installed on your system.tsung -v

    11.7.0.7.0