Forum Discussion
SmartBear_Suppo
Alumni
12 years ago
Say suppose I have to run a simple rate strategy with 100 clients, 50 request/sec with 100 max threads and another with 100 clients, 100 requests/sec with 100 max threads, then I create two load tests, save them and run those two tests for different rate? Does that mean, by default, the load test will pick up the last saved configuration of the load test?
Hi, the solution suggested is that you create different LoadTests, like in your example, two LoadTests, each one using a different strategy.
Then from the command line you can specify the LoadTest you want to run which corresponds to the particular strategy you had defined, using the l parameter:
l : The LoadTest to run, used to narrow down which LoadTests to run (http://www.soapui.org/Test-Automation/load-tests.html)
So you would define your strategies in the GUI and your LoadTests differentiated by strategy would be available in your project so you can run the precise one you need from the command line. Otherwise, we do not have a documented approach to changing a LoadTest's configuration using Groovy or through the command line.
Regards,
Giscard
SmartBear Support