无法在远程代理上执行VSTS负载测试 [英] Unable to execute VSTS load test on remote agents

查看:59
本文介绍了无法在远程代理上执行VSTS负载测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在尝试在VS 2015中执行VSTS负载测试。

I am trying to execute a VSTS load test in VS 2015.

我已经设置了VS2013控制器一个具有VS2015并且在其他VM上安装了VS2013代理的虚拟机

I have setup a VS2013 controller on one VM which has VS2015 and there are VS2013 agents installed on other VMs

我已在local.testsettings文件中为已连接的虚拟机配置了远程执行的测试设置

I have configured the test setting for remote execution on connected VMs in local.testsettings file

我还在代理上选择代理虚拟机以使用.loadtest文件中的属性 - >场景 - > AllTests - >属性

I have also selected the agent VM on Agents to use propert in .loadtest file -> scenarios -> AllTests -> properties

所有虚拟机都在AZURE上。

All VMs are on AZURE.

负载测试无法立即执行并出现以下错误 - >

The load test fails to execute immediately and gives following error ->







错误

Error


12/22/2017 21:14

12/22/2017 21:14


无法对测试运行进行排队'rpatil @ AZUATSPRFL01 2017-12-22 21:14:4 8':'Microsoft.VisualStudio.TestTools.Common.TestId'类型的对象无法转换为'Microsoft.VisualStudio.TestTools.Common.TestId'类型。

Failed to queue test run 'rpatil@AZUATSPRFL01 2017-12-22 21:14:48': Object of type 'Microsoft.VisualStudio.TestTools.Common.TestId' cannot be converted to type 'Microsoft.VisualStudio.TestTools.Common.TestId'.


AZUATSPRFL01

AZUATSPRFL01


 






推荐答案

您好Rahul247,

Hi Rahul247,

欢迎来到MSDN论坛。

Welcome to MSDN forum.

>>我在一台拥有VS2015并在其他虚拟机上安装了VS2013代理的VM上设置了VS2013控制器

>> I have setup a VS2013 controller on one VM which has VS2015 and there are VS2013 agents installed on other VMs

您的意思是安装VS2013控制器和VS2013安装了VS2015的同一台机器中的代理,我是对吗?

You mean that you install the VS2013 controller and VS2013 agents in the same machine which has VS2015 installed, am I right?

>>我已在local.testsettings文件中为连接的虚拟机配置了远程执行的测试设置

>> I have configured the test setting for remote execution on connected VMs in local.testsettings file

请确保测试代理在
管理测试控制器
中处于'准备好'状态。

Please make sure that the test agent is in ‘ready’ status in Manage Test Controller.

>>我也有选择Agent上的代理VM以在.loadtest文件中使用property - > scenario - > AllTests - > properties

>> I have also selected the agent VM on Agents to use propert in .loadtest file -> scenarios -> AllTests -> properties

您是否在方案属性中设置了代理商使用选项?

Did you set Agents to Use options in scenarios Properties?

根据您提供的错误消息,我建议您使用代理进行可视化2015年工作室。请参阅具有类似问题且已经解决的此主题。

Based on the error message you provided, I recommend that you use Agents for visual studio 2015. Refer this thread which has the similar issue and has been addressed already.

HTTPS:?//social.msdn .microsoft.com /论坛/ vstudio / EN-US / 37073696-3d0e-4de1-8637-3775c0e3009d /负载测试,内部部署与 - 视觉工作室2015年,针对测试控制器-2013-相遇错误?forum = vstest

问候,


这篇关于无法在远程代理上执行VSTS负载测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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