%% Last Updated: - [[2021-02-10]] %% Create this as a batch file: ``` echo off for /f %%x in ('wmic path win32_utctime get /format:list ^| findstr "="') do set %%x set timestamp=%Year%%Month%%Day%%Hour%%Minute%%Second% set testCase=LT02_Scalability_LoadMultipleBasicWorkspaces_AllPages cd "C:\Data" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\mstest" /testsettings:"C:\PerformanceTest\Local.testsettings" /testcontainer:"C:\PerformanceTest\LoadTests_Static\%testCase%.loadtest" /resultsfile:"C:\PerformanceTest\TestResults\%testCase%_%timestamp%.trx" pause ``` Change the relevant paths to MSTest (included with Visual Studio). On the load injector, go to Task Scheduler. Create a task with a time trigger (i.e., set a time for it to run daily) and with executing the bat file as the action.