在Jmeter中-如何获取导航页面所需的时间 [英] In Jmeter - How can i get, how much time taken to navigate a page

查看:140
本文介绍了在Jmeter中-如何获取导航页面所需的时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当导航到e.x登陆页面时,blazemeter记录器会发出10个HTTP请求.在这种情况下,我如何获得导航导航页面所需的时间. 如果我根据表侦听器中的查看结果"来汇总所有请求时间,则该时间超过了镶边时间的响应时间,因此无法获得确切的时间.

注意:HTTP请求可能是顺序的或并行的.

Chrome响应时间为4秒,但表侦听器中的查看结果"总和值为12秒

解决方案

我不认为您应该有10个请求,很可能您应该只有1个请求.

如果其余9个请求是关于图像,脚本,样式,字体,声音等的-您不需要手动添加它们,而是需要在高级"选项卡上的Retrieve all embedded resourcesParallel Downloads框打钩 HTTP请求采样器(甚至更好的HTTP请求默认值:

如果请求是 AJAX -您需要将其放在并行控制器

While navigating to e.x landing page the blazemeter recorder gives 10 HTTP requests. In this case, how can i get, how much time taken to navigate landing page. If I summarize all the requests time based on View Results in Table listener, it is more than the reponse time of chrome time hence couldn't get the exact time.

Note: HTTP Request might be sequential or parallel.

Chrome Response time is 4sec but View Results in Table listener sum value is 12sec

解决方案

I don't think you should have 10 requests, most probably you should have only 1 request.

If remaining 9 requests are for images, scripts, styles, fonts, sounds, etc. - you don't need to add them manually, instead you need to tick Retrieve all embedded resources and Parallel Downloads boxes on "Advanced" tab of the HTTP Request sampler (or even better, HTTP Request Defaults:

If the requests are AJAX - you need to put them under Parallel Controller

这篇关于在Jmeter中-如何获取导航页面所需的时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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