[Webtest] <verifytext> does not find - servlet self submission

Prem Kumar P webtest@lists.canoo.com
Tue, 14 Sep 2004 11:16:40 -0700 (PDT)


I have a servlet that generates some HTML page with a
FORM tag. This page has a listbox and a submit button.
After clicking on submit button it submits to itself
(i.e, to the same servlet). Based on input, the
servlet generates someother HTML page which is
completely different from previous FORM page.

Using <verifytext> I am looking for a string in the
second HTML page generated. But unfortunately it is
not matching. 

I have looked at the log file and found that it is
still holding first page even after submitting. I
think that it is due to self submission it is caching
the contents of previous page becuase the URL is same.
How to come over this problem and get the newly
generated content?

I have tried with autorefresh="true" property of
<config>. Still no change. What to do to stop the
caching of page content?


Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!