Reputation: 73
I would like to use Locust for UI performance testing. How to use Locust for UI performance testing? How can I get the loading time of the HTML elements(img, lists, etc..)?
Thanks
Upvotes: 0
Views: 1876
Reputation: 1728
Locust is not made for that (as said). There are some other fancy tools which will allow to do it for you e.g:
I've also gathered some of my findings in my recent talk (slides below) and is converted into the series of blogs around these topics and first of them is already published:
Upvotes: 0
Reputation: 11426
Locust isn't a browser and doesn't parse HTML. It just does plain HTTP requests and it will not load things like images based on the response.
If you need something like that, you would need to parse the HTML in the response and do the "dependent" requests in your test script.
Upvotes: 0