使用为远程执行创建的Rig运行负载测试时出现问题 - 控制器和代理 [英] Problem in running Load Test using Rig created for remote execution - Controller and Agents

查看:66
本文介绍了使用为远程执行创建的Rig运行负载测试时出现问题 - 控制器和代理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为远程执行创建负载测试装备。以下是配置:


1)控制器 - 它在域-A下
2)Agent1-它也在域-A下
3)客户端(这是我使用Visual Studio 2017的桌面  - 它位于Domain-B 


使用服务帐户配置控制器和代理。


并使用我的Windows帐户运行测试并拥有Controller和Agent的管理员权限。还将我的用户添加到


1.Administrators,2。性能日志用户,3。性能监视器用户,4。高级用户,5。团队TestAgentService,


6.团队TestControllerAdmins, 7. Team TestControllerUsers


我能够在Visual中看到控制器和代理工作室在我的桌面上,它已连接并准备就绪,但是当我通过Visual Studio从我的机器执行负载测试时,它会出现以下错误:


无法执行测试运行。无法将测试运行排入收集数据和诊断的控制器:Controller。连接尝试失败,因为连接方在一段时间后未正确响应,或已建立连接
失败,因为已连接的主机未能响应

解决方案

亲爱的朋友,


>>无法将测试运行排队到收集数据和诊断的控制器:Controller。连接尝试失败,因为连接方在一段时间后未正确响应,或已建立的连接失败,因为已连接的
主机无法响应


请尝试在MSTest.exe上添加入站防火墙规则,和/或将入站连接更改为"允许"在个人资料级别。 该解决方案应根据需要添加为KB。 


参考链接:


  https://social.msdn.microsoft.com/Forums/vstudio/en-US/fd6c679e-3a41-4678-ad7f-5de0fb3859e5/mstest -distributed-performance-test-failed-to-queue-run-xxx-a-connection-attempt-failed-?forum = vstest


 


问候, 


Fletcher


I am creating load test rig for remote execution. Following is configuration:

1) Controller - it is under Domain-A
2) Agent1-it is also under Domain-A
3) Client(Which is my desktop with Visual Studio 2017  - it is under Domain-B 

Configured the controller and agent with service account.

and running test using my windows account and having administrator rights on Controller and Agent.Also added my user in

1.Administrators,2. Performance log Users,3. Performance Monitor users,4. Power users,5. Team TestAgentService,

6. Team TestControllerAdmins,7. Team TestControllerUsers

I am able to see controller and agents in Visual Studio on my desktop, and it is connected and ready, but when I am executing load test from my machine through Visual Studio, it gives me following error:

Test run could not be executed. Failed to queue test run to the controller that collects data and diagnostics: Controller. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

解决方案

Dear friend,

>>Failed to queue test run to the controller that collects data and diagnostics: Controller. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Please try to add an inbound firewall rule on MSTest.exe, and/or change inbound connections to "Allow" at the profile level.  The solution should be added as a KB as appropriate. 

Reference link:

 https://social.msdn.microsoft.com/Forums/vstudio/en-US/fd6c679e-3a41-4678-ad7f-5de0fb3859e5/mstest-distributed-performance-test-failed-to-queue-run-xxx-a-connection-attempt-failed-?forum=vstest

 

Regards, 

Fletcher


这篇关于使用为远程执行创建的Rig运行负载测试时出现问题 - 控制器和代理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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