You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by GitBox <gi...@apache.org> on 2022/12/22 05:20:16 UTC

[GitHub] [jmeter] garethhumphriesgkc opened a new issue, #5750: Allow no response on TCP Sampler

garethhumphriesgkc opened a new issue, #5750:
URL: https://github.com/apache/jmeter/issues/5750

   ### Use case
   
   Performance testing a TCP endpoint that is asynchronous, or otherwise doesn't acknowledge receipt of each line of traffic.
   For example, performance testing a Splunk indexer, Cribl worker group, ELK stack, etc.
   
   These things accept data over TCP but don't acknowledge receipt of each event (to do so would torpedo performance).
   
   They rate limit themselves by not acking further TCP packets until they have enough space in their buffers to accept more - this is known as 'Backpressure', and it's the application of backpressure that indicates a system is at load, and is what we want to test.
   
   ### Possible solution
   
   Have a check box on the TCPSampler configuration titled  'Dont' require responses', or 'Asynchronous endpoint', or similar. When unchecked (the default) it operate as it does now.  When checked, it doesn't require a response and immediately send the next entry, relying on the TCP stack to block when it can no longer send.
   
   ### Possible workarounds
   
   At present I work around it by setting the response timeout to 1 millsecond.  The downside of this though is that everything counts as an error.
   
   ### JMeter Version
   
   5.5
   
   ### Java Version
   
   openjdk 11.0.17 2022-10-18
   
   ### OS Version
   
   Ubuntu 22.10


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org