8 messages in com.canoo.lists.webtestRe: [Webtest] Stream closed| From | Sent On | Attachments |
|---|---|---|
| Stefanie Wilms | 05 Oct 2006 02:30 | |
| Paul King | 05 Oct 2006 02:52 | |
| Peter Anning | 05 Oct 2006 13:25 | |
| Marc Guillemot | 05 Oct 2006 13:45 | |
| Stefanie Wilms | 10 Oct 2006 04:27 | |
| Marc Guillemot | 16 Oct 2006 04:29 | |
| Stefanie Wilms | 17 Oct 2006 12:09 | |
| Marc Guillemot | 18 Oct 2006 01:12 |
| Subject: | Re: [Webtest] Stream closed![]() |
|---|---|
| From: | Stefanie Wilms (stef...@bluethistle.de) |
| Date: | 10/10/2006 04:27:15 AM |
| List: | com.canoo.lists.webtest |
Hi
Peter, your guess was right. I tried the sleep statement and it worked! Thanks!!
Marc, the problem is reproducible, so I could try your modified version of htmlunit.
Stefanie
Marc Guillemot wrote:
Hi,
interesting to see what workaround are founds ;-)
It has possibly to do with following htmlunit feature request: Support
for multi-threaded connection manager.
http://sourceforge.net/tracker/index.php?func=detail&aid=1472606&group_id=47038&atid=448269
Are you able to reproduce this problem? If yes I could send you privately a modified version of htmlunit to see if it solves the issue and if it can be changed in htmlunit.
Peter, can you tell a bit more about your AJAX experience with WebTest?
Marc.
Peter Anning wrote:
I guess your page is making AJAX calls? If the header "HTP1.1 200 OK" is not the issue then it could be a question of timing. We have had problems where if the AJAX call has not happened and the page unloads or something then we'd see XMLHttpRequest errors.
Putting a sleep statement before the step that gives the error sorted the problem:
<!-- wait for AJAX depending on how slow your server is or how fast you test cleint machine is You may need to increase this value --> <sleep description="wait 1 sec for AJAX" seconds="1"/> <!-- now perform AJAX dependent step <setSelectField name="Choose destination" value="(6/7)"/>
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest




