VS2017 Web性能测试可以防止超时 [英] VS2017 Web Performance Test keeps timing out

查看:198
本文介绍了VS2017 Web性能测试可以防止超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨大家好,

 道歉,如果这是在错误的地方。

 Apologies if this is in the wrong place.

我有VS2017.2运行网络性能测试以迭代方式运行(255次)。  经过一段时间后,通常会在10-15分钟内因"TImeout"错误而停止。 似乎没有关于
触发超时的任何其他信息。

I have VS2017.2 running a web performance test that runs iteratively (255 times).   After a period of time, usualy 10-15 minutes it will stop with a 'TImeout' error.  There does not appear to be any additional information as to what triggered the timeout.

我的local.testsettings几乎是默认的 - 两者都是  "关于测试运行"和"标记和单个测试失败"未经检查。

My local.testsettings is pretty much default - both  'about test run' and 'mark and individual test failed' are unchecked.

测试需要一个小时左右才能完成 - 这取决于每次迭代需要多长时间。 但是,它在61分钟之后(可以在30到50次测试之间)非常一致地停止。

The test should take an hour or so to complete - it is dependant on how long each iteration takes.  However, it is pretty consistentyly stopping after 61 minutes (which can be between 30 and 50 tests).

是否有人知道是否需要更改全局设置以允许更长时间测试发生。  我不能/不能在这种情况下使用负载测试。

Does anyone know if there is a global setting that needs to be changed to allow longer tests to occur.   I am not/cant use a load test for this scenario.

问候

Andy

推荐答案

作为一个临时工作,我已经在同一个网络性能测试加载测试并将其设置为255次迭代,255个用户和一个并发用户(因此它按顺序运行)。  这似乎可以完成所有测试,但是在更快的时间内
(我想知道是否它在网络性能测试中使用记录的思考时间。)
As a temporary work-a-round I have put the same web performance test in a Load Test and set it to 255 iterations, 255 users and one concurrent user (so it runs sequentially).  This appears to complete all of the tests, but in a much faster time (I am wondering if it is using the recorded think times in the web performance test).


这篇关于VS2017 Web性能测试可以防止超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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