Load Testing

Last updated 2 years ago

Load testing allows you to test how many connections can be streamed on your system. 

Shoutcast & Icecast Streams

You can load test Shoutcast and Icecast streams using the following script on your server.

1. Download the load testing tool:

wget https://www.mediacp.net/tools/loadtest.sh.txt -O loadtest.sh; chmod +x loadtest.sh

2. Run the load testing utility and specify the path to the stream as in this example as well as how many connections to open, in this case 5000.

./loadtest.sh http://myserver.com:8000/stream 5000

3. Ensure all curl processes are stopped after completion:

pkill curl;

Table of Contents