I'm using the TCPSampler to send an RTSP protocol message. I'm collecting the variables for the message from XML files, so the content and content length will therefore vary.
It seems to me the __javaScript() function is a likely route, which I'll try first. On Wed, Apr 29, 2009 at 7:13 PM, sebb <[email protected]> wrote: > On 29/04/2009, Ed Young <[email protected]> wrote: >> Is there a way to calculate the length of some string, including any >> embedded variables? > > Why do you need to do this? > >> It would have to first expand the variables and then do the calculation... > > Just pass the string to a function that returns its length; variables > are resolved before the function is called. > >> --------------------------------------------------------------------- >> 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] > > -- - Ed --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

