Sunday, February 15, 2009

Team Tests : Load tests with VSTS 2008 Trial

A little story about some Load Test with VSTS 2008 :

I already had Visual Studio 2008 developer SP1 installed and I desperately needed to install Visual Studio 2008 Team System Team Suite Trial (on the Load / Web tests aspects). Here are the steps required.

1) First :

. Spend a lot of time installing VS 2008 dev + SP1 (and SQL server 2008, etc)
. upgrade it to the Visual Studio 2008 Team System Team Suite Trial

At this step, the "Load Tests" will not work, and you will have the following problem : the new templates (Load Tests, Web Tests, …) will not appear automatically. You will have to execute the command line :

devenv /installvstemplates

2) Second : At this stage, the "Web Tests" will work but not the "Load Tests", as the following bug will appear :

Could not run load test 'LoadTest1' on agent 'NameOfYourComputer': Method not found: 'Void Microsoft.VisualStudio.TestTools.LoadTesting.LoadTestScenario..ctor(System.String, System.Collections.Generic.IEnumerable`1)'

Luckily my colleague Etienne Margraff (a Visual Studio and TFS guru) suggested me to simply run again the VS SP1 (it just take ages to reinstall it !!).

3) Finally, I did re-install VS SP1
Then, I launched again the Load Tests, and .... here you go, it WORKS !!

Hope this post will prevent someone from being stuck for days trying to solve the problem.

PS :
I mentioned "stuck for days" on purpose and not "stuck for hours" because you will spend hours in re-installing SP1 ;-) !!!


  1. Please show more details, as I have re-installed SP 1 several times and I am still getting that error.

  2. The re-installation according to what I explained is the only thing I had to do. I am afraid that your case is different, hence even a more detailed description won't help.

    It has solved rich67243's problem on :


Note: Only a member of this blog may post a comment.