在2012年最终版本中,网络性能测试中有401个未经授权的错误 [英] 401 unauthorized error in web perf test in vsts ultimate 2012

查看:78
本文介绍了在2012年最终版本中,网络性能测试中有401个未经授权的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在2012年最终版本中运行网络性能测试时,我得到了"401未经授权的错误"。我可以如何解决此错误。尽快解决我的解决方法。

when I ran web perf test in vsts 2012 ultimate I got""401 unauthorized error".how can I resolve this error.send me the workaround asap.

注意:请转到下面的屏幕截图

Note: go to below screenshot

推荐答案

未经授权的401表示您未向登录请求提供正确的详细信息。网络搜索将找到401响应的精确定义。

The 401 unauthorised means that you have not supplied the correct details to the login request. A web search will find a precise definition of a 401 response should mean.

要理解该问题需要的信息比您在问题中提供的信息要多得多。看起来好像缺少动态数据。我建议您记录测试的两个版本,使它们尽可能几乎相同,然后比较
两个webtest文件,看看这两个登录请求有何不同。然后找到不同值的来源。添加提取规则以获取数据并在需要时使用它。您可能需要记录以不同用户身份登录的第三个测试,并比较
三个webtest文件。

To understand the issue needs much more information than you have given in your question. It looks as if there is missing dynamic data. I suggest that you record two versions of the test making them as nearly identical as possible, then compare the two webtest files to see how the two login requests differ. Then find where the different values come from. Add extraction rule(s) to get the data and use it where needed. You may need to record a third test which logs in as a different user and compare the three webtest files.

我发现文本比较程序如BeyondCompare或Windiff是在比较webtest文件时非常有用。

I find that a text comparison program such as BeyondCompare or Windiff is very helpful when comparing webtest files.

问候

Adrian


这篇关于在2012年最终版本中,网络性能测试中有401个未经授权的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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