In this blog I will show a way to do performance testing with Selenium. The reason I use Selenium for performance testing is that some applications use proprietary protocols between the application layer in the browser and the server.
So just capturing the traffic between the server and replaying modified traffic is not that simple.
An example is testing GWT applications. In a previous blog I wrote why this is difficult.
To create a test script in Selenium the first thing I do is record a test with Selenium IDE
After recording a script I export the script to JUnit3 (Remote Control). This will generate a JUnit test script which can be run to test the application.
The next thing you need is a solution to run a lot of JUnit test cases at the same moment.
Here you see a visual representation of the whole test chain.