JMeter MCP Server

by qainsights

Not rated
GitHub

About

Execute JMeter tests and analyze results through MCP-compatible clients.

Details

Author
qainsights
Categories
Developer Tools, Other, Infrastructure

Setup

Install JMeter MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/qainsights/jmeter-mcp-server

Follow the installation instructions in the repository README, then restart your MCP client.

This is a Model Context Protocol (MCP) server that allows executing JMeter tests through MCP-compatible clients and analyzing test results.

[!IMPORTANT] πŸ“’ Looking for an AI Assistant inside JMeter? πŸš€ Check outFeather Wand

- πŸ“Š Execute JMeter tests in non-GUI mode
- πŸ–₯️ Launch JMeter in GUI mode
- πŸ“ Capture and return execution output
- πŸ“Š Generate JMeter report dashboard

- πŸ“ˆ Parse and analyze JMeter test results (JTL files)
- πŸ“Š Calculate comprehensive performance metrics
- πŸ” Identify performance bottlenecks automatically
- πŸ’‘ Generate actionable insights and recommendations
- πŸ“Š Create visualizations of test results
- πŸ“‘ Generate HTML reports with analysis results

Ensure JMeter is installed on your system and accessible via the command line.

⚠️Important: Make sure JMeter is executable. You can do this by running:
- Configure the.envfile, refer to the.env.examplefile for details.

# JMeter Configuration JMETER_HOME=/path/to/apache-jmeter-5.6.3 JMETER_BIN=${JMETER_HOME}/bin/jmeter # Optional: JMeter Java options JMETER_JAVA_OPTS="-Xms1g -Xmx2g"

-

Connect to the server using an MCP-compatible client (e.g., Claude Desktop, Cursor, Windsurf)
- MCP compatible client will use the available tools:

- πŸ–₯️execute_jmeter_test: Launches JMeter in GUI mode, but doesn't execute test as per the JMeter design
- πŸš€execute_jmeter_test_non_gui: Execute a JMeter test in non-GUI mode (default mode for better performance)

- πŸ“Šanalyze_jmeter_results: Analyze JMeter test results and provide a summary of key metrics and insights
- πŸ”identify_performance_bottlenecks: Identify performance bottlenecks in JMeter test results
- πŸ’‘get_performance_insights: Get insights and recommendations for improving performance
- πŸ“ˆgenerate_visualization: Generate visualizations of JMeter test results

Add the following configuration to your MCP client config:

{ "mcpServers": { "jmeter": { "command": "/path/to/uv", "args": [ "--directory", "/path/to/jmeter-mcp-server", "run", "jmeter_server.py" ] } } }

- Run JMeter tests in non-GUI mode for better performance
- Launch JMeter in GUI mode for test development
- Generate JMeter report dashboards

- Analyze JTL files to understand performance characteristics
- Identify performance bottlenecks and their severity
- Get actionable recommendations for performance improvements
- Generate visualizations for better understanding of results
- Create comprehensive HTML reports for sharing with stakeholders

- Validate that the test file exists
- Check that the file has a .jmx extension
- Validate that JTL files exist and have valid formats
- Capture and return any execution or analysis errors

The Test Results Analyzer is a powerful feature that helps you understand your JMeter test results better. It consists of several components:

- Supports both XML and CSV JTL formats
- Efficiently processes large files with streaming parsers
- Validates file formats and handles errors gracefully

- Calculates overall performance metrics (average, median, percentiles)
- Provides endpoint-specific metrics for detailed analysis
- Generates time series metrics to track performance over time
- Compares metrics with benchmarks for context

- Identifies slow endpoints based on response times
- Detects error-prone endpoints with high error rates
- Finds response time anomalies and outliers
- Analyzes the impact of concurrency on performance

- Provides specific recommendations for addressing bottlenecks
- Analyzes error patterns and suggests solutions
- Generates insights on scaling behavior and capacity limits
- Prioritizes recommendations based on potential impact

- Creates time series graphs showing performance over time
- Generates distribution graphs for response time analysis
- Produces endpoint comparison charts for identifying issues
- Creates comprehensive HTML reports with all analysis results

# Run a JMeter test and generate a results file Run JMeter test sample_test.jmx in non-GUI mode and save results to results.jtl # Analyze the results Analyze the JMeter test results in results.jtl and provide detailed insights # Identify bottlenecks What are the performance bottlenecks in the results.jtl file? # Get recommendations What recommendations do you have for improving performance based on results.jtl? # Generate visualizations Create a time series graph of response times from results.jtl

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

MCP Server for AI-driven BlazeMeter performance testing

Scout's official MCP pipes error, trace and metric data from production to your AI agent

The Shipyard CLI provides an MCP server for agents to manage Shipyard environments directly: by pulling logs, comparing branches, running tests, and stopping/starting environments..

Generate Playwright BDD tests, GitHub Actions and Azure Pipelines with business-rule traceability, focused CodeGraph context and persistent Engram memory.

Open-source CLI for testing MCP servers and detecting schema drift

Check if a command is runnable before running it.

MCP server that generates production-grade engineering standards (SOLID, testing, architecture, CI/CD) for AI coding assistants

Read-first Jenkins MCP server in Go for agent-driven build debugging. 20 tools including compare_builds, flaky-test detection, JUnit/Ginkgo failure parsing, and disk-cached console logs with on-disk path handoff. Write tools (trigger/stop/cancel) gated by JENKINS_MCP_READONLY env var.

A server for monitoring and analyzing Java Virtual Machine (JVM) processes using Arthas, with a Python interface.

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.