![Forrest logo](/images/logo.png)
http_load:tldr:aec26
http_load: Emulate 20 requests based on a given URL list file per second for 60 seconds.
$ http_load -rate ${20} -seconds ${60} ${path-to-urls-txt}
try on your machine
This command is using the "http_load" tool to simulate multiple simultaneous requests to a web server.
- "-rate ${20}" specifies the rate of requests to be sent per second. In this case, it is set to 20 requests per second.
- "-seconds ${60}" sets the duration of the test in seconds. Here, the test will run for 60 seconds.
- "${path-to-urls-txt}" is the path to a text file that contains a list of URLs to be requested. This file should contain one URL per line.
So when you run this command, the "http_load" tool will start sending requests to the web server at a rate of 20 requests per second, and it will continue doing so for 60 seconds using the URLs specified in the text file.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.