trackmcp
Back to directory
vjgit-369

jmeterdemousingmcp

View on GitHub

Jmeter Demo Using Jmeter MCP Server

0 stars HTMLServers & Infrastructure Updated Jun 3, 2025

Documentation

JMeter Demo Using MCP

This project demonstrates how to use JMeter with Model Context Protocol (MCP) for automated performance testing.

Prerequisites

  • Python 3.x
  • Apache JMeter
  • MCP-compatible client (e.g., Cursor)

Project Structure

code
JmeterDemoUsingMCP/
├── jmeter/                  # JMeter installation directory
├── jmeter-mcp-server/      # MCP server for JMeter integration
│   ├── test_mcp.py         # Test execution script
│   └── jmeter_server.py    # JMeter MCP server implementation
└── AutomationExercise_Test.jmx  # Sample JMeter test plan

Setup

1. Install JMeter and set up the environment:

bash
# Set JMETER_HOME environment variable
JMETER_HOME=/path/to/apache-jmeter

2. Install Python dependencies:

bash
pip install mcp pydantic

Usage

1. Run tests in GUI mode:

python
python test_mcp.py

2. Run tests with increased users:

python
# Modify test_mcp.py parameters:
'-Jthreads=10'  # Number of users
'-Jrampup=20'   # Ramp-up period
'-Jduration=60' # Test duration

Features

  • GUI and Non-GUI test execution
  • Configurable thread count and test duration
  • Automated HTML report generation
  • Real-time test monitoring

Test Results

Results are saved in:

  • JTL files: `results*.jtl`
  • HTML reports: `report*/index.html`

Contributing

Feel free to submit issues and enhancement requests!

Frequently asked questions

What is jmeterdemousingmcp?

jmeterdemousingmcp is Jmeter Demo Using Jmeter MCP Server

How do I install jmeterdemousingmcp?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is jmeterdemousingmcp open source?

Yes — it is hosted on GitHub at https://github.com/vjgit-369/JmeterDemoUsingMCP.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP