Hello, Please find the attached diff file for source code and screen capture images for xdoc. I made a patch for TCP Sampler and TCP Sampler Config. This patch was originally made for our company’s testing.
Things changed - On TCP Sampler Config Add “SO_LINGER” checkbox and “LINGER Timeout” text input box to prevent large numbers of sockets sitting around with a TIME_WAIT status. It’s related to https://issues.apache.org/bugzilla/show_bug.cgi?id=40499 Add “End of line(EOL) byte value” text input box to set eolByte value on GUI. Setting on GUI will overwrite the setting in properties file. If user doesn’t set the value on GUI, It will use the setting on properties file. Remove “Re-Use Connection” checkbox, and it will be shown only on TCP Sampler as in case of checkbox, if user utilizes TCP Sampler and TCP Sampler Config together, the settings on the TCP Sampler Config are meaningless. Remove “TCP Nodelay” checkbox, and it will be shown only on TCP Sampler. - On TCP Sampler Add “Close Connection” checkbox to be able to close connection even if user checks “Re-Use Connection” option. In our company’s test, we needed to close the connection at the end of each thread. Also the diff contains a little GUI adjustment for TCP Sampler and Config. Attached two images’ location is /jmeter/xdocs/images/screenshots. The issue - https://issues.apache.org/bugzilla/show_bug.cgi?id=40499 - is related to this patch but, he said too generally, not particularly about TCP Sampler. So I will not change the status of the issue. TODO(Next time) - Change check boxes to select boxes for those options. Thank you! ------------------------------- 홍근식 플랫폼개발부/플랫폼개발3팀/과장 이메일: [email protected] 모바일: 010-7289-7255 유엔젤(주) -------------------------------
