遥控器负载测试
我正在尝试从远程控制器运行负载测试,但收到此错误。
无法对测试运行“username@computername 2010-04-15 06:06:03”进行排队:“Microsoft.VisualStudio.TestTools.LoadTesting.LoadTestConstantLoadProfile”类型的对象无法转换为“Microsoft.VisualStudio.TestTools.WebStress.WebTestLoadProfile”类型'。
从远程控制器运行单元测试效果很好。
谢谢。
I am trying to run a load test from remote controller and I get this error.
Failed to queue test run 'username@computername 2010-04-15 06:06:03': Object of type 'Microsoft.VisualStudio.TestTools.LoadTesting.LoadTestConstantLoadProfile' cannot be converted to type 'Microsoft.VisualStudio.TestTools.WebStress.WebTestLoadProfile'.
Running unit test from remote controller works just fine.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
无法对测试运行“username@MYCONTROLLER 2008-06-13 11:17:28”进行排队:“Microsoft.VisualStudio.TestTools.LoadTesting.LoadTestConstantLoadProfile”类型的对象无法转换为“Microsoft.VisualStudio.TestTools.WebStress.WebTestLoadProfile”类型'。
或与“Microsoft.VisualStudio.TestTools…”相关的一些错误(参考)。或者,您的 Web 测试可能在一台机器上运行良好,但在另一台机器上运行不佳。
如果您看到类似的情况,则您可能安装了一些不正常的内容,或者某些用户安装了 Service Pack 1,而另一些则没有。正确的安装顺序类似于:
Visual Studio(团队版)
团队探索者
Team Foundation 2008 年 10 月电动工具
Visual Studio 2008 服务包 1
Failed to queue test run 'username@MYCONTROLLER 2008-06-13 11:17:28': Object of type 'Microsoft.VisualStudio.TestTools.LoadTesting.LoadTestConstantLoadProfile' cannot be converted to type 'Microsoft.VisualStudio.TestTools.WebStress.WebTestLoadProfile'.
or some error related to “Microsoft.VisualStudio.TestTools…” (ref). Or, you may have a web test that runs fine on one machine but not on another.
If you’ve seen something like this, you’ve probably installed something out of order, or some users have Service Pack 1 installed and some don’t. A proper install order looks something like:
Visual Studio (Team Edition)
Team Explorer
Team Foundation 2008 October Power Tools
Visual Studio 2008 Service Pack 1