安装JMeter的Selenium/WebDriver support插件时遇cmdrunner>=2.2下载失败问题
Fixing "JMeter failed download library cmdrunner>=2.2" Error When Installing Selenium/WebDriver Support Plugin
Hey there, let's work through that frustrating cmdrunner download error you're facing while trying to set up the Selenium/WebDriver support plugin for JMeter. Below are practical, step-by-step solutions that should get you back on track:
1. Manually Download and Install CmdRunner
Sometimes the automatic download fails due to network blips or repository glitches. Here's how to fix it manually:
- Grab a copy of
cmdrunner.jar(version 2.2 or newer, like 2.3) from a trusted Maven repository. - Place the downloaded jar file into your JMeter installation directory's
libfolder (e.g.,C:\apache-jmeter-5.6.2\libon Windows,/opt/apache-jmeter-5.6.2/libon Linux/macOS). - Restart JMeter completely, then try installing the Selenium/WebDriver plugin via the Plugins Manager again.
2. Adjust Plugins Manager Settings
The default plugin repository might be unstable in your region. Try switching to a different mirror:
- Open JMeter, go to
Options→Plugins Manager. - Navigate to the
Settingstab. - Select an alternative mirror from the dropdown list, or input a reliable plugin repository URL.
- Click
Apply Changes, then close and reopen the Plugins Manager to retry the installation.
3. Manually Install the Selenium/WebDriver Plugin
If the Plugins Manager keeps failing, skip it and install the plugin directly:
- Download the Selenium/WebDriver support plugin files (make sure the version matches your JMeter release) along with its required dependencies.
- Move the plugin's main jar file into
${JMETER_HOME}/lib/ext, and any additional dependency jars (that aren't already in JMeter'slibfolder) into${JMETER_HOME}/lib. - Restart JMeter, and the plugin should be ready to use.
4. Check Network and Proxy Configurations
If you're on a corporate network, a proxy might be blocking the download:
- Open the
bin/jmeter.propertiesfile in your JMeter installation folder. - Locate the proxy-related settings (
proxyHost,proxyPort,proxyUser,proxyPass) and fill in your network's proxy details. - Save the file, restart JMeter, and attempt the plugin installation again.
内容的提问来源于stack exchange,提问作者Юрий Глущенко
相关产品推荐
相关产品推荐

