You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2017/10/23 20:12:40 UTC
svn commit: r1813080 - in /jmeter/trunk/bin/testfiles: TCP_TESTS.csv
TCP_TESTS.xml
Author: pmouawad
Date: Mon Oct 23 20:12:40 2017
New Revision: 1813080
URL: http://svn.apache.org/viewvc?rev=1813080&view=rev
Log:
Bug 61651 - Improve TCP test coverage
Forgot to commit result files
Bugzilla Id: 61651
Modified:
jmeter/trunk/bin/testfiles/TCP_TESTS.csv
jmeter/trunk/bin/testfiles/TCP_TESTS.xml
Modified: jmeter/trunk/bin/testfiles/TCP_TESTS.csv
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/TCP_TESTS.csv?rev=1813080&r1=1813079&r2=1813080&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/TCP_TESTS.csv (original)
+++ jmeter/trunk/bin/testfiles/TCP_TESTS.csv Mon Oct 23 20:12:40 2017
@@ -4,7 +4,10 @@ BSS_startTcpServer,200,OK,setUp Thread G
TCP Sampler-Hello,200,OK,TG-TCPClientImpl 1-1,text,true,1,1,1,0
TCP Sampler-Timeout,500,"org.apache.jmeter.protocol.tcp.sampler.ReadException: Error reading from server, bytes read: 0",TG-TCPClientImpl 1-1,text,true,1,1,1,0
TCP Sampler-Quit,200,OK,TG-TCPClientImpl 1-1,text,true,1,1,1,0
-TCP Sampler-Hello,200,OK,TG-TCPClientImpl 2-1,text,true,1,1,1,0
-TCP Sampler-Timeout,500,org.apache.jmeter.protocol.tcp.sampler.ReadException: ,TG-TCPClientImpl 2-1,text,true,1,1,1,0
-TCP Sampler-Quit,200,OK,TG-TCPClientImpl 2-1,text,true,1,1,1,0
+TCP Sampler-Hello,200,OK,TG-BinaryTCPClientImpl 2-1,text,true,1,1,1,0
+TCP Sampler-Timeout,500,org.apache.jmeter.protocol.tcp.sampler.ReadException: ,TG-BinaryTCPClientImpl 2-1,text,true,1,1,1,0
+TCP Sampler-Quit,200,OK,TG-BinaryTCPClientImpl 2-1,text,true,1,1,1,0
+TCP Sampler-ConnectError,500,java.net.ConnectException: Connection refused (Connection refused),TG-TCPClientImpl-Errors 3-1,,true,1,1,1,0
+TCP Sampler-HostUnknown,500,java.net.UnknownHostException: localhostXXXX,TG-TCPClientImpl-Errors 3-1,,true,1,1,1,0
+TCP Sampler-ClassNotFoundException,500,Protocol handler not found,TG-TCPClientImpl-Errors 3-1,,true,1,1,1,0
BSS_stopTcpServer,200,OK,tearDown Thread Group 1-1,text,true,1,1,1,0
Modified: jmeter/trunk/bin/testfiles/TCP_TESTS.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/TCP_TESTS.xml?rev=1813080&r1=1813079&r2=1813080&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/TCP_TESTS.xml (original)
+++ jmeter/trunk/bin/testfiles/TCP_TESTS.xml Mon Oct 23 20:12:40 2017
@@ -4,44 +4,80 @@
<sample s="true" lb="BSS_startTcpServer" rc="200" rm="OK" tn="setUp Thread Group 1-1" dt="text" sc="1" ec="0" ng="1" na="1"/>
<sample s="true" lb="TCP Sampler-Hello" rc="200" rm="OK" tn="TG-TCPClientImpl 1-1" dt="text" sc="1" ec="0" ng="1" na="1">
<assertionResult>
- <name>Response Assertion</name>
+ <name>RA_time</name>
<failure>false</failure>
<error>false</error>
</assertionResult>
</sample>
<sample s="true" lb="TCP Sampler-Timeout" rc="500" rm="org.apache.jmeter.protocol.tcp.sampler.ReadException: Error reading from server, bytes read: 0" tn="TG-TCPClientImpl 1-1" dt="text" sc="1" ec="0" ng="1" na="1">
<assertionResult>
- <name>Response Assertion</name>
+ <name>RC_500</name>
<failure>false</failure>
<error>false</error>
</assertionResult>
<assertionResult>
- <name>Response Assertion</name>
+ <name>RA_ReadException</name>
<failure>false</failure>
<error>false</error>
</assertionResult>
</sample>
<sample s="true" lb="TCP Sampler-Quit" rc="200" rm="OK" tn="TG-TCPClientImpl 1-1" dt="text" sc="1" ec="0" ng="1" na="1"/>
-<sample s="true" lb="TCP Sampler-Hello" rc="200" rm="OK" tn="TG-TCPClientImpl 2-1" dt="text" sc="1" ec="0" ng="1" na="1">
+<sample s="true" lb="TCP Sampler-Hello" rc="200" rm="OK" tn="TG-BinaryTCPClientImpl 2-1" dt="text" sc="1" ec="0" ng="1" na="1">
<assertionResult>
- <name>Response Assertion</name>
+ <name>RA_time</name>
<failure>false</failure>
<error>false</error>
</assertionResult>
</sample>
-<sample s="true" lb="TCP Sampler-Timeout" rc="500" rm="org.apache.jmeter.protocol.tcp.sampler.ReadException: " tn="TG-TCPClientImpl 2-1" dt="text" sc="1" ec="0" ng="1" na="1">
+<sample s="true" lb="TCP Sampler-Timeout" rc="500" rm="org.apache.jmeter.protocol.tcp.sampler.ReadException: " tn="TG-BinaryTCPClientImpl 2-1" dt="text" sc="1" ec="0" ng="1" na="1">
<assertionResult>
- <name>Response Assertion</name>
+ <name>RC_500</name>
<failure>false</failure>
<error>false</error>
</assertionResult>
<assertionResult>
- <name>Response Assertion</name>
+ <name>RA_ReadException</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</sample>
+<sample s="true" lb="TCP Sampler-Quit" rc="200" rm="OK" tn="TG-BinaryTCPClientImpl 2-1" dt="text" sc="1" ec="0" ng="1" na="1"/>
+<sample s="true" lb="TCP Sampler-ConnectError" rc="500" rm="java.net.ConnectException: Connection refused (Connection refused)" tn="TG-TCPClientImpl-Errors 3-1" dt="" sc="1" ec="0" ng="1" na="1">
+ <assertionResult>
+ <name>RC_500</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_ConnectException</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</sample>
+<sample s="true" lb="TCP Sampler-HostUnknown" rc="500" rm="java.net.UnknownHostException: localhostXXXX" tn="TG-TCPClientImpl-Errors 3-1" dt="" sc="1" ec="0" ng="1" na="1">
+ <assertionResult>
+ <name>RC_500</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_UnknownHostException</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</sample>
+<sample s="true" lb="TCP Sampler-ClassNotFoundException" rc="500" rm="Protocol handler not found" tn="TG-TCPClientImpl-Errors 3-1" dt="" sc="1" ec="0" ng="1" na="1">
+ <assertionResult>
+ <name>RC_500</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_no_protocol_handler</name>
<failure>false</failure>
<error>false</error>
</assertionResult>
</sample>
-<sample s="true" lb="TCP Sampler-Quit" rc="200" rm="OK" tn="TG-TCPClientImpl 2-1" dt="text" sc="1" ec="0" ng="1" na="1"/>
<sample s="true" lb="BSS_stopTcpServer" rc="200" rm="OK" tn="tearDown Thread Group 1-1" dt="text" sc="1" ec="0" ng="1" na="1"/>
</testResults>