Selenium isn't meant to do 1000 user load testing.
jmeter + jsfunit is better for that
But if you want to do selenium with RichFaces pages, that does work.
1. put ids on all your components - this way jid198 wont show up
2. for ajax, you need to download the following extension http://blogs.nuxeo.com/dev/2009/03/selenium-ajax-requests.html
3. use java to run the selenium tests on selenium RC (possibly optional)
I wrote this method in our base junit test class.
When I want to click something that is an a4j command button I use this.
protected static HttpCommandProcessor proc;
protected static DefaultSelenium selenium;
protected void ajaxClick(String id)
We use Selenium for testing not for load testing.
JMeter does not like interest me.
I have only 1 page with a lot of ajax rerender and i read for JMeter:
I use rich:datatable with filtres in a dropdown in top of each column and automatic rerender of the datatable
I have many rich:datatable, one table in each rich:tab (in ajax mode)
And each row of each table are editable in a modal.
The JSFUnit live demo seem to be down, i try it tomorrow.