我们最近一直使用自供应负载测试设备作为构建的一部分(使用云负载测试构建任务)执行负载测试,使用以下快速入门模板 -无法在自供应负载测试设备上找到免费机器
https://github.com/Azure/azure-quickstart-templates/tree/master/101-vsts-cloudloadtest-rig
这一直很适合我们,但有些事情似乎已经改变,这个过程不再有效。当负载测试任务开始,我们现在得到以下错误:
2017-04-24T14:32:07.4831251Z [Message]This load test was run using self-provisioned rig 'default'. No virtual-user minutes (VUMs) will be charged for this run.
2017-04-24T14:32:07.4881254Z ##[error]Microsoft.PowerShell.Commands.WriteErrorException: Test run could not be started using the self-provisioned rig 0ebc4aad-33b2-495e-a75a-213d4607976b. Number of free machines available in the rig are less than the required number. (Requested – 1, Available - 0, In-Use – 0, Offline – 3).
使用ManageVSTSCloudLoadAgent.ps1脚本
我可以看到,有一个名为“LoadTesting”与代理组我两个配置好的VM,它们都显示为Free。但是,此LoadTesting组的GUID与构建任务尝试使用的错误消息中的GUID不匹配。根据脚本,只有一个钻机可用,所以我不知道云任务从哪里获得另一个。
如何更改任务以使用正确的组?或改变“LoadTesting”组是默认?
我不能负载测试定义中或通过团队服务网站的任何地方找到我在哪里可以修改到钻机它使用。