VS2015企业版:LoadTest - 无法排队测试运行:无法找到程序集Microsoft.vssdk.testhostadapter' [英] VS2015 Enterprise: LoadTest - Failed to queue test run: unable to find assembly Microsoft.vssdk.testhostadapter'

查看:126
本文介绍了VS2015企业版:LoadTest - 无法排队测试运行:无法找到程序集Microsoft.vssdk.testhostadapter'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Loadtest,我试图通过使用Visual Studio 2015 Enterprise的控制器/ Agent Rig运行。   Loadtest执行在VB中创建的单元测试方法。  我可以毫无问题地执行单元测试,我可以在桌面上的
本地执行负载测试,没有任何问题,但每当我尝试使用测试设置来使用遥控器时,我都会收到以下错误:

I have a Loadtest that I am trying to run via a controller/Agent Rig using Visual Studio 2015 Enterprise.  The Loadtest executes a unit test method created in VB.  I can execute the unit test with no issues, I can execute a load test locally on my desktop without any issues, but whenever i try to use testsettings to use a Remote Controller, I get the following error:

无法排队测试运行'Run1_proxy01_20users(2017-08-31 13:33:02):无法找到程序集'Microsoft.VSSDK.TestHostadapter,version = 14.0.0.0,culture = neutral ,publickey = b03f57f11d50a3a' 代理:SHCEW0018

Failed to queue test run 'Run1_proxy01_20users (2017-08-31 13:33:02): unable to find assembly 'Microsoft.VSSDK.TestHostadapter, version=14.0.0.0,culture=neutral,publickey=b03f57f11d50a3a'  Agent: SHCEW0018

我尝试了什么:


  • 设置Local.Testsettings以便使用本地测试执行方法 - 没有问题的测试运行
  • 设置local.testettings以使用远程执行 - 控制器:SHCEW0015 - 上面的错误
  • 设置local.testettings以使用远程执行 - 控制器:CSAVAUTODEV1 - 上面的同上错误
  • 重新安装控制器/代理 - 无需更改 
  • 检查控制器日志,看起来好像测试正在远程计算机上排队。
  • 在本地机器上运行gacutil以重新注册Te sthostadapter如下所示,没有变化。

我搜索了全部在网上的地方,似乎无法找到任何对此错误的引用。

I have searched all over the place online and just can't seem to find any reference to this error.

谢谢

Tom

推荐答案

嗨汤姆,

感谢您的发帖。

>>设置local.testettings以使用远程执行 - 控制器:SHCEW0015 - 错误上方

>>设置local.testettings以使用远程执行 - 控制器:CSAVAUTODEV1 - 上面的错误

>>Set local.testettings to use Remote Execution - Controller: CSAVAUTODEV1 -Same error above

根据您的描述,我怀疑问题是由与测试控制器和测试代理的连接引起的。请确保选择正确的测试控制器,并确保测试代理处于"就绪"状态,如下图所示。

According your description, I doubt that the problem is caused by the connection with test controller and test agent. Please make sure you select the correct test controller, and make sure that the test agent is in "ready" status as following illustration.

连接正常后,在Controller下拉列表中键入控制器的名称。

After the connection is normal, then, type the name of the controller in Controller drop-down list.

这个 是测试控制器和测试代理的故障排除指南可能对您有所帮助,请参考它:

This is the troubleshooting guide for test controller and test agent might helpful for you, please refer to it:

https://social.msdn.microsoft.com/Forums / en-US / df043823-ffcf-46a4-9e47-1c4b8854ca13 / troubleshooting-guide-for-visual-studio-test-controller-and-agent?forum = vststest

 

祝你好运,

Fletcher


这篇关于VS2015企业版:LoadTest - 无法排队测试运行:无法找到程序集Microsoft.vssdk.testhostadapter'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆