且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何接近“最终客户"?单页(Web)应用程序上的性能测试?

更新时间:2023-11-19 22:39:22

查看JMeter WebDriver http://jmeter-plugins.org/wiki/WebDriverTutorial/.您可以在负载测试中定义一个并行测试,以评估服务器负载时客户端感知的性能.

Check out JMeter WebDriver http://jmeter-plugins.org/wiki/WebDriverTutorial/ . You can define one parallel to your load test in order to gauge performance perceived by the client while the server is under load.

在他们的网站上:

Web驱动程序采样器可自动执行和收集浏览器(客户端)上的性能指标.很大一部分 到目前为止,性能测试一直在服务器端 事物.但是,随着技术的进步,HTML5,JS和CSS 改进,越来越多的逻辑和行为被压低 给客户.这增加了整体的感知性能 网站/webapp,但JMeter中不提供此指标.事物 可能会增加浏览器整体执行时间的

Web Driver Sampler automates the execution and collection of Performance metrics on the Browser (client-side). A large part of performance testing, up to this point, has been on the server side of things. However, with the advancement of technology, HTML5, JS and CSS improvements, more and more logic and behaviour have been pushed down to the client. This adds to the overall perceived performance of website/webapp, but this metric is not available in JMeter. Things that add to the overall browser execution time may include:

客户端Javascript执行-例如AJAX,JS模板CSS 转换-例如3D矩阵变换,动画第三方插件- 例如.喜欢Facebook,双击广告,网站分析等所有这些 事情增加了浏览器的整体执行时间,而这个项目 目的是衡量完成所有渲染所需的时间 内容.

Client-side Javascript execution - eg. AJAX, JS templates CSS transforms - eg. 3D matrix transforms, animations 3rd party plugins - eg. Facebook like, Double click ads, site analytics, etc All these things add to the overall browser execution time, and this project aims to measure the time it takes to complete rendering all this content.