We help IT Professionals succeed at work.

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

Hello,

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.

Thanks
Nicolas
Comment
Watch Question

Software Engineer
CERTIFIED EXPERT
Commented:
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 (http://www.wireshark.org/) 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.
HonorGodSoftware Engineer
CERTIFIED EXPERT

Commented:
Thanks for the grade & points.

Good luck

Author

Commented:
Thanks to you

Explore More ContentExplore courses, solutions, and other research materials related to this topic.