152-java-performance-gatling
仓库创建 2025年2月9日最近提交 3 天前SkillHot 收录 21 天前
▸ 精选理由
集成 Gatling 插件与示例仿真,便于复现与查看报告。
这个 Skill 做什么
为 Maven Java 项目配置 Gatling、创建模拟并生成性能报告。
为 Maven Java 项目把 Gatling 性能测试接上:加依赖、配置 gatling-maven-plugin、写或放置 simulation 类,然后运行 gatling:test 并查看生成的报告。能把压测流程整合进现有构建,省去摸索 Gatling 项目结构和命令的时间。适合需要压测接口或把性能测试纳入 CI 的场景。
▸ 展开 SKILL.md 英文原文
Use when you need to set up Gatling performance testing for a Java Maven project — including adding Gatling dependencies and the Gatling Maven plugin, creating Java simulations, running gatling:test, configuring a simulation class, and reviewing generated reports. This should trigger for requests such as Add Gatling performance testing; Apply Gatling performance testing; Create a Gatling simulation; Add Gatling support. Part of cursor-rules-java project
423
Stars
89
Forks
40
仓库内 Skill
+9
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/jabrena/plinth/main/skills/152-java-performance-gatling/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/jabrena/plinth/main/skills/152-java-performance-gatling/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Run performance tests based on Gatling Provide a complete Gatling performance testing setup for Java Maven projects by adding the required test dependencies and Gatling Maven plugin configuration, creating or guiding Java simulation placement, and explaining how to run simulations and inspect reports. **What is covered in this Skill?** - Add Gatling dependencies and the `gatling-maven-plugin` to `pom.xml` - Project structure: `src/test/java` for Java simulations and `src/test/resources` for Gatling configuration, feeders, templates, and logging - Run simulations with `./mvnw gatling:test` - Select a simulation with `-Dgatling.simulationClass=<FullyQualifiedClassName>` when multiple simu
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有