请求失败:基础连接已关闭:连接意外关闭。 [英] Request failed: The underlying connection was closed: The connection was closed unexpectedly.

查看:123
本文介绍了请求失败:基础连接已关闭:连接意外关闭。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个主Web测试,我打电话给5个网络测试。当我执行我的网络测试,即单次迭代时,它完美地工作。但当我将我的迭代次数增加到2并运行我的网络测试时,一个正在通过,一个失败,错误
消息为@

I have a Main Webtest where i am calling 5 web tests . When i execute my web test ie for single iteration it is working perfectly. But When i increase my iterations to 2 and run my web test , then one is getting passed and one is getting failed with error message as @

请求失败:基础连接已关闭:连接意外关闭。

Request failed: The underlying connection was closed: The connection was closed unexpectedly.

[请求失败的请求是POST请求]

[The request which is getting failed is POST Request]

请建议我克服此问题。

Pls suggest me to overcome this issue.

谢谢,

AravindR。

Thanks,
AravindR.

推荐答案

您好AravindR,

Hi AravindR,

感谢您在MSDN论坛上发帖。

Thank you for posting in the MSDN forum.

您是说在负载测试中运行Web测试时遇到此问题,还是仅在测试设置中使用"固定运行计数"的Web测试是2次?如果您没有运行负载测试,也许您可​​以尝试在负载测试中运行它以获取更多信息。

Do you mean that you get this issue when you run the web test in a load test or just the web test with "Fixed run count" is 2 times in test settings? If you don’t run a load test, maybe you could try to run it in a load test to get more information.

请求失败:基础连接已关闭:连接意外关闭。

根据错误消息,我同意Bill的建议
线程
,我怀疑你的服务器端对你的请求有一些限制。

Based on the error message, I agree with Bill’s suggestion in this thread, I doubt that your server side has some limits to your request.

类似的线程,如果可能的话,你可以检查一下,也许你可以得到有用的信息。

The similar thread, if possible, you could check it, maybe you could get useful information.

底层连接已关闭:连接意外关闭(Webtest失败)

最好的问候,


这篇关于请求失败:基础连接已关闭:连接意外关闭。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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