Skip to main content
AIDevOps
  • Learn
  • Learning Paths
  • Practice
  • Open Source
  • Books
  • Engineering

    AI DevOpsThe full map of building and operating AI servicesLLMOpsLLM deployment ยท evaluation ยท observabilityHands-on ProjectsBuild AI Agent projects

    Knowledge

    DocsTechnical documentationBlogEngineering articlesPloggerDevelopment log feed

    Validate

    Certification3-level skills certification ยท coming soon
AI Models
LlamaTutorial|MistralTutorial|GemmaTutorial|DeepSeekTutorial|QwenTutorial
๐Ÿงช Testing
k6JMeternGrinder
๐Ÿค– AI Applied Development
Applied AI Intro & RoadmapHugging FaceLangChainLlamaIndexLLMOps|LangGraphMCPMulti-AgentAgent Evaluation
๐Ÿง  AI Core
AI Intro & RoadmapML FundamentalsLLM Fundamentals|Python AIC++|PyTorchTensorFlowJAX
๐Ÿง  AI Agent Development
Finance AI AgentLLM API ServerStock Investing AgentAIOps AI AgentEducation AI AgentCoding AI Agent
๐ŸŒฑ Spring Cloud
Spring Intro & RoadmapSpring Cloud GatewaySpring BootJava|Spring AISpring SecuritySpring BatchSpring JPA
๐Ÿณ DevOps
DevOps Intro & RoadmapLinuxDockerCI/CD|Kubernetes BasicsK8s AdvancedPrometheusGrafana
๐Ÿงฑ Infrastructure
Infrastructure Intro & RoadmapNginxRedis
โ˜๏ธ Cloud
Cloud Intro & RoadmapAWSGCPAzureNCPCloudflare
๐ŸŽจ Frontend
Frontend Intro & RoadmapJavaScriptTypeScript|ReactNext.js|VueNuxt|Electron
๐Ÿ“ฑ Mobile
Mobile Intro & RoadmapKotlinAndroidFlutter
โš™๏ธ Backend
Backend Intro & RoadmapPython BasicsFastAPIDjangoFlask|CGoGinNode.js
๐Ÿ’พ Database
DB Intro & RoadmapCore SQLOracleMySQLPostgreSQL|MongoDBVector DB
AIDevOps

Engineering AI. From Code to Production.
An engineering learning platform for building and operating AI and AI Agents

Learn

  • All Guides
  • Learning Paths
  • AI Tutorial
  • Practice
  • Books

Resources

  • AI DevOps
  • LLMOps
  • Hands-on Projects
  • Docs
  • Blog
  • Plogger
  • Open Source
  • Certification (coming soon)

Start Here

  • AI Core Roadmap
  • AI Applied Development Roadmap
  • Spring Cloud Roadmap
  • DevOps Roadmap
  • Infrastructure Roadmap

ย 

  • Cloud Roadmap
  • Frontend Roadmap
  • Mobile Roadmap
  • Backend Roadmap
  • Database Roadmap
ยฉ 2026 AIDevOps. All rights reserved.
Terms of ServicePrivacy PolicySitemaptestforge.kr
Load Testing Guide

๐Ÿ”ง JMeter Complete Guide

Visitors

Apache JMeter is a Java-based open-source load testing tool that offers intuitive test design through a GUI and powerful distributed testing. It supports many protocols, including HTTP, FTP, JDBC, and JMS.

โ† Back to AIDevOps home
๐Ÿ”ง

JMeter Practical Examples

Examples for Thread Groups, CSV datasets, HTML reports, and distributed testing.

View practical examples โ†’

Contents

0 / 9
  1. What is JMeter?
  2. Installation
  3. GUI basics
  4. Assertions
  5. Variables & parameters
  6. CLI runs (Non-GUI)
  7. Generating HTML reports
  8. Distributed testing
  9. CI/CD integration
Contents 9 sections
  1. What is JMeter?
  2. Installation
  3. GUI basics
  4. Assertions
  5. Variables & parameters
  6. CLI runs (Non-GUI)
  7. Generating HTML reports
  8. Distributed testing
  9. CI/CD integration

What is JMeter?

Apache JMeter is a Java-based open-source performance testing tool created by Stefano Mazzocchi in 1998. Because complex test scenarios can be assembled through the GUI without code, it is especially popular with QA engineers.

FeatureDescription
GUI-basedDesign tests by drag and drop, without code
Multi-protocolHTTP, HTTPS, FTP, JDBC, JMS, SOAP, REST
Distributed testingGenerate large-scale load with a Controller + Slave setup
Plugin ecosystemExtensible through the JMeter Plugins Manager

Installation

JMeter requires Java 8 or later.

BASH
# Check Java
java -version

# macOS (Homebrew)
brew install jmeter

# Manual install (any OS)
# Download the .tgz from https://jmeter.apache.org/download_jmeter.cgi
tar -xzf apache-jmeter-5.x.x.tgz
cd apache-jmeter-5.x.x/bin
./jmeter   # launch the GUI (macOS/Linux)
jmeter.bat # launch the GUI (Windows)

GUI basics

Creating a Thread Group

Create it via Test Plan โ†’ Add โ†’ Threads โ†’ Thread Group.

  • Number of Threads (users): number of concurrent users
  • Ramp-up period: time in seconds for all threads to start
  • Loop Count: number of iterations (-1 means infinite)

Adding an HTTP Request Sampler

Add it via Thread Group โ†’ Add โ†’ Sampler โ†’ HTTP Request.

TEXT
Server Name: httpbin.org
Port: 443
Protocol: HTTPS
Method: GET
Path: /get

Assertions

Add it via HTTP Request โ†’ Add โ†’ Assertions โ†’ Response Assertion.

TEXT
Field to Test: Response Code
Pattern Matching Rules: Equals
Patterns to Test: 200
๐Ÿ’ก

A JSON Path Assertion can validate the value of a specific field in the response JSON. Use Add โ†’ Assertions โ†’ JSON Assertion.

Variables & parameters

User Defined Variables

TEXT
Name: BASE_URL
Value: https://api.example.com

# Usage: ${BASE_URL}/users

CSV Data Set Config (multi-user login)

CSV
username,password
user1,pass1
user2,pass2
user3,pass3

Load the CSV via Thread Group โ†’ Add โ†’ Config Element โ†’ CSV Data Set Config and use its columns as variables.

CLI runs (Non-GUI)

Use Non-GUI mode for CI/CD and large tests. GUI mode consumes a lot of resources.

BASH
jmeter -n -t test-plan.jmx -l results.jtl -e -o report-dir
OptionDescription
-nNon-GUI mode
-t.jmx test plan file
-lResults log file (.jtl)
-eGenerate the HTML report after the test
-oReport output directory

Generating HTML reports

BASH
# Generate the report as part of the test run
jmeter -n -t test-plan.jmx -l results.jtl -e -o ./report

# Generate only the report from an existing .jtl file
jmeter -g results.jtl -o ./report

Open ./report/index.html in a browser for a detailed analysis report including the response time distribution, throughput, and error rate.

Distributed testing

For load beyond what one machine can generate, use a Controller + Agent (Slave) setup.

jmeter.propertiesINI
# jmeter.properties on the Controller
remote_hosts=192.168.1.101:1099,192.168.1.102:1099
BASH
# Run on each Agent server
jmeter-server

# Run the distributed test from the Controller
jmeter -n -t test-plan.jmx -r -l results.jtl

CI/CD integration

.github/workflows/jmeter.ymlYAML
name: JMeter Load Test
on: [push]
jobs:
  load-test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-java@v4
        with: { java-version: '17' }
      - name: Install JMeter
        run: |
          wget https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-5.6.3.tgz
          tar -xzf apache-jmeter-5.6.3.tgz
          echo "$PWD/apache-jmeter-5.6.3/bin" >> $GITHUB_PATH
      - run: jmeter -n -t tests/load-test.jmx -l results.jtl -e -o report
      - uses: actions/upload-artifact@v4
        with: { name: jmeter-report, path: report/ }