Problem: We have numerous AJAX-heavy pages on our site. We'd like to have imacros record the load times of these pages (including the AJAX). It appears that imacros only records the load times of the main site (JSPs), and not the AJAX which begins once the page load is complete.
Solution:
Use the IMAGESEARCH command to wait for the AJAX function to show the result;
So a simple AJAX performance test macro will look like this:
'Start reponse time measurement
'Measure total macro runtime
STOPWATCH ID=Total
'Measure load time for page
STOPWATCH ID=PageWithAJAX
STOPWATCH ID=PageHTMLonly
URL GOTO=http://www.shutterfly.com/lightbox/view ... d658bfd733
STOPWATCH ID=PageHTMLonly
IMAGESEARCH IMAGE=square.bmp CONFIDENCE=100
STOPWATCH ID=PageWithAJAX
STOPWATCH ID=Total
Related forum posts: How to handle AJAX
Load and Performance testing of AJAX pages
Forum rules
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
- Tech Support
- Posts: 4948
- Joined: Tue Sep 20, 2005 7:25 pm
- Contact:
- Tech Support
- Posts: 4948
- Joined: Tue Sep 20, 2005 7:25 pm
- Contact:
Re: Load and Performance testing of AJAX pages
Please also see the Wiki FAQ: Testing AJAX websites
Re: Load and Performance testing of AJAX pages
I am using a website that has AJAX and i cannot use the Imagesearch as i am looking to double click to make the function work...
How would i go about double click on an AJAX page?
Thanks
How would i go about double click on an AJAX page?
Thanks