Performance Test Jmeter logo

Performance Test Jmeter

Community
joe-qai
performance-test-jmeter

Use this skill when you need to generate executable JMeter test plans (.jmx) from API specs or business scenarios; triggers include JMeter performance testing, 性能测试脚本, 生成jmeter脚本, jmeter脚本, and performance-test-jmeter.

Overview

Publisherjoe-qai
Repositoryqa-skills
Skill nameperformance-test-jmeter
Stars
30
Forks
4
Bundled files
11
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 11 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by joe-qai on GitHub. Read the source before you install it.

Installation

Install the Performance Test Jmeter AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/joe-qai/qa-skills/tree/main/performance-test-jmeter
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/joe-qai/qa-skills.git /tmp/qa-skills
mkdir -p .claude/skills
cp -r /tmp/qa-skills/performance-test-jmeter .claude/skills/performance-test-jmeter
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Performance Test Jmeter in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Performance Test Jmeter on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Performance Test Jmeter is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

JMeter 性能测试

何时使用

  • 用户提供 API 接口文档或业务场景,需要生成可直接执行的 JMeter 脚本(.jmx)。
  • 需要对已有 JMeter 脚本做优化、扩展或问题排查。

输入要求

用户提供以下信息(缺什么问什么,不要猜):

必填字段说明
✅目标接口/场景接口路径、方法、参数,或业务场景描述
✅并发模型并发用户数、Ramp-Up 时间、持续时长
⬜性能阈值响应时间 P95/P99、错误率上限、吞吐量目标
⬜测试数据CSV 数据源、登录凭证、业务参数
⬜环境信息测试环境 URL、网络条件、证书配置

执行流程

1. 输入审计

  • 检查接口信息是否完整(路径、方法、参数、鉴权)
  • 检查并发模型是否合理(线程数、Ramp-Up、循环次数)
  • 缺失信息标记为「假设」并给出默认值

2. 脚本生成

基于输入生成完整 .jmx 文件,包含:

TestPlan
├── ThreadGroup(线程数、Ramp-Up、循环)
├── HTTPSampler(路径、方法、Header、Body)
├── CSVDataSet(数据源配置)
├── ResponseAssertion(状态码、JSON Path、文本匹配)
├── DurationAssertion(响应时间上限)
├── UnifiedRequestResults(结果监听器)
└── SummaryReport(汇总报告)

3. 脚本校验

生成后必须执行以下校验:

  • .jmx 是合法 XML(无未闭合标签、无非法字符)
  • ThreadGroup 参数完整(线程数、Ramp-Up、循环均 > 0)
  • 每个 HTTPSampler 有正确的 Method 和 Path
  • CSV DataSet 若存在,文件路径有效且变量名被引用
  • Assertion 存在且条件明确(非空字符串)
  • 无硬编码的生产环境 URL
  • 密钥/Token 使用占位符 ${__ENV(VAR_NAME)} 而非明文

4. 输出交付物

文件内容
test-plan.jmx完整可执行的 JMeter 测试脚本
run-test.sh一键执行命令(非 GUI 模式 + HTML 报告)
README.md脚本说明:场景、参数、执行方式、注意事项

执行命令(自动写入 run-test.sh):

bash
jmeter -n -t test-plan.jmx -l results.jtl -e -o ./html-report

5. 自检清单

  • 覆盖所有用户提供的接口/场景
  • 并发模型与用户预期一致
  • 阈值断言已设置
  • 测试数据可获取(非硬编码)
  • 脚本可在目标环境直接运行

核心约束

  • 输出必须是可执行的 .jmx 文件,不是文档或方案。
  • 按风险/业务影响排优先级,不要平均铺满。
  • 密钥、Token 只用环境变量占位符,禁止真实值。
  • 信息不完整时先给可用版本,标清假设,不要停在提问。

参考文件

  • prompts/performance-test-jmeter.md:详细执行规范(覆盖清单、输出结构、质量要求)。
  • references/framework-spec.md:JMeter 工具专项结构。
  • references/setup-and-ci.md:安装、CI 集成说明。

常见误区

  • 只给方案文档不给脚本 → 必须输出 .jmx。
  • 所有接口同等并发 → 应按业务权重分配。
  • 跳过假设说明 → 无 SLA 时所有数字标「假设」。
  • 硬编码密钥 → 用 ${__ENV(...)} 占位。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Performance Test Jmeter AI skill do?

Use this skill when you need to generate executable JMeter test plans (.jmx) from API specs or business scenarios; triggers include JMeter performance testing, 性能测试脚本, 生成jmeter脚本, jmeter脚本, and performance-test-jmeter.

Why use Performance Test Jmeter on TypingMind?

Because you install it once and use it with any model. Performance Test Jmeter is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Performance Test Jmeter in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/joe-qai/qa-skills/tree/main/performance-test-jmeter. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Performance Test Jmeter?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Performance Test Jmeter?

As many as you like. As long as a model supports skills, you can use Performance Test Jmeter with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Performance Test Jmeter AI skill free?

It is published on GitHub by joe-qai. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇