See my reply to another query about TCP Sampler. You may need to write your own client code.
Or of course you could download BeanShell and write it as a BeanShell Sampler. S. On 7/13/05, Michael Stover <[EMAIL PROTECTED]> wrote: > I'm not very familiar with the TCP Sampler, but to grab dynamic values > from responses, the easiest way is usually to use the Regular Expression > Extractor Post-Processor: > > http://wiki.apache.org/jakarta- > jmeter/UserManual/Reference/RegularExpressionExtractor > > -Mike > > On Wed, 2005-07-13 at 09:43 +0300, Zohar Amir wrote: > > > Hello, > > I'm totally new to JMeter, hence the possibility of making a joke of myself. > > I'd like to test a server I have. It uses TCP as a transport protocol, so I > > guess I'll be using the TCP sampler. > > 1. How do I create a test case that is "reactive", meaning that I send > > "login" command, wait for the response, analyze the response and then send > > some "do" command, based on the login response (e.g., using a session ID > > returned in the login response)? > > 2. The application level protocol requires prepending each message's length > > to the message. How do I do that dynamically? > > > > Thanks, > > Zohar. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

