-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: NaveenKumar Namachivayam <catch.nkn@gmail.com>
- Loading branch information
1 parent
49fadd0
commit a9b9cfc
Showing
5 changed files
with
45 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
#!/bin/sh | ||
echo ${JMETER_HOME} | ||
echo ${JMETER_CMD_RUNNER_VERSION} | ||
echo ${JMETER_PLUGIN_MANAGER_VERSION} | ||
echo ${JMETER_PLUGIN_INSTALL_LIST} | ||
# Author: NaveenKumar Namachivayam | ||
# Website: www.qainsights.com | ||
# Purpose: Install JMeter Plugins | ||
|
||
# Download CMDRunner | ||
echo "Downloading CMDRunner" | ||
curl -L http://search.maven.org/remotecontent?filepath=kg/apc/cmdrunner/${JMETER_CMD_RUNNER_VERSION}/cmdrunner-${JMETER_CMD_RUNNER_VERSION}.jar --output ${JMETER_HOME}/lib/cmdrunner-${JMETER_CMD_RUNNER_VERSION}.jar | ||
|
||
# Download Plugin Manager | ||
echo "Downloading Plugin Manager" | ||
curl -L https://jmeter-plugins.org/get/ --output ${JMETER_HOME}/lib/ext/jmeter-plugins-manager-${JMETER_PLUGIN_MANAGER_VERSION}.jar | ||
|
||
# Install Plugin Manager | ||
java -cp /opt/apache/apache-jmeter-${JMETER_VERSION}/lib/ext/jmeter-plugins-manager-${JMETER_PLUGIN_MANAGER_VERSION}.jar org.jmeterplugins.repository.PluginManagerCMDInstaller | ||
|
||
# Install JMeter plugins | ||
cd /opt/apache/apache-jmeter-${JMETER_VERSION}/bin/ | ||
java -jar ${JMETER_HOME}/lib/cmdrunner-${JMETER_CMD_RUNNER_VERSION}.jar --tool org.jmeterplugins.repository.PluginManagerCMD install ${JMETER_PLUGIN_INSTALL_LIST} | ||
|
||
chmod a+x ${JMETER_HOME}/bin/*.sh | ||
|
||
pwd | ||
|
||
ls -l ${JMETER_HOME}/bin/*.sh | ||
|
||
# Set execute permissions for JMeter shell scripts | ||
chmod a+x ${JMETER_HOME}/bin/*.sh |