ITeye博客

jmetet tcp sampler hex response 500

adla_bin · 2018-05-30 16:37 · Jmeter · 开源软件 · Markdown

测试tcp:

1.修改jmeter.properties

# The default handler class
#tcp.handler=TCPClientImpl
tcp.handler=BinaryTCPClientImpl

 

2.设置EOL

2.1根据具体测试的程序设置EOM,例如本例中设置的为03

If you don't define the EOM byte, it reads until the end of the stream. Since the stream isn't going to end, it times out. You have to set the EOM byte correctly for the protocol you're using.

 2.2 若没有结尾符,参考以下博客。未做验证,仅MARK.

https://blog.csdn.net/oshishuinianhua1234/article/details/79257680

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。