Can eValid monitor the webpage after an AJAX action

Applying eValid to Rich Internet Application (RIA) Performance Monitoring.

Can eValid monitor the webpage after an AJAX action

Postby CNelson » Wed Aug 15, 2018 11:59 am

Hi.

Can I mononitor how long it takes for a web page to be refreshed completely after I take an action that starts of some AJAX interactions?

Thanks
CNelson
 
Posts: 1
Joined: Wed Aug 15, 2018 11:55 am

Re: Can eValid monitor the webpage after an AJAX action

Postby eValid » Thu Aug 16, 2018 11:50 am

CNelson wrote:Hi.

Can I mononitor how long it takes for a web page to be refreshed completely after I take an action that starts of some AJAX interactions?

Thanks


Interesting question CNelson.

It all depends on what you mean by "refreshed completely".

The standard document Complete signal in the DOM will indicate that the download has completed, but in the case of freshly initiated AJAX actions, this may be misleading.

Our recommendation is to identify a particular element, the status of which you know is going to be updated as the consequence of the AJAX action.

Then, using ValuePutElement put some property value="stale" combination into that DOM node.

This a value that you know will be changed to "<new value>" when the page is updated.

Then, start a synchronization loop and wait for that index's property to turn to "<new value>".

Here is a page that summarizes possible synchronizations:

http://e-valid.com/Products/Documentati ... mmary.html

In effect, you set a marker that can be the pivot of your synchronization loop and then wait for the needed update.


-- eValid Support
eValid
 
Posts: 1873
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Rich Internet Application Monitoring (RIA)

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons