jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: message length
Date Wed, 13 Jul 2005 14:36:22 GMT
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 <mstover1@apache.org> 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: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message