Danijel
Danijel

Reputation: 75

Web page performance testing

I'm not new in load testing. My job is to create a load testing with jmeter. I did not bother with tread number, clients, memory consumption ,etc. For jmeter load testing i used 3 client , each of them run 1000 threads (30% CPU was used), results were expected all the time. No problems were detected on SUT or clients.

I'm put before new challenge. Now i have to execute web performance testing on browsers.I don't know if i create a correct picture about performance testing. I want to measure, first byte, load time on web page, java script, Ajax, etc,...

Web automation tests are written in selenium. Selenium is not mentioned for web load testing.

Lets say to simulate 1.000 users clicking ob browser, this means a lot of VM, collecting results from browsers(DOM counters), SUT is managed by PS script to take data from perf. counters. I see a problem a lot of VM means also financial budget which i do not have.

I'm in doubt if the upper approach is correct or should change my approach. One of these tools is Visual Studio Ultimate edition. But i still need a lot of VM to simulate 1,000 users - browsers.

On the internet i read a documents, descriptions, top tools.

How do you do changeling web page performance testing on you company.

Any help about web page performance will be appreciated.

Thanks,

Dani

Upvotes: 0

Views: 504

Answers (1)

Dmitri T
Dmitri T

Reputation: 167992

Well-behaved JMeter script must look exactly like real browser does from the server's perspective, just make sure you properly handle the next few bits:

See How to make JMeter behave more like a real browser article for more details.

Assuming all above you should be able to mimic the load on HTTP protocol level. If you need to measure rendering or JS execution speed additionally you can add another Thread Group with 1 (or several threads) and use WebDriver Sampler which provides JMeter integration with Selenium. Additionally you can collect some extended stats using i.e. Navigation Timing API via WDS.browser.executeScript() method allowing execution of arbitrary JavaScript code.

Upvotes: 1

Related Questions