JMeter - 访问日志采样器仅触发日志文件的一行
我正在使用 jmeter 的访问日志采样器并按照此处描述的方式进行设置:访问日志采样器教程
但是,当我开始测试时,它仅执行日志文件的第一个条目。我真的不明白这个?有人遇到过类似的问题吗?感谢任何帮助。
库库达斯
i'm using the access log sampler from jmeter and set it up like it was descripted here: Access Log Sampler Tutorial
However when i start the test it only executes first entry of my logfile. I really don't understand this? Anyone had a similar problem? Any help is appreceated thx.
kukudas
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我非常确定问题出在您的访问日志采样器的配置中,请确保:
您使用的是最新版本的 JMeter 2.12 或 3.0(早期版本有一些严重的错误)
您将 Access Log Sampler 指向您的访问日志,而不是 Apache 配置文件
您已正确配置采样器,建议使用以下模式:
^([^ ]) ([^ ]) ([^ ]) [([^] ])] "([^"])" ([^ ]) ([^ ]) "([^"])" "([ ^"]*)"$
如果您无法弄清楚 - 使用您的配置更新您的问题。
I am quite sure that the problem is in configuration of your Access Log Sampler, make sure that:
You're using the latest version of JMeter 2.12 or 3.0 (earlier versions had some nasty bugs)
You're pointing Access Log Sampler to your access log, not to the Apache configuration file
You've configured the sampler correctly, it's recommended to use the following pattern:
^([^ ]) ([^ ]) ([^ ]) [([^]])] "([^"])" ([^ ]) ([^ ]) "([^"])" "([^"]*)"$
If you cannot figure it out - update your question with your configuration.