logo       

[HtmlUnit] [ htmlunit-Bugs-1442428 ] synch request handling / mixing asynch: msg#00011

java.htmlunit.devel

Subject: [HtmlUnit] [ htmlunit-Bugs-1442428 ] synch request handling / mixing asynch and synch requests

Bugs item #1442428, was opened at 2006-03-03 13:09
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=448266&aid=1442428&group_id=47038

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: tkohegyi (tkohegyi)
Assigned to: Nobody/Anonymous (nobody)
Summary: synch request handling / mixing asynch and synch requests

Initial Comment:
First of all: new JUnit test package is created in
order to test htmlunit is 'real life' environment (it
means there is a web server in the Junit that is
called and request/response pair can be used, delays
of the requests can be set, multiple requests can be
tested in paralel.)

It is suggestsed to add the package to the existing
JUnit test part.

The Junit test is in 'RealServerTest' file.
It contains some basic tests, and 2 of them fails:
- testAsynchRequestComplex() -> 2 asynch request in
paralel
This causes Context clean up problem.

- testAsynchRequestEvenMoreComplex() -> 1 asynch
request while the page is still loading another page
source.
This causes SimpleHttpConnectionManager:
SimpleHttpConnectionManager being
used incorrectly. Be sure that
HttpMethod.releaseConnection() is always
called and that only one thread and/or method is using
this connection manager
at a time.
==================
I think in order to move forward with AJAX support
these problems should be eliminated.
------------------
Additional tests may be provided by me, if it is
necessary.
------------------
Suggested reading: recent several HtmlUnit DL mails
with 'Mixing request' in subject.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=448266&aid=1442428&group_id=47038


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise