Step1. Record and convert your script to selenium java-junit format
using selenium ide.
Step2. open the eclipse and save that file as a java file.
Step3. Using junit run that file but before that you need to add
selenium-server.jar file in eclipse.
Step4. After that test runs successfully you will get .class file
under bin folder.
Step5. Setup your Run configuration settings for converting java file
Step6. Select .java file and .class together and convert to .jar file.
Step7. Paste that .jar file into lib/junit folder.
Step8. start your j-meter server and see the magic.