Skip to content

Latest commit

 

History

History
140 lines (100 loc) · 6.1 KB

File metadata and controls

140 lines (100 loc) · 6.1 KB

JMeter in Docker

JMeter Java Java Artifact Hub Docker Hub GHCR ACR MIT License WeChat

Industry-leading cloud-native performance testing solution | 中文

Supported Tags/Architectures/Repositories

Tags

Architectures

  • OpenJDK 21 linux/amd64, linux/arm64, linux/ppc64le, linux/riscv64, linux/s390x
  • OpenJDK 8 linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64/v8, linux/ppc64le, linux/s390x

Repositories

  • docker.io/liukunup/jmeter
  • ghcr.io/liukunup/jmeter
  • registry.cn-hangzhou.aliyuncs.com/liukunup/jmeter

Version Description

Stable Versions

Format Description Example
x.y.z Only JMeter core components, corresponding to the official JMeter version 5.6.3
plugins-x.y.z Core components + pre-installed common plugins plugins-5.6.3
business-x.y.z Core components + pre-installed common plugins + business examples business-5.6.3
openjdk8-x.y.z Using OpenJDK 8 (retained for architecture compatibility) openjdk8-5.6.3

Note: Business images are for demonstration purposes only and are not typically provided.

Pre-installed List

Plugin or Jar Version
jp@gc - Custom Thread Groups 2.10
jp@gc - PerfMon 2.1
InfluxDB v2.8 Listener 2.8
MySQL Connector-J 9.1.0
WebSocket Samplers 1.2.10
Server Agent 2.2.3

Pre-release Versions

Usually not provided.

Contains the beta identifier for feature previews, e.g. beta-5.6.3.

Development Versions

Contains the dev identifier, not for production use, e.g. dev-3b84d21.

🌟 Repository Features

  • 🔐【Secure and Reliable】Minimized known security risks
  • 📦【Ready to Use】Close to real usage scenarios, reducing environment setup costs
  • 🔌【Plugin Ecosystem】Pre-installed common plugins and supports custom plugin introduction
  • 🎛️【Architecture Coverage】Supports multiple versions and architectures for comprehensive adaptation

🧑‍💻 Best Practices

🚀 Quick Start

  • Pull the image docker pull liukunup/jmeter:<version>
docker pull liukunup/jmeter:5.6.3
  • Quickly start JMeter Server (i.e., slave node, service node)
docker run -d \
    -p 1099:1099 \
    -p 50000:50000 \
    --restart=unless-stopped \
    --name=jmeter-server \
    liukunup/jmeter:<version> \
    jmeter-server \
    -Djava.rmi.server.hostname=<Docker Host IP>

When connecting locally to JMeter Server, find and modify the following fields in the configuration file located at ~/apache-jmeter-<version>/bin/jmeter.properties

remote_hosts=localhost:1099
server.rmi.ssl.disable=true
  • Quickly deploy performance testing tools in a cluster
# Add and update repository
helm repo add jmeter https://liukunup.github.io/helm-charts
helm repo update
# Deploy
helm install my-jmeter jmeter/jmeter
# Uninstall
helm uninstall my-jmeter

✈️ Quick Access

Visit GitHub to view the source code

Visit Docker Hub to choose Docker Image

Visit Artifact Hub to choose Helm Chart

📄 References