Jmeter TCP 读取CSV数据出错处理

上一篇 / 下一篇  2014-03-14 22:21:25 / 个人分类:性能测试

今天做了一小点Jmeter TCP测试,在要发送的文本框里,同以前一样使用了函数来读取数据${__CSVRead(E:\learn\jmeter\Mytest\TCP.txt,0)},
发现sample怎么也发不出请求。

查找资料,原来是TCP请求发送流的结束标志问题。只需要把配置文件jmeter.properties中的eolByte设为10即可。10在ASCII中表示“\r\n",也就是文本文件中的换行符

以下是配置文件中的说明:eolByte = 行尾的字节值
#eolByte = byte value for end of line
# set this to a value outside the range -128 to +127 to skip eol checking
#tcp.eolByte=10

TAG:

 

评分:0

我来说两句

日历

« 2024-04-20  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 10323
  • 日志数: 7
  • 建立时间: 2014-01-22
  • 更新时间: 2014-03-14

RSS订阅

Open Toolbar