linux jmeter4445端口,JMeter陷入'等待4445端口可能的关机消息'

I am trying to use jmeter on the command line using:

我试图在命令行上使用jmeter使用:

./jmeter.sh -n -t testplan.jmx -l log.jtl

It works 8/10 times but some times it gets stuck on the message: waiting for possible shutdown message... I am using CentOS 6 and JMeter version 2.9 r1437961. My test plan has two thread groups which are configured to run consecutively from the GUI. Any suggestions as to what the problem might be?

它工作8/10次,但有时它会卡在消息上:等待可能的关机消息......我正在使用CentOS 6和JMeter版本2.9 r1437961。我的测试计划有两个线程组,它们被配置为从GUI连续运行。有关问题可能是什么的任何建议?

2 个解决方案

#1

Did you set timeouts to your HTTP requests ? If not , then jmeter will wait infinitely for a response from server which can lead to such issue.

您是否为HTTP请求设置了超时?如果没有,那么jmeter将无限期地等待来自服务器的响应,这可能导致这样的问题。

So fix is to set a timeout on connect and read in HTTP Request Defaults.

因此,修复是在连接上设置超时并在HTTP请求默认值中读取。

Also you shoud upgrade to JMeter 2.13.

你也应该升级到JMeter 2.13。

#2

To further breakdown UBIK LOAD PACK's comments,

为进一步细分UBIK LOAD PACK的评论,

Navigate to Testplan level and Add--> config Element --> HTTP Request Defaults.

导航到Testplan级别和Add - > config Element - > HTTP Request Defaults。

Set the protocol, server Name and port (Not sure if you really need it, but worked for me)

设置协议,服务器名称和端口(不确定是否真的需要它,但为我工作)

Navigate to advanced tab and add timeout periods(milliseconds) to Connect and response timeouts( I set as 10000)

导航到高级选项卡并为连接和响应超时添加超时时间(毫秒)(我设置为10000)

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值