Hi, I am new to WebTest and am glad to have stumbled across it.  I started off 
with the need to put a load on an Ajax application and stumbled across 
HTMLUnit.  Further searching led me to a blog posting in which there was a 
reference to running WebTests in JMeter.  If anyone has some details on this I 
would appreciate it.

One of the problems that I had faced with Selenium and HTMLUnit initially was 
that tests would fail due to Ajax calls.  The current version of HTMLUnit 
allows one to specify an AjaxController.  I used the 
NicelyResynchronizedAjaxController to get passt the issues that I was facing.  
I have modified my copy of WebTest (which uses HTMLUnit) to specify the 
NicelyResynchronizedAjaxController when it creates the WebClient and things 
appear to be working for me.

I would like to propose an enhancement WebTest to allow one to specify the 
AjaxController to use as an option.  The name of the option could be 
'ajaxcontroller' and the value could be the fully qualified name of a class on 
the classpath.

Let me know your thoughts.  I would be glad to make the change and commit.

Viraf


      

Reply via email to