https://issues.apache.org/bugzilla/show_bug.cgi?id=54230

            Bug ID: 54230
           Summary: TCP Sampler, additions of "Close Connection",
                    "SO_LINGER" and "End of line(EOL) byte value" options
           Product: JMeter
           Version: Nightly (Please specify date)
          Hardware: PC
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

Created attachment 29661
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29661&action=edit
TCP Sampler patch file and images

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to