tsung command not found

In this troubleshooting guide we learn how to fix tsung command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

tsung: command not found

or when using sudo you get the following error message

sudo: tsung: command not found

Solutions to tsung: command not found

How To Fix tsung: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu tsung is provided by tsung package.

tsung is:

Tsung is a distributed load testing tool. It can be used to stress HTTP, WebDAV, SOAP, PostgreSQL, MySQL, LDAP and Jabber/XMPP servers.

The purpose of Tsung is to simulate users in order to test the scalability and performance of IP based client/server applications. You can use it to do load and stress testing of your servers. Many protocols have been implemented and tested, and it can be easily extended. WebDAV, LDAP and MySQL support have been added recently (experimental).

For HTTP, it support 1.0 and 1.1 version, has a proxy mode to record sessions, support GET and POST method, Cookies and Basic WWW-authentication. It also has support for SSL.

It can be distributed on several client machines and is able to simulate hundreds of thousands of virtual users concurrently (or even millions if you have enough hardware …).

To fix this problem, we can install more using the command below.

sudo apt-get -y install tsung

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install tsung.

sudo apt -y install tsung

Or if you have aptitude installed you can use the following command.

sudo aptitude install tsung

Summary

In this tutorial we learn how to fix tsung command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.