栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 面试经验 > 面试问答

There is Jmeter response time difference between Jmeter run results andmanually captured the respons

面试问答 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

There is Jmeter response time difference between Jmeter run results andmanually captured the respons

JMeter have three basic measurements it captures per request:

  • Elapsed Time (which is overall timespan from the point when it just starts sending request to the last bit received)

  • Latency (which starts the same point in time and ends when server starts responding)

  • And Connect time (which is included in latency and is basically the time for handshakes with server, including SSL/TLS negotiations)

So if you set a data writer among your listeners (e.g SimpleDataWriter,
although AggregateReport & SummaryReport can do it as well), you’ll see these
metrics in your data file (while standard listeners/visualisers/aggregators
stuck to elapsed time only).

But mind that these metrics doesn’t include response rendering, and especially
any pre to be executed by browser.

JMeter just doesn’t do it at all: obviously, it measures just the combined
performance of Server + Network, skipping everything on the client side
(except for bare necessities, like protocol negotiations).

That might explain the difference you’ve experienced.

As well as the difference between logged server processing times & the
response times measured by JMeter: server just doesn’t count what the network
brings in.

PS And you don’t have to sit and click on stopwatch with your browser: modern
ones have a Dev Tools capable of showing you the precision timings divided by
stages. E.g., just call Ctrl+Shift+I in Chrome, switch to network tab & behold
the timings right there as you doing your requests.



转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/377925.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号