JMeter - 访问日志采样器仅触发日志文件的一行

发布于 2024-08-22 04:52:26 字数 245 浏览 5 评论 0原文

我正在使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

沉溺在你眼里的海 2024-08-29 04:52:26

我非常确定问题出在您的访问日志采样器的配置中,请确保:

您使用的是最新版本的 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文