You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by fernando castano <Fe...@Sun.COM> on 2008/06/18 19:03:23 UTC
using threadNum in TCP sampler
Hi all,
I need to find a way to use the threadNum or (any identifier that
identifies each thread uniquely) in the "text to send" field of a TCP
sampler. AFAIK, it can only
parse variables, but I cannot figure out how to dynamically assign a
different variable for each thread and give it the right value. Any hints?
TIA,
fdo
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: using threadNum in TCP sampler
Posted by fernando castano <Fe...@Sun.COM>.
ha! that works. thanks sebb
-fdo
sebb wrote:
> On 18/06/2008, fernando castano <Fe...@sun.com> wrote:
>
>> Hi all,
>>
>> I need to find a way to use the threadNum or (any identifier that
>> identifies each thread uniquely) in the "text to send" field of a TCP
>> sampler. AFAIK, it can only
>> parse variables, but I cannot figure out how to dynamically assign a
>> different variable for each thread and give it the right value. Any hints?
>>
>>
>
> If an input field accepts a variable reference, it will also accept a
> function reference.
>
> Most input fields accept variables (and functions).
>
> Use the __threadNum() function.
>
>
>> TIA,
>>
>> fdo
>>
>> ---------------------------------------------------------------------
>> 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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: using threadNum in TCP sampler
Posted by sebb <se...@gmail.com>.
On 18/06/2008, fernando castano <Fe...@sun.com> wrote:
>
> Hi all,
>
> I need to find a way to use the threadNum or (any identifier that
> identifies each thread uniquely) in the "text to send" field of a TCP
> sampler. AFAIK, it can only
> parse variables, but I cannot figure out how to dynamically assign a
> different variable for each thread and give it the right value. Any hints?
>
If an input field accepts a variable reference, it will also accept a
function reference.
Most input fields accept variables (and functions).
Use the __threadNum() function.
> TIA,
>
> fdo
>
> ---------------------------------------------------------------------
> 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