How can we measure the Server Processing Time,Page Loading Time,Page Rendering Time and Page Size from Apache Jmeter

倖福魔咒の 提交于 2019-12-06 05:18:33

问题


How can I measure the following points

  • Server Processing Time
  • Page Loading Time
  • Page Rendering Time
  • Page Size

from Apache Jmeter?

Is there any suitable listener to measure all these points?


回答1:


With aggregate report Or csv / xml results you get nearly all the infos you can regarding response times BUT:

  • Server Processing Time: you cannot get this one as jmeter act on client side it includes network time, so you need to add some profiling data or look at access logs
  • Page Loading Time : if it's page response time yes
  • Page Rendering Time : no as jmeter is not a browser, furthermore rendering occurs on client side so what interests you in load testing is time to get response.
  • Page Size: yes

I suggest you read:

  • http://jmeter.apache.org/usermanual/index.html

  • http://jmeter.apache.org/usermanual/test_plan.html

  • http://jmeter.apache.org/usermanual/component_reference.html#Aggregate_Report

Regards

Philippe M.

http://www.ubik-ingenierie.com/-Solutions-




回答2:


Server processing time = time to first byte - request sent
Page loading time = time to last byte - time to first byte
Page size = Response size

Page rendering time - you'll have to use GUI testing tools for this one.
E.g. 
  Chrome has Ctrl+Shift+i > Timeline tab
  Firefox has Firebug > Net tab.

See here for more info on these phrases mentioned above.



来源:https://stackoverflow.com/questions/11986721/how-can-we-measure-the-server-processing-time-page-loading-time-page-rendering-t

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!