访问日志采样器 - 分布式测试

发布于 2024-09-08 12:25:13 字数 210 浏览 2 评论 0原文

我正在尝试使用 JMeter 的访问日志采样器测试我们的站点,使用跨多个负载生成器的分布式测试。

在我的本地机器上测试工作正常。但是,当我尝试分发它时,测试失败,因为远程计算机似乎找不到我希望它使用的访问日志文件。

我已将文件复制到远程计算机并将其放置在 jmeter/bin 目录中,就像我将其放在本地/控制器上一样。

有什么想法吗?

谢谢

I am trying to test our site with JMeter's access log sampler, using distributed testing across several load generators.

On my local machine the test works fine. However, when I try to distribute it, then the test fails as the remote machines cannot seem to find the access log file that I want it to use.

I have copied the file to the remote machine and placed it in the jmeter/bin direcory, as I have it on the local/controller.

Any ideas?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

匿名的好友 2024-09-15 12:25:13

我发现了这个问题。我在主目录中启动远程客户端,而不是在 jmeter/bin 目录中。

我在 jmeter gui 中配置日志文件名时确实遇到了一些问题。它不断在名称开头添加 .\ 或恢复到我之前使用的另一个文件。

我通过编辑实际的 xml 解决了这个问题。

I found the issue. I was starting the remote client in the home directory and not in the jmeter/bin directory.

I did have some issues configuring the log file name in the jmeter gui. It kept adding .\ to the start of the name or reverting to a different file that I had used earlier.

I got around that by editing the actual xml.

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