执行 JDBC 请求时 JMeter 使 XP 崩溃
我正在使用 JMeter 2.3.2 和 XP SP3。 当我尝试 JDBC 请求时,XP 崩溃。 这不太方便。
这是我第一次使用 JMeter,所以我正在寻找灵感来了解在哪里查看。
它有一个相当简单的 JDBC 请求(简单的选择,没有参数,聚合报告等)。
数据库是 SQL Server,正确的 jar 位于 lib 目录中,据我所知,所有设置都是正确的。
有人有这个问题的经验吗?
I'm using JMeter 2.3.2 and XP SP3. When I try a JDBC request, XP crashes. This is not very convenient.
This is the first time I've used JMeter, so I'm looking for inspiration as to where to look.
Its with a fairly simple JDBC request (simple select, without parameters, aggregated report etc).
The database is SQL server, the correct jar is in the lib directory, all of the setup is correct as far as I can tell.
Does anyone have any experience of this problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我发现问题是URL的IP地址不正确。
我更改了 IP 地址,现在可以使用了。 日志文件中有很多“无法连接到 IP 地址”,我认为 Jmeter 或 XP 一直在保留这些连接,直到缓冲区溢出。
这很奇怪,但既然我知道了答案,我就无法再重现这个问题了。 也许根本不是那样。 无论如何,现在可以了。
I've found the problem, it was that the IP address of the URL wasn't correct.
I changed the IP address and now it works. There were lots of 'Cannot connect to IP address' in the logfile, and I think either Jmeter or XP was keeping theses connections around, until a buffer overflowed.
Its strange, but now that I know the answer, I can't reproduce the problem any more. Maybe it wasn't that after all. Anyway, it works now.
听起来 Java 内存不足并冻结了您的系统。
Sounds like Java was running out of memory and freezing your system.