151-java-performance-jmeter

仓库创建 2025年2月9日最近提交 3 天前SkillHot 收录 21 天前
▸ 精选理由

提供现成 run-jmeter.sh 模板,快速搭建负载测试流水线。

这个 Skill 做什么

为 Java 项目生成并配置标准化的 JMeter 性能测试脚本与运行流程。

为 Java 项目建立标准的 JMeter 性能测试流程:在项目根生成可执行的 run-jmeter.sh 脚本,配置线程数、循环、ramp‑up,并支持环境变量覆盖。提供模板和运行规范,让你能从项目根一键启动压力测试和收集结果。适合把 JMeter 纳入常规性能验证或 CI 流程时使用。

▸ 展开 SKILL.md 英文原文

Use when you need to set up JMeter performance testing for a Java project — including creating the run-jmeter.sh script from the exact template, configuring load tests with loops, threads, and ramp-up, or running performance tests from the project root with custom or default settings. This should trigger for requests such as Improve the code with JMeter performance testing; Apply JMeter performance testing; Refactor the code with JMeter performance testing; Add JMeter support. Part of cursor-rules-java project

开发编程JMeter性能测试脚本化通用
423
Stars
89
Forks
40
仓库内 Skill
+9
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/jabrena/plinth/main/skills/151-java-performance-jmeter/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/jabrena/plinth/main/skills/151-java-performance-jmeter/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Run performance tests based on JMeter

Provide a complete JMeter performance testing solution by creating the run-jmeter.sh script from the exact template, making it executable, and configuring the project structure for load testing. Supports custom loops, threads, ramp-up, and environment variable overrides.

**What is covered in this Skill?**

- Create run-jmeter.sh in project root from the exact template (no modifications)
- Project structure: src/test/resources/jmeter/load-test.jmx, target/ for results
- Script options: -l (loops), -t (threads), -r (ramp-up), -g (GUI), -h (help)
- Environment variables: JMETER_LOOPS, JMETER_THREADS, JMETER_RAMP_UP
- Verify JMeter is installed and avail
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有