1

JMeter web driver is used for measuring performance metrics of browsers, but it requires writing of scripts. Is there any way I could record these scripts?

1

For the moment it is not possible to record these scripts. There is Selenium IDE project which can record browser actions and export the recording into several programming languages, however supported languages list doesn't include JavaScript. Besides Selenium IDE produces quite "dirty" code.

So I would suggest developing scripts from scratch. A lot of code snippets for the most common actions mostly in Java are available over the web.

Reading WebDriver JavaDoc is a good start and The WebDriver Sampler: Your Top 10 Questions Answered guide for the most commonly asked queries followed by solutions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.