Skip to content

Commit

Permalink
feat: add custom thread group plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Melanie-RK committed May 14, 2024
1 parent f0d65e3 commit 548a565
Show file tree
Hide file tree
Showing 3 changed files with 290 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ jobs:
- name: Run JMeter Tests
uses: ./
with:
test-plan-path: ./TestPlans/S01_SimpleExample/S01_SimpleExample.jmx
test-plan-path: ./TestPlans/S04_SimpleExample/smoke_stress_test.jmx
args: "-e -o ./reports/html/"
plugins: "jpgc-udp,jpgc-graphs-basic, jpgc-casutg"

- name: Upload Results
uses: actions/upload-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ LABEL Author="NaveenKumar Namachivayam"
LABEL Website="https://qainsights.com"
LABEL Description="Apache JMeter Dockerfile for GitHub Actions with JMeter Plugins"

ARG JMETER_PLUGINS=""
ENV JMETER_VERSION "5.6.3"
ENV JMETER_HOME "/opt/apache/apache-jmeter-${JMETER_VERSION}"
ENV JMETER_BIN "${JMETER_HOME}/bin"
ENV PATH "$PATH:$JMETER_BIN"
ENV JMETER_CMD_RUNNER_VERSION "2.3"
ENV JMETER_PLUGIN_MANAGER_VERSION "1.9"
ENV JMETER_PLUGIN_INSTALL_LIST "jpgc-udp,jpgc-graphs-basic"

COPY entrypoint.sh /entrypoint.sh
COPY jmeter-plugin-install.sh /jmeter-plugin-install.sh
Expand All @@ -27,6 +27,6 @@ RUN apk --no-cache add curl ca-certificates openjdk17-jre && \
chmod a+x /jmeter-plugin-install.sh

# Downloading CMD Runner
RUN /jmeter-plugin-install.sh
RUN /jmeter-plugin-install.sh $JMETER_PLUGINS

ENTRYPOINT [ "/entrypoint.sh" ]
Loading

0 comments on commit 548a565

Please sign in to comment.