New feature connection time metric(added in 2.13) does not work for TCPSampler. It's always equal zero. I have tried for "View Results Tree". Everything is OK for HTTP Request. I use "LengthPrefixedBinaryTCPClientImpl".
Could you test the next nightly, whether this fix is correct for you? Date: Mon Mar 21 18:17:03 2016 New Revision: 1736072 URL: http://svn.apache.org/viewvc?rev=1736072&view=rev Log: TCP Sampler: Set connect time in sampler when connection is established. Bugzilla Id: 59205 Modified: jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java jmeter/trunk/xdocs/changes.xml
Now, everything is OK. Thank you.
Author: pmouawad Date: Wed Mar 23 14:17:05 2016 New Revision: 1736324 URL: http://svn.apache.org/viewvc?rev=1736324&view=rev Log: Bug 59205 TCP Sampler: Set connect time in sampler when connection is established As per dev mailing list discussion, update documentation and handle to connection error Bugzilla Id: 59205 Modified: jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java jmeter/trunk/xdocs/usermanual/glossary.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3913