I've got some progess. jmeter give the response code 500, and exception is "org.apache.jmeter.protocol.tcp.sampler.ReadException" (btw, where can I get more detailed error log?). that's because Jmeter read the response but can't find the 'EOL byte value' defined, so it fails and throw the exception when timeout, and since there's an error, so jmeter colse the connection for the sampler. in fact, I can see from the 'response data' that the value is '0b', and also I've set the value '0b' in 'EOL byte value' field, which is not right. When I change it to '11', it is right. the Sampler runs ok, and the connection is reused for the next sampler. So, only the second question leaves...
At 2013-09-13 14:24:26,"黄吉浩" <[email protected]> wrote: >hi, I have 2 questions. >first, the response code defaults to 500, which jmeter interprets it as >failure. then jmeter will colse the connection for the current sampler, which >is not I want. I did some search on internet, and add the 'Response Assertion' >for the sampler, but that did not work. >second, 'EOL byte value' in TCP Sampler only let you to set a byte value as >the stream terminator marker. is there a way to set a sequence of byte value, >that will be helpful. >thanks in advance. >
