Scheduling a visual studio load test using powershell giving me BSOD

Posted by user952342 on Stack Overflow See other posts from Stack Overflow or by user952342
Published on 2012-10-09T12:51:24Z Indexed on 2012/10/10 3:37 UTC
Read the original article Hit count: 131

I have a visual studio load test which I want to run every hour so that I can start to collect some data.

To do this, I thought it would be best to make a little powershell script and put a command like this inside:

Invoke-Expression -command "& '$env:VS100COMNTOOLS..\IDE\mstest.exe' /testcontainer:"C:\Users\benb\Documents\Visual Studio 2010\Projects\BBPerformanceTest\bin\Debug\HomePageOnly.loadtest""

That command works fine, but sometimes when its run I get a blue screen of death. However, when I run my load test through the visual studio GUI, I never get a BSOD.

two questions:

  1. is it possible to avoid this BSOD?
  2. Is there another way I can schedule my load test?

Thanks

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about load-testing