Skip to main content
Glama

🚀 JMeter MCP 서버

이는 MCP 호환 클라이언트를 통해 JMeter 테스트를 실행할 수 있게 해주는 MCP(Model Context Protocol) 서버입니다.

[!중요] 📢 JMeter에서 AI 어시스턴트를 찾고 계신가요? 🚀 Feather Wand를 확인해 보세요.

인류학적커서윈드서핑

📋 특징

  • 📊 GUI가 아닌 모드에서 JMeter 테스트 실행

  • 🖥️ GUI 모드에서 JMeter 실행

  • 📝 실행 출력을 캡처하고 반환합니다.

Related MCP server: MCP Server

🛠️ 설치

로컬 설치

  1. uv 설치 :

  2. JMeter가 시스템에 설치되어 있고 명령줄을 통해 접근할 수 있는지 확인하세요.

⚠️ 중요 : JMeter가 실행 가능한지 확인하세요. 다음을 실행하여 실행할 수 있습니다.

지엑스피1

  1. .env 파일을 구성합니다. 자세한 내용은 .env.example 파일을 참조하세요.

# 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"

💻 MCP 사용법

  1. MCP 호환 클라이언트(예: Claude Desktop, Cursor, Windsurf)를 사용하여 서버에 연결합니다.

  2. 서버에 프롬프트를 보냅니다.

Run JMeter test /path/to/test.jmx
  1. MCP 호환 클라이언트는 다음 도구를 사용합니다.

    • 🖥️ execute_jmeter_test : GUI 모드에서 JMeter를 시작하지만 JMeter 설계에 따라 테스트를 실행하지 않습니다.

    • 🚀 execute_jmeter_test_non_gui : GUI가 아닌 모드에서 JMeter 테스트를 실행합니다(더 나은 성능을 위한 기본 모드)

🏗️ MCP 구성

MCP 클라이언트 구성에 다음 구성을 추가하세요.

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

✨ 사용 사례

LLM 기반 결과 분석: 시험 결과를 수집하고 분석합니다.

디버깅: 디버깅을 위해 GUI 모드가 아닌 모드에서 테스트를 실행합니다.

🛑 오류 처리

서버는 다음을 수행합니다.

  • 테스트 파일이 존재하는지 확인하세요

  • 파일의 확장자가 .jmx인지 확인하세요

  • 실행 오류를 캡처하여 반환합니다.

Available Tools

6 tools
analyze_jmeter_resultsC

Analyze JMeter test results and provide a summary of key metrics and insights.

Args: jtl_file: Path to the JTL file containing test results detailed: Whether to include detailed analysis (default: False)

Returns: str: Analysis results in a formatted string

Inputs: jtl_file (required), detailed. Returns: result

execute_jmeter_testB

Execute a JMeter test.

Args: test_file: Path to the JMeter test file (.jmx) gui_mode: Whether to run in GUI mode (default: False) properties: Dictionary of JMeter properties to pass with -J (default: None)

Inputs: test_file (required), gui_mode, properties. Returns: result

execute_jmeter_test_non_guiB

Execute a JMeter test in non-GUI mode - supports JMeter properties.

Args: test_file: Path to the JMeter test file (.jmx) properties: Dictionary of JMeter properties to pass with -J (default: None) generate_report: Whether to generate report dashboard after load test (default: False) report_output_dir: Output folder for report dashboard (default: None) log_file: Name of JTL file to log sample results to (default: None)

Inputs: test_file (required), generate_report, log_file, properties, +1 more. Returns: result

generate_visualizationC

Generate visualizations of JMeter test results.

Args: jtl_file: Path to the JTL file containing test results visualization_type: Type of visualization to generate (time_series, distribution, comparison, html_report) output_file: Path to save the visualization

Returns: str: Path to the generated visualization file

Inputs: jtl_file (required), output_file (required), visualization_type (required). Returns: result

get_performance_insightsC

Get insights and recommendations for improving performance based on JMeter test results.

Args: jtl_file: Path to the JTL file containing test results

Returns: str: Performance insights and recommendations in a formatted string

Inputs: jtl_file (required). Returns: result

identify_performance_bottlenecksB

Identify performance bottlenecks in JMeter test results.

Args: jtl_file: Path to the JTL file containing test results

Returns: str: Bottleneck analysis results in a formatted string

Inputs: jtl_file (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 6 tools

    Disambiguation4/5

    Most tools have distinct purposes, but there is some overlap between analyze_jmeter_results, get_performance_insights, and identify_performance_bottlenecks, as all three analyze JTL files and provide insights. However, their descriptions differentiate them enough to avoid major confusion.

    Naming Consistency5/5

    All tool names follow a consistent snake_case pattern with clear verb_noun structure, such as analyze_jmeter_results and execute_jmeter_test. The naming is uniform and predictable throughout the set.

    Tool Count5/5

    With 6 tools, the count is well-scoped for a JMeter server, covering key operations like test execution, result analysis, and visualization. Each tool serves a clear purpose without redundancy.

    Completeness4/5

    The toolset covers core JMeter workflows including test execution, result analysis, and visualization, but lacks tools for test creation or modification. This minor gap does not severely hinder typical agent tasks.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers