Starting Conductor via a Windows Scheduled Task
Has anyone managed to start Conductor & run a load test successfully through Windows Task Scheduler? I'm on Windows Server 2003, using QALoad 5.9. I've got a session that I've run successfully when invoking Conductor through the command line (eg, C:>"C:\Program Files\Micro Focus\QALoad\Conductor.exe" "My Session File.ID" /e /l).
I've set up the Windows Task Scheduler to fire off the same command line every hour, under my user account. The scheduled task does start Conductor, but in the timing file, there is an error in Test Initialization indicating that the Conductor was unable to connect to the player machine.
This error only occurs when I'm logged out - when I'm logged in, the test runs successfully even when kicked off by the scheduled task.
Thanks in advance.
Re: Starting Conductor via a Windows Scheduled Task
Is a session is opened on Player Machine (if the player is on the conductor, surely not as you mention problem while logged off) ?
Remind that a Windows session must be opened on Player machine to allow Player Agent to start and respond (it is not a service, just a Start>Programs>Sartup shortcut).
Also if sessions are scheduled one after another, be sure to check "Close runtime screen after test", otherwise conductor may stay opened at end of test.
Hope this helps