Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
182 views
in Technique[技术] by (71.8m points)

Performance Testing - Are there any automation tools for performance testing that renders webpages in browser?

All the performance testing tools I found do not use actual browsers for UI testing. Some of them will get the html of the webpage from the server and will parse it and we can verify the elements on them.

What I want is to find the time it takes to render the web pages and elements in actual browsers when multiple users are logged into the application. Any suggestions?

question from:https://stackoverflow.com/questions/65622979/performance-testing-are-there-any-automation-tools-for-performance-testing-tha

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

The absolute majority of web tools act on HTTP protocol level and not kicking off the real browsers because:

  1. For performance testing of the backend (simulating hundreds/thousands of concurrent users) you don't need to simulate the real browser, it's sufficient to mimic the real browser network footprint
  2. For performance testing of the frontend you don't need to conduct high load, single browser is sufficient and its developer tools can tell pretty much everything

If you're still looking for a load testing tool which uses real browsers instead of background threads executing HTTP requests I can think of 2:

  1. LoadRunner with TruClient protocol
  2. Apache JMeter with WebDriver Sampler

however it shouldn't be a problem to add support of browser automation framework like Selenium to any load testing tool which can "understand" a programming language


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...