Tuesday, September 8, 2009

Using JMeter to look at data transmitted

JMeter beside looking at how your website performs, you can also use the data to look at how much data is actually sent to the browser and the effects of caching.

Many web projects use some javascript/Ajax library for doing UI, and these javascript files usually come in a debug or minified version. And the javascript files are big for example we were using ExtJS 2.2 and the debug version is almost a meg big, the minified version of about 527kb, but there might exists other javascript files that your webpages may call and it is probably quite a pain to look for each file and count the size.

In my case we wanted to see how much data is actually sent over with each call to a web page, and how web browser caching during subsequent calls to other webpages affects the data transmitted. Using JMeter allows you to see how much data is transmitted with each call including what files are being transmitted with each call and their sizes.

No comments:

Post a Comment