Maven Chronos 插件
我的 Maven Chronos 插件有问题。是否可以告诉插件要执行的 jmx 文件名称掩码?
谢谢
I have a problem with Maven Chronos plugin. Is it possible to tell plugin a mask for name of jmx files to execute?
Thx
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
仍然无法使用 chronos 插件根据掩码处理文件。可以选择包含测试(.jmx 文件)的文件夹,这对于大多数情况来说应该足够了。
It is still not possible to use the chronos plugin to proces files based on a mask. It is possible to select a folder containing tests (.jmx-files), which should be good enough for most cases.
不,目前不支持此功能,chronos 插件仅限于处理一个必须在 POM 中“硬编码”的
.jmx/.jtl
。但一个问题已被记录为 MOJO-1460 以增强插件并使其能够处理多个场景。这并不完全是您所要求的,但它可能提供一个不错的替代方案(并且附有一个补丁)。我仔细检查了一下,似乎 maven-jmeter-plugin 可以做到这一点(甚至如果需要,支持包含和排除)。
该插件的更新版本(使用 JMeter 2.3)托管在 Google 代码 现在可以在 github 上找到。
No, this is currently not supported, the chronos plugin is limited to process only one
.jmx/.jtl
that you must "hard code" in the POM. But an issue has been logged as MOJO-1460 to enhance the plugin and make it able to process multiple scenario. It's not exactly what you're asking for but it might provide a decent alternative (and there is a patch attached).I double checked and it appears that the maven-jmeter-plugin can do that (and even supports includes and excludes if required).
A more recent version of the plugin (using JMeter 2.3) was hosted on Google's code and can now be found on github.