-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from smithmicro/feature-19
Installing all plugins via JMeter Plugins Manager
- Loading branch information
Showing
17 changed files
with
184 additions
and
74 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ LABEL maintainer="David Sperling <[email protected]>" | |
|
||
ENV JMETER_VERSION apache-jmeter-2.13 | ||
ENV JMETER_HOME /opt/$JMETER_VERSION | ||
ENV PATH $JMETER_HOME/bin:$PATH | ||
ENV PATH $PATH:$JMETER_HOME/bin | ||
|
||
# overridable environment variables | ||
ENV RESULTS_LOG results.jtl | ||
|
@@ -23,6 +23,7 @@ RUN curl -O https://archive.apache.org/dist/jmeter/binaries/$JMETER_VERSION.tgz | |
&& tar -xvf $JMETER_VERSION.tgz \ | ||
&& rm $JMETER_VERSION.tgz \ | ||
&& rm -rf $JMETER_VERSION/docs $JMETER_VERSION/printable_docs \ | ||
&& cd $JMETER_HOME \ | ||
&& curl -O https://jmeter-plugins.org/files/JMeterPlugins-Standard-1.4.0.zip \ | ||
-O https://jmeter-plugins.org/files/JMeterPlugins-Extras-1.4.0.zip \ | ||
-O https://jmeter-plugins.org/files/JMeterPlugins-ExtrasLibs-1.4.0.zip \ | ||
|
@@ -31,11 +32,10 @@ RUN curl -O https://archive.apache.org/dist/jmeter/binaries/$JMETER_VERSION.tgz | |
|
||
# copy our entrypoint | ||
COPY entrypoint.sh /opt/jmeter/ | ||
RUN chmod +x /opt/jmeter/entrypoint.sh | ||
|
||
WORKDIR /logs | ||
|
||
EXPOSE 1099 4445 50000 51000 | ||
EXPOSE 1099 50000 51000 4445/udp | ||
|
||
# default command in the entrypoint is 'minion' | ||
ENTRYPOINT ["/opt/jmeter/entrypoint.sh"] | ||
|
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 |
---|---|---|
|
@@ -4,38 +4,45 @@ LABEL maintainer="David Sperling <[email protected]>" | |
|
||
ENV JMETER_VERSION apache-jmeter-3.0 | ||
ENV JMETER_HOME /opt/$JMETER_VERSION | ||
ENV PATH $JMETER_HOME/bin:$PATH | ||
ENV PATH $PATH:$JMETER_HOME/bin | ||
ENV CMDRUNNER_VERSION 2.0 | ||
ENV PLUGINMGR_VERSION 0.19 | ||
|
||
# overridable environment variables | ||
ENV RESULTS_LOG results.jtl | ||
ENV JMETER_FLAGS= | ||
ENV JMETER_MEMORY -Xms800m -Xmx800m | ||
ENV CUSTOM_PLUGIN_URL= | ||
|
||
# Install the required tools for JMeter | ||
RUN apk add --update --no-cache \ | ||
curl \ | ||
openssh-client \ | ||
unzip | ||
openssh-client | ||
|
||
WORKDIR /opt | ||
|
||
# install JMeter and a few Plugins | ||
# install JMeter and the JMeter Plugins Manager | ||
RUN curl -O https://archive.apache.org/dist/jmeter/binaries/$JMETER_VERSION.tgz \ | ||
&& tar -xvf $JMETER_VERSION.tgz \ | ||
&& rm $JMETER_VERSION.tgz \ | ||
&& rm -rf $JMETER_VERSION/docs $JMETER_VERSION/printable_docs \ | ||
&& curl -O https://jmeter-plugins.org/files/JMeterPlugins-Standard-1.4.0.zip \ | ||
-O https://jmeter-plugins.org/files/JMeterPlugins-Extras-1.4.0.zip \ | ||
-O https://jmeter-plugins.org/files/JMeterPlugins-ExtrasLibs-1.4.0.zip \ | ||
&& unzip -n '*.zip' \ | ||
&& rm *.zip | ||
&& cd $JMETER_HOME/lib \ | ||
&& curl -O http://search.maven.org/remotecontent?filepath=kg/apc/cmdrunner/$CMDRUNNER_VERSION/cmdrunner-$CMDRUNNER_VERSION.jar \ | ||
&& cd $JMETER_HOME/lib/ext \ | ||
&& curl -O http://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-manager/$PLUGINMGR_VERSION/jmeter-plugins-manager-$PLUGINMGR_VERSION.jar \ | ||
&& java -cp jmeter-plugins-manager-$PLUGINMGR_VERSION.jar org.jmeterplugins.repository.PluginManagerCMDInstaller | ||
|
||
# install all available plugins except for those that are deprecated | ||
RUN PluginsManagerCMD.sh install-all-except jpgc-hadoop,jpgc-oauth \ | ||
&& sleep 2 \ | ||
&& PluginsManagerCMD.sh status | ||
|
||
# copy our entrypoint | ||
COPY entrypoint.sh /opt/jmeter/ | ||
RUN chmod +x /opt/jmeter/entrypoint.sh | ||
|
||
WORKDIR /logs | ||
|
||
EXPOSE 1099 4445 50000 51000 | ||
EXPOSE 1099 50000 51000 4445/udp | ||
|
||
# default command in the entrypoint is 'minion' | ||
ENTRYPOINT ["/opt/jmeter/entrypoint.sh"] | ||
|
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 |
---|---|---|
|
@@ -4,34 +4,41 @@ LABEL maintainer="David Sperling <[email protected]>" | |
|
||
ENV JMETER_VERSION apache-jmeter-3.1 | ||
ENV JMETER_HOME /opt/$JMETER_VERSION | ||
ENV PATH $JMETER_HOME/bin:$PATH | ||
ENV PATH $PATH:$JMETER_HOME/bin | ||
ENV CMDRUNNER_VERSION 2.0 | ||
ENV PLUGINMGR_VERSION 0.19 | ||
|
||
# overridable environment variables | ||
ENV RESULTS_LOG results.jtl | ||
ENV JMETER_FLAGS= | ||
ENV JMETER_MEMORY -Xms800m -Xmx800m | ||
ENV CUSTOM_PLUGIN_URL= | ||
|
||
# Install the required tools for JMeter | ||
RUN apk add --update --no-cache \ | ||
curl \ | ||
openssh-client \ | ||
unzip | ||
openssh-client | ||
|
||
WORKDIR /opt | ||
|
||
# install JMeter and a few Plugins | ||
# install JMeter and the JMeter Plugins Manager | ||
RUN curl -O https://archive.apache.org/dist/jmeter/binaries/$JMETER_VERSION.tgz \ | ||
&& tar -xvf $JMETER_VERSION.tgz \ | ||
&& rm $JMETER_VERSION.tgz \ | ||
&& rm -rf $JMETER_VERSION/docs $JMETER_VERSION/printable_docs \ | ||
&& curl -O https://jmeter-plugins.org/files/JMeterPlugins-Standard-1.4.0.zip \ | ||
-O https://jmeter-plugins.org/files/JMeterPlugins-Extras-1.4.0.zip \ | ||
-O https://jmeter-plugins.org/files/JMeterPlugins-ExtrasLibs-1.4.0.zip \ | ||
&& unzip -n '*.zip' \ | ||
&& rm *.zip | ||
&& cd $JMETER_HOME/lib \ | ||
&& curl -O http://search.maven.org/remotecontent?filepath=kg/apc/cmdrunner/$CMDRUNNER_VERSION/cmdrunner-$CMDRUNNER_VERSION.jar \ | ||
&& cd $JMETER_HOME/lib/ext \ | ||
&& curl -O http://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-manager/$PLUGINMGR_VERSION/jmeter-plugins-manager-$PLUGINMGR_VERSION.jar \ | ||
&& java -cp jmeter-plugins-manager-$PLUGINMGR_VERSION.jar org.jmeterplugins.repository.PluginManagerCMDInstaller | ||
|
||
# install all available plugins except for those that are deprecated | ||
RUN PluginsManagerCMD.sh install-all-except jpgc-hadoop,jpgc-oauth \ | ||
&& sleep 2 \ | ||
&& PluginsManagerCMD.sh status | ||
|
||
# copy our entrypoint | ||
COPY entrypoint.sh /opt/jmeter/ | ||
RUN chmod +x /opt/jmeter/entrypoint.sh | ||
|
||
WORKDIR /logs | ||
|
||
|
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 |
---|---|---|
|
@@ -4,34 +4,41 @@ LABEL maintainer="David Sperling <[email protected]>" | |
|
||
ENV JMETER_VERSION apache-jmeter-3.2 | ||
ENV JMETER_HOME /opt/$JMETER_VERSION | ||
ENV PATH $JMETER_HOME/bin:$PATH | ||
ENV PATH $PATH:$JMETER_HOME/bin | ||
ENV CMDRUNNER_VERSION 2.0 | ||
ENV PLUGINMGR_VERSION 0.19 | ||
|
||
# overridable environment variables | ||
ENV RESULTS_LOG results.jtl | ||
ENV JMETER_FLAGS= | ||
ENV JMETER_MEMORY -Xms800m -Xmx800m | ||
ENV CUSTOM_PLUGIN_URL= | ||
|
||
# Install the required tools for JMeter | ||
RUN apk add --update --no-cache \ | ||
curl \ | ||
openssh-client \ | ||
unzip | ||
openssh-client | ||
|
||
WORKDIR /opt | ||
|
||
# install JMeter and a few Plugins | ||
# install JMeter and the JMeter Plugins Manager | ||
RUN curl -O https://archive.apache.org/dist/jmeter/binaries/$JMETER_VERSION.tgz \ | ||
&& tar -xvf $JMETER_VERSION.tgz \ | ||
&& rm $JMETER_VERSION.tgz \ | ||
&& rm -rf $JMETER_VERSION/docs $JMETER_VERSION/printable_docs \ | ||
&& curl -O https://jmeter-plugins.org/files/JMeterPlugins-Standard-1.4.0.zip \ | ||
-O https://jmeter-plugins.org/files/JMeterPlugins-Extras-1.4.0.zip \ | ||
-O https://jmeter-plugins.org/files/JMeterPlugins-ExtrasLibs-1.4.0.zip \ | ||
&& unzip -n '*.zip' \ | ||
&& rm *.zip | ||
&& cd $JMETER_HOME/lib \ | ||
&& curl -O http://search.maven.org/remotecontent?filepath=kg/apc/cmdrunner/$CMDRUNNER_VERSION/cmdrunner-$CMDRUNNER_VERSION.jar \ | ||
&& cd $JMETER_HOME/lib/ext \ | ||
&& curl -O http://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-manager/$PLUGINMGR_VERSION/jmeter-plugins-manager-$PLUGINMGR_VERSION.jar \ | ||
&& java -cp jmeter-plugins-manager-$PLUGINMGR_VERSION.jar org.jmeterplugins.repository.PluginManagerCMDInstaller | ||
|
||
# install all available plugins except for those that are deprecated | ||
RUN PluginsManagerCMD.sh install-all-except jpgc-hadoop,jpgc-oauth \ | ||
&& sleep 2 \ | ||
&& PluginsManagerCMD.sh status | ||
|
||
# copy our entrypoint | ||
COPY entrypoint.sh /opt/jmeter/ | ||
RUN chmod +x /opt/jmeter/entrypoint.sh | ||
|
||
WORKDIR /logs | ||
|
||
|
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 |
---|---|---|
|
@@ -4,34 +4,41 @@ LABEL maintainer="David Sperling <[email protected]>" | |
|
||
ENV JMETER_VERSION apache-jmeter-3.3 | ||
ENV JMETER_HOME /opt/$JMETER_VERSION | ||
ENV PATH $JMETER_HOME/bin:$PATH | ||
ENV PATH $PATH:$JMETER_HOME/bin | ||
ENV CMDRUNNER_VERSION 2.0 | ||
ENV PLUGINMGR_VERSION 0.19 | ||
|
||
# overridable environment variables | ||
ENV RESULTS_LOG results.jtl | ||
ENV JMETER_FLAGS= | ||
ENV JMETER_MEMORY -Xms800m -Xmx800m | ||
ENV CUSTOM_PLUGIN_URL= | ||
|
||
# Install the required tools for JMeter | ||
RUN apk add --update --no-cache \ | ||
curl \ | ||
openssh-client \ | ||
unzip | ||
openssh-client | ||
|
||
WORKDIR /opt | ||
|
||
# install JMeter and a few Plugins | ||
# install JMeter and the JMeter Plugins Manager | ||
RUN curl -O https://archive.apache.org/dist/jmeter/binaries/$JMETER_VERSION.tgz \ | ||
&& tar -xvf $JMETER_VERSION.tgz \ | ||
&& rm $JMETER_VERSION.tgz \ | ||
&& rm -rf $JMETER_VERSION/docs $JMETER_VERSION/printable_docs \ | ||
&& curl -O https://jmeter-plugins.org/files/JMeterPlugins-Standard-1.4.0.zip \ | ||
-O https://jmeter-plugins.org/files/JMeterPlugins-Extras-1.4.0.zip \ | ||
-O https://jmeter-plugins.org/files/JMeterPlugins-ExtrasLibs-1.4.0.zip \ | ||
&& unzip -n '*.zip' \ | ||
&& rm *.zip | ||
&& cd $JMETER_HOME/lib \ | ||
&& curl -O http://search.maven.org/remotecontent?filepath=kg/apc/cmdrunner/$CMDRUNNER_VERSION/cmdrunner-$CMDRUNNER_VERSION.jar \ | ||
&& cd $JMETER_HOME/lib/ext \ | ||
&& curl -O http://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-manager/$PLUGINMGR_VERSION/jmeter-plugins-manager-$PLUGINMGR_VERSION.jar \ | ||
&& java -cp jmeter-plugins-manager-$PLUGINMGR_VERSION.jar org.jmeterplugins.repository.PluginManagerCMDInstaller | ||
|
||
# install all available plugins except for those that are deprecated | ||
RUN PluginsManagerCMD.sh install-all-except jpgc-hadoop,jpgc-oauth \ | ||
&& sleep 2 \ | ||
&& PluginsManagerCMD.sh status | ||
|
||
# copy our entrypoint | ||
COPY entrypoint.sh /opt/jmeter/ | ||
RUN chmod +x /opt/jmeter/entrypoint.sh | ||
|
||
WORKDIR /logs | ||
|
||
|
Oops, something went wrong.