安装VS2013后,VS2010 Web性能测试/负载测试停止工作

时间:2015-02-13 01:36:43

标签: visual-studio-2010 visual-studio-2013

我的网络性能/负载测试在VS2010中运行良好,直到昨天我安装了VS2013。我没有升级我的项目/解决方案文件。我仍在尝试在VS2010中运行我的测试。

当我尝试在本地运行webtest时,我收到以下错误:

Request failed: Exception occurred: Object reference not set to an instance of an object.

   at Microsoft.VisualStudio.TestTools.WebStress.WebTestCaseVariation.ProcessTransactionStarting(String transactionName, Boolean isForIncludedWebTest, Int32 declarativeWebTestItemId, Guid sourceWebTestId)
   at Microsoft.VisualStudio.TestTools.WebTesting.WebTest.BeginTransaction(String transactionName, Boolean isForIncludedWebTest, Int32 declarativeWebTestItemId, Guid sourceWebTestId)
   at Microsoft.VisualStudio.TestTools.WebTesting.WebTest.<GetEnumerator>d__0.MoveNext()
   at Microsoft.VisualStudio.TestTools.WebTesting.DeclarativeWebTest.<EnumerateRequests>d__0.MoveNext()
   at Microsoft.VisualStudio.TestTools.WebStress.WebTestCaseVariation.ExecuteNextTopLevelRequest()

我可以在没有远程问题的情况下运行测试(我的测试控制器是vs2010)

我也可以远程运行负载测试,但得到以下错误,因此无法查看测试结果:

Exception   LoadTestException   1   Results collection stopped due to the following error: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.LoadTest, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)    

我的项目仍然引用版本10.0.0.0 dll,由Visual Studio自动重定向到vs2013安装文件夹下的那些,不知道为什么它试图加载版本12.0.0.0

非常感谢任何帮助。

0 个答案:

没有答案