WebTuna adds AJAX timing

WebTuna adds AJAX timing

We have added AJAX support to WebTuna. If your web application makes AJAX calls using jQuery 1.5 or above then they will be automatically captured by version 3 or above of webtuna.js. If you are using an older version of webtuna.js then you will need to replace it with the new version. If you have an older version of jQuery or use another framework then you can still capture the AJAX calls by manually instrumenting your code, as described later in this article.

In the user interface a new view has been added to the Performance tab, called Request Type, where you can see the AJAX calls.

webtuna-ajax-1

You can analyse the AJAX calls in the usual way. For example, here is the path of the AJAX calls.
webtuna-ajax-2

And here are the parameters to the calls.
webtuna-ajax-3

If you wish to manually instrument AJAX calls then the lines you need to add to your code are shown below in bold typeface.


About the Author

Comments are closed.