本文介绍了在网址中思考时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


大家好,

Hi All,

在我的网络测试中我可以看到2个网址

In my webtest i can see 2 url's

1)A。 aspx 2)b.ashx

1)A.aspx 2)b.ashx

当我在我的应用程序中运行时,我在浏览器中看到的A.aspx是主页面。但是B.ashx是每个记录的页面。 ; ashx的"页面。

A.aspx is the main page which i see in the browser when i run through my application.but B.ashx is the page which gets recorded with every ".ashx" page.

少数".aspx"页面包含我在代码中看到的思考时间。但主要是它的".ashx"有思考时间的页面。

few of the ".aspx" pages contain think time when i see in code.but mostly its this ".ashx" page which has the think time.

Q1)如果在".aspx"下有一些思考时间。页面,是否是页面加载所花费的时间?

Q1)if there is some think time under ".aspx" page, is it the time taken by the page to load?

Q2)具有思考时间的后续页面(".ashx")意味着用户在该页面上花费的时间(主要)页面?

Q2)the subsequent page(".ashx") having think time means that its the time taken by a user on that(main) page?

推荐答案

思考时间用于产生现实生活用户不会向服务器发送连续请求但会花费一些时间思考/执行的情况,这会导致请求链之间的延迟。

Think time is used to produce real life scenario where a user is not going to send consecutive requests to server but, will spend some time thinking/executing, that will cause a delay between the chain of requests.

思考时间添加到您的请求中的是您在发送早期请求并设置此请求后花费的时间。 (可能用于在输入框中键入文本或选择多个复选框,甚至可以考虑下一步操作的内容/方法)。

The think time that gets added to your requests is the time that you spend after the earlier request was sent and this request is set. (May be for typing a text in a inputbox or selecting multiple check box, or even thinking what/how to do next action).

因此,在执行期间,如果(并且仅在您已经启用了在Web测试中使用测试设置或在负载测试场景中使用思考配置文件的思考时间,虚拟用户将在生成该请求后等待那么长时间。这将允许测试人员生成
的实际用户负载。

So, During execution, if (and only if you have enabled think time using testsettings in web test or using think profile in scenario of a load test), the virtual user will wait for that much time after generating that request. This will allow testers to generate a realistic user load.

因此,认为时间既不是页面加载的时间。它是在请求之间输入的延迟。请参阅

So, think time is neither time taken by the page to load. Its a delay entered between request. Seehttp://msdn.microsoft.com/en-us/library/dd997697.aspx.

-Tejas。


这篇关于在网址中思考时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 14:57