JMeter Demo Using MCP

by vjgit-369

312 downloads Not rated yet

About

JMeter Demo Using MCP is a project that demonstrates how to combine JMeter with the Model Context Protocol (MCP) for automated performance testing. It is designed for testers and developers who want to run JMeter tests programmatically through an MCP-compatible client.

Explore

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

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

JMETER_HOME=/path/to/apache-jmeter


2. Install Python dependencies:
bash
pip install mcp pydantic
```

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

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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.