Install Cassowary Load Testing Tool on Ubuntu 24.04

Install Cassowary Load Testing Tool on Ubuntu 24.04

Cassowary is a tool designed for load testing web applications and APIs. Its primary function is to simulate multiple users accessing a web service simultaneously to analyze the performance, reliability, and scalability of the system under different load conditions. This tutorial shows how to install Cassowary load testing tool on Ubuntu 24.04.

Install Cassowary

Download the latest tar.gz file from releases page of the Cassowary repository:

wget -qO cassowary.tar.gz https://github.com/rogerwelin/cassowary/releases/latest/download/cassowary_Linux_x86_64.tar.gz

Extract executable to /usr/local/bin directory:

sudo tar xf cassowary.tar.gz -C /usr/local/bin cassowary

Run the command to verify the Cassowary version:

cassowary --version

Remove no longer needed file:

sudo rm -rf cassowary.tar.gz

Testing Cassowary

There are different ways to use the cassowary command. For instance, the following command executes a load test by making 50 requests with 10 users at the same time to a specified website URL:

cassowary run -u http://192.168.0.174 -c 10 -n 50

The test results are displayed in the following format:

Starting Load Test with 50 requests using 10 concurrent users

 100% [========================================] 551.629861ms


 TCP Connect.....................: Avg/mean=0.00ms     Median=0.00ms    p(95)=0.00ms
 Server Processing...............: Avg/mean=102.06ms     Median=103.00ms    p(95)=137.00ms
 Content Transfer................: Avg/mean=0.26ms     Median=0.00ms    p(95)=1.00ms

Summary: 
 Total Req.......................: 50
 Failed Req......................: 0
 DNS Lookup......................: 0.00ms
 Req/s...........................: 90.64

Uninstall Cassowary

To uninstall Cassowary, delete the associated file:

sudo rm -rf /usr/local/bin/cassowary

Leave a Comment

Cancel reply

Your email address will not be published.