Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以使用带有命令行参数的 Gatling Maven 插件仅运行单个测试/模拟?类似于 SBT 插件testOnly。
testOnly
这可以通过参数来实现gatling.simulationClass,例如
gatling.simulationClass
mvn gatling:test -Dgatling.simulationClass=foo.bar.MySimulation
(使用 Gatling Maven 插件 3.1.1)
一般来说,可以看到不同的参数
mvn gatling:help -Ddetail=true