Is it possible to call a load test from the command line (or to execute from the command line)?
1 Answer, 1 is accepted
0
Plamen Mitrev
Telerik team
answered on 21 Feb 2020, 08:59 AM
Hi David,
Thank you for contacting us with this question. I will be happy to assist you.
The mechanism of load test execution requires a bit more complex setup and thus a load test cannot be executed directly through the ArtOfTest.Runner.exe in the command line prompt. It is possible to run a test list, which has the load test, with the CommandLineClient. To do that, you need to have a single machine scheduling setup. The results from that execution will only be available in the Analyzing result view in Test Studio.
If you want to run a load test with many virtual users and simulate higher loads, you need to have a scheduling sever and multiple execution server. That will allow you to distribute the virtual users among those execution servers. The reason for this is that a single CPU can realistically run approximately 8 virtual users at the same time.
As I am not familiar in details with the requirements you have, I might have pointed you in the wrong direction. I will appreciate if you take the time to go through the above notes and let me know any further questions, you may have. It will be very helpful if you share details for the requirements you need to cover on your end, in regards load testing, and we can discuss that to find the best approach for you.