Need help with StresStimulus? Start here.
Pre-run command timeout
Unregistered User Posts: 514
8/14/2019
|
We want to reboot the agent machines before running any stress test as it seems like there is a memory leak on the agent machines. Can we use Pre-run command line setting to run a script from the command line that would reboot the servers? If yes, if I set the Pre-run command line timeout setting to 30 secs, will stresstimulus wait for 30 seconds before starting the test or will it start if the command line is executed within a second? The confusion is that if command line can be executed within a second, however the agents need atleast 30 seconds or more to restart which might cause the performance scripts to fail.
|
|
0
link
|
George @StresStimulus Administrator Posts: 568
8/14/2019
|
In StresStimulus, the Pre Run command line is a command that will execute on the controller before the test begins . Agents ignore this command. StresStimulus will wait until the command exists (the process ends) before the test starts. The Pre-Run command timeout is the maximum time StresStimulus will wait for the command to exit. To accomplish what you want I would create a command line that initiates reboot of all agent machines from the controller and then sleeps for, let’s say, 60 seconds or so (assuming agent machine reboot takes less than 60 seconds). That way the command will exit after 60 seconds and you can start your test because the agent machines should be rebooted by then. Also make sure that agents run in service mode.
|
|
0
link
|
Copyright © 2025 Stimulus Technology