jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Stover <mstov...@apache.org>
Subject Re: message length
Date Wed, 13 Jul 2005 13:53:04 GMT
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



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message