Hi all, 

 

I have the following scenario:

 

1)       Web page that submits a form 

2)       Backend fires off a thread to do a several minute long process
which updates it's progress to an object in the HttpSession. Then it
displays a "progress" page.

3)       The progress page polls the server using AJAX (prototype) every
so many seconds. When it gets the response it checks for a finished type
of flag and if it is finished it sets the location.href so that a new
"results" page is loaded, but if it is not finished it just stays on the
same progress page only updating dom elements to reflect the progress
and then polls the server again in a few more seconds. 

 

Note that the call to check progress is NOT initiated by a user action
but by javascript and timeouts.  Given that, is there any good way to
create a webtest for this that would "wait" until the finished flag from
the "progress check" makes the page change to the final results page?

 

I don't have to verify any particular thing in the "progress" page but
I'd like to verify that it gets to the results page eventually and I'm
not sure how to do this since it happens without user initiated events. 

 

All help appreciated :-)

 

Thanks,

Lynn



This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

Reply via email to