Reputation: 73
I would like to use Jmeter for UI performance testing. How to use Jmeter for UI performance testing? How can I get the loading time of the HTML elements?
Thanks
Upvotes: 3
Views: 22179
Reputation: 5692
Just add the ELK RUM Agent to your Dev and Functional test environments. Pull all of the w3c timings there. Whether the test is being run manually or automgically, so long as a browser is involved that runs JavaScript you will receive the w3c navtiming metrics
Upvotes: 1
Reputation: 1927
Have you thought about applying load at your system back-end and running a parallel UI load test like Dmitri suggested? This might just help you to achieve what you need.
We use webpagetest.org in combination with our load test which allows us to record videos and compare it with previous release.
Upvotes: 0
Reputation: 168147
As per JMeter project main page:
JMeter is not a browser, it works at protocol level. As far as web-services and remote services are concerned, JMeter looks like a browser (or rather, multiple browsers); however JMeter does not perform all the actions supported by browsers. In particular, JMeter does not execute the Javascript found in HTML pages. Nor does it render the HTML pages as a browser does (it's possible to view the response as HTML etc., but the timings are not included in any samples, and only one sample in one thread is ever displayed at a time).
So the only way of testing UI using JMeter is going for WebDriver Sampler which provides integration with Selenium browser automation framework.
WebDriver Sampler can be installed using JMeter Plugins Manager
Upvotes: 4