Google News
logo
JMeter - Interview Questions
Is it possible for you to use JMeter to run Selenium scripts? If so, how would you go about doing it?
Yes, you can run Selenium scripts in JMeter in order to get an indication of how well they perform.

* It can be done in two ways. You can either utilise JUnit libraries to create Selenium scripts and save them as Jars, which you can then add to the JMeter directory. Then, in your test plan, add the JUnit sampler and import the Jar file.

* Or else, you can place the Webdriver sampler plugin in the JMeter ext folder. JMeter should be restarted. In the Webdriver sampler, write your Selenium code and then run it to observe how it performs.
Advertisement