Forrest logo
back to the loadtest tool

loadtest:tldr:6ab67

loadtest: Run with concurrent users and a specified amount of requests per second.
$ loadtest --concurrency ${10} --rps ${200} ${https:--example-com}
try on your machine

The given command is used for running a load test on a website using the loadtest tool. Here is the breakdown of the command:

  • loadtest: It is the command used to execute the load testing tool.

  • --concurrency ${10}: This parameter sets the number of concurrent virtual users or clients to simulate during the load test. In this case, it is set to 10, meaning there will be ten simultaneous users accessing the website.

  • --rps ${200}: This parameter determines the desired number of requests per second (RPS) to be generated during the load test. Here, it is set to 200, meaning there will be an average of 200 requests made to the website per second.

  • ${https:--example-com}: This specifies the URL of the website or API endpoint that will be load tested. In this case, it is set to https://example.com.

So, when this command is executed, it will initiate a load test with ten concurrent virtual users, generating an average of 200 requests per second to the specified URL, which is https://example.com.

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.
back to the loadtest tool