在连续测试中面临Visual Studio Online中的云负载测试问题 - System.Net.WebException - >远程服务器未经授权返回401错误 [英] Facing issue Cloud Load Testing in Visual Studio Online in Continous Testing - System.Net.WebException -> Remote server returned 401 error unauthorized

查看:95
本文介绍了在连续测试中面临Visual Studio Online中的云负载测试问题 - System.Net.WebException - >远程服务器未经授权返回401错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,< o:p>< / o:p>


我们正在尝试用
来保持负载测试来自VSO使用任务"
使用Azure IaaS进行负载测试b $ b VM的任务/云负载测试" 适用于在IaaS环境中托管的应用程序。< o:p> ;< / o:p>


模板:

.NET模板< o:p>< / o:p>


1)创建构建定义< o:p>< / o:p>


< p style ="margin-bottom:0pt"> 2)构建解决方案 - 通过< o:p>< / o:p>


3)添加任务" 使用Azure加载测试

IaaS VM的任务/云负载测试
"在构建定义中。为所有
b $ b b提供任务的必要细节,但是当面临运行问题时。< o:p>< / o:p>


选择的选项:自我配置< o:p>< / o:p>


对于测试控制器:使用Azure开发测试实验室< o:p>< / o:p>

设置一台价值
的虚拟机

对于测试代理:使用Azure开发测试实验室< o:p>< / o:p>

设置VM 机器


非托管代理:为了运行构建,

尝试使用测试控制器/专用代理,但仍面临同样的问题。< o:p>< / o :p>


< o:p> < / o:p>


错误详细信息:


System.Net.WebException - >远程服务器返回401错误未授权

解决方案

您好Raji1221,


我们的论坛是使用Visual Studio进行编码的UI和Web性能测试,根据您的描述,您的问题与VSTS更相关。


由于TFS论坛已被锁定,TFS的讨论已经移动,您可以获得有关
的建议 Stack Overflow ,只需在你的帖子中添加一个带有TFS的标签,然后你就会得到TFS成员的支持。


问候,


Judyzh


Hi Team,<o:p></o:p>

We are trying
to keep load test from VSO using the task "
Load test using Azure IaaS
VM’s task/Cloud Load testing"
for application hosted in IaaS Environment.<o:p></o:p>

Template:
.NET template<o:p></o:p>

1) Created Build Definition<o:p></o:p>

2) Builded the solution - Passed<o:p></o:p>

3) Added task "Load test using Azure
IaaS VM’s task/Cloud Load testing
" in the build definition . Provided all
the necessary details for the task but when running facing issue.<o:p></o:p>

Option selected: Self Provisioning<o:p></o:p>

For Test Controller : Set up a
VM machine using Azure Dev Test Labs<o:p></o:p>

For Test Agent : Set up a VM machine
using Azure Dev Test Labs<o:p></o:p>

Non Hosted Agent: For running the Build,
tried to use Test Controller/a dedicated Agent but still facing the same issue.<o:p></o:p>

<o:p> </o:p>

Error Details:

System.Net.WebException -> Remote server returned 401 error unauthorized

解决方案

Hi Raji1221,

Our forum is for coded UI and web performance testing by using Visual Studio, and based on your description, your problem is more related to VSTS.

Since the TFS forums have been locked, the discussion for TFS has moved, you could get advice on Stack Overflow and just add a tag with TFS in your thread, and then you would get support from TFS members.

Regards,

Judyzh


这篇关于在连续测试中面临Visual Studio Online中的云负载测试问题 - System.Net.WebException - &gt;远程服务器未经授权返回401错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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