[Webtest] Still having problem with redirects
Jeannie Graham
webtest@lists.canoo.com
Wed, 17 Mar 2004 15:48:49 -0800
Hello Group:
I have an application that invokes a java servlet via a .jsp call. The
servlet does two things, first, it spawns a process that calls out to a
webservice that takes some time to return a response. Secondly, it redirects
the user to another .jsp page that simply metaRefreshes to the same servlet
url. Every subsequent call to the same servlet checks that the webservice
call has completed. If it has completed, it takes me to another .jsp page
that displays the results. If it hasn't completed, it once again redirects
me to the metaRefresh .jsp page.
My problem is when I write a Canoo script to mimic this process, at some
point it appears that I am losing my http session and rather than
redirecting me to the results page or the metaRefresh page, the servlet
redirects me to a session time-out page. Obviously, I haven't timed out my
session in such a short time frame (10 secs). Does anyone have any
experience with a similair application workflow and if so, what is the
problem and what kind of scripts did you write to handle this situation?
Mittie: I began a new TestSpec like you suggested, invoking a new url, and
it seemed to work at the time, but now I am getting the problem above.
Any help would be greatly appreciated!
Jeannie Graham