title: jmeter - asynchronous TCP sampler options?
body: <p>I'm hoping someone has some experience with asynchronous testing and how to accomplish it with Jmeter.  If someone does know, but not with jmeter, also open to other options, but more familiar with jmeter and the context is for load/stress testing.</p>
  
  <p>Definition: For example, sending raw TCP textual datastreams where the "session" id is within the datastream itself.  Everything is asynchronous and could be 'out-of-order' as far as returns.</p>
  
  <p>Example: So, given a sample of 10 datastreams with an end signal of \n over 5 threads, it is possible for all 10 to be sent over the same TCP port before the first one responds, and the response could be in any order.</p>
  
  <p>session00001datasenthere\n</p>
  
  <p>session00002datalsosenthere\n</p>
  
  <p>session00003differentdata\n</p>
  
  <p>...</p>
  
  <p>session00010moredifferentdata\n</p>
  
  <p>Using Jmeter, I do want to measure how long it takes for each given datastream based on the sessionid (say data bytes 8-12 of the streams in this example) to return.  The intent is to use Jmeter for what it is good at, load/stress testing across multiple machines, but smart enough to understand the asynch TCP data (opposed to your normal HTTP session request/response).</p>
  
  <p>Constraint is during any given testing session the 'sessionid' is unique at least until a response stream is returned (for logistic reasons, otherwise couldn't pull this off ;-).</p>
  
  <p>Thanks in advance, and just to ensure intent is understood, this is to take advantage of all the nice ready-to-go reports/listeners/plugins/analytics available to Jmeter.</p>
  
  <p>EDIT: The implementation of the server under test is Netty, not dissimilar to the Telnet example.  If there is a Jmeter example of testing the Netty example Telnet server that may also help.</p>
  
  <p>-D</p>