用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/G1Joshi/Agent-Skills --skill gatling命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | gatling |
| description | Gatling load testing for APIs. Use for load testing. |
Gatling is a powerful load testing tool. It is designed for ease of use, maintainability, and high performance. It uses an asynchronous (Akka/Netty) architecture that allows generating huge load from a single machine.
import static io.gatling.javaapi.core.CoreDsl.*;
import static io.gatling.javaapi.http.HttpDsl.*;
public class BasicSimulation extends Simulation {
HttpProtocolBuilder httpProtocol = http
.baseUrl("http://computer-database.gatling.io")
.acceptHeader("application/json");
ScenarioBuilder scn = scenario("BasicSimulation")
.exec(http("request_1").get("/computers"));
{
setUp(
scn.injectOpen(atOnceUsers(10))
).protocols(httpProtocol);
}
}
The definition of the load test. Contains the HTTP configuration, the Scenario (steps users take), and the Injection Profile (how users arrive).
Mechanisms to inject data (valid usernames, search terms) from CSV/JSON into the virtual users so they don't all look identical.
Do:
Don't:
index.html to see the response time distribution graphs.