How ugly! I feared it, but thought that it wouldn't occur.

Can you try with build 1656, this should be fixed.

Some explanations: I've added a feature to allow "easy" ajax testing.
WebTest is too fast therefore the typical background activities of AJAX
applications are not completed when a step finishes. I wanted to give
them time to complete to avoid use of hideous and unreliable sleep
steps. The problem is that current HtmlUnit API doesn't give the
necessary control to achieve this correctly and that each step waited up
to 2 seconds when some background task was registered even if this was
for instance something that should first occur 1 minute later and
therefore doesn't matter.

I've restored the previous state and you should become the original
speed again. The feature hasn't totally disappear and can still be used
with <config easyajax="true"/>. I won't document it because first it has
the drawbacks you've discovered and second, next version of HtmlUnit
should give the necessary control to make it really right.

Cheers,
Marc.
-- 
Blog: http://mguillem.wordpress.com


Mart Toom wrote:
> Hi Marc,
> 
> I just updated to new version of WebTest (R_1655) and discovered an
> unpleasant increase in test execution time.
> 
> Tests, that earlier took about 10 minutest to execute, with new version
> are taking more than 25 min.
> 
> When comparing two reports, then I can see, that simple tasks like
> verifyText, verifyInputField, verifyXPath, setInputField etc are taking
> now ca 2000ms when earlier they took always less than 20ms
> 
> I'd say that's a huge performance hit.
> 
> Is it due to new version of HtmlUnit?
> 
> Regards,
> 
> Mart
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> 

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to