-
Notifications
You must be signed in to change notification settings - Fork 0
Integrating Selenium to JMeter
Amanpreet Singh edited this page Jul 4, 2024
·
9 revisions
- JMeter: Install the latest version from the Apache JMeter website.
- Java: Ensure that Java is installed and configured correctly on your machine.
- Selenium Web Driver: Download the required Selenium WebDriver binaries and libraries.
- Chrome Driver: A standalone server that implements the WebDriver protocol for Chromium-based browsers, including Google Chrome.
Dependencies
To run the JMeter test with Selenium WebDriver, add the following dependencies to the JMeter lib or lib/ext folder
Selenium standalone server:
- selenium-server-standalone-.jar
Selenium web driver bindings
- failsafe-.jar
- guava--jre.jar
- selenium-java-.jar
- selenium-api-.jar
- selenium-chrome-driver-.jar (for Chrome)
- selenium-firefox-driver-.jar (for Firefox)
- selenium-chromium-driver-.jar
- selenium-devtools-.jar
- selenium-http-.jar
- selenium-java-.jar
- selenium-json-.jar
- selenium-manager-.jar
- selenium-os-.jar
- selenium-remote-driver-.jar
- selenium-support-.jar
Other required libraries
Download the zip file from Apache Commons Download and add
- commons-csv-.jar
Above files are part of zip files downloaded collectively as selenium-java-version.zip and commans-csv-version.zip.
While other jar files are used to integrate selenium to JMeter , commons-csv is used to read csv files inside the selenium script.