遥控器负载测试

发布于 2024-08-29 04:26:10 字数 285 浏览 1 评论 0原文

我正在尝试从远程控制器运行负载测试,但收到此错误。

无法对测试运行“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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浪菊怪哟 2024-09-05 04:26:10

无法对测试运行“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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文