How to measure bandwith usage for HTTP response/AJAX response.


Is there any tools to measure bandwith usage of AJAX response? I would like to compare differents responses to see what is the most efficient one.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

HonorGodSoftware EngineerCommented:
The bandwidth utilization would be a function of the volume of data sent & received using Ajax, divided by the total amount of data sent & received.

Does any tool exist to perform this task?  I doubt it.

How would a tool be able to determine which requests and responses were the result of Ajax?

You would have to to have some kind of filtering mechanism that identified what requests were generated by Ajax.

I would use something like WireShark ( to capture all of the data sent/received on an interface, and write the information to a file, then parse & process it with a Python, or Perl script to do the filtering and computation.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HonorGodSoftware EngineerCommented:
Thanks for the grade & points.

Good luck
maisonlapriseAuthor Commented:
Thanks to you
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
File Sharing Software

From novice to tech pro — start learning today.