You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by norken76 <na...@yahoo.com> on 2007/08/03 16:06:53 UTC

Passing a property between task groups

Hey there,
Any one can tell me a way to pass a property from one task group to another.
I couldn't use the setProperty function. I 've posted a question about
setProerty but no help received.
can someone point me to another way to achieve this. thanks.
-- 
View this message in context: http://www.nabble.com/Passing-a-property-between-task-groups-tf4212762.html#a11984026
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: Passing a property between task groups

Posted by sebb <se...@gmail.com>.
You can put the function call anywhere you like, so long as it is
executed after the value has been extracted, and before the new
property value is needed.

On 09/08/07, norken76 <na...@yahoo.com> wrote:
>
> thank you. but the issue I have is that I don't know in which GUI element I
> am supposed to put that function call in. knowing that I only need to call
> that function to set the property to some variable value ?
> someone sugested to put the call in a java request parameter. that worked
> but I assume it should be a better way to do it which I could not find ?.
>
> thnks.
>
>
>
> sebb-2 wrote:
> >
> > variables are not shared between thread groups; you have to use a
> > property instead.
> >
> > See:
> >
> > http://jakarta.apache.org/jmeter/usermanual/functions.html#__setProperty
> >
> > e.g.
> >
> > ${__setProperty(propname,propvalue)}
> >
> >
> > On 03/08/07, norken76 <na...@yahoo.com> wrote:
> >>
> >> Hey there,
> >> Any one can tell me a way to pass a property from one task group to
> >> another.
> >> I couldn't use the setProperty function. I 've posted a question about
> >> setProerty but no help received.
> >> can someone point me to another way to achieve this. thanks.
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Passing-a-property-between-task-groups-tf4212762.html#a11984026
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Passing-a-property-between-task-groups-tf4212762.html#a12072783
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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: Passing a property between task groups

Posted by norken76 <na...@yahoo.com>.
thank you. but the issue I have is that I don't know in which GUI element I
am supposed to put that function call in. knowing that I only need to call
that function to set the property to some variable value ?
someone sugested to put the call in a java request parameter. that worked
but I assume it should be a better way to do it which I could not find ?.

thnks.

 

sebb-2 wrote:
> 
> variables are not shared between thread groups; you have to use a
> property instead.
> 
> See:
> 
> http://jakarta.apache.org/jmeter/usermanual/functions.html#__setProperty
> 
> e.g.
> 
> ${__setProperty(propname,propvalue)}
> 
> 
> On 03/08/07, norken76 <na...@yahoo.com> wrote:
>>
>> Hey there,
>> Any one can tell me a way to pass a property from one task group to
>> another.
>> I couldn't use the setProperty function. I 've posted a question about
>> setProerty but no help received.
>> can someone point me to another way to achieve this. thanks.
>> --
>> View this message in context:
>> http://www.nabble.com/Passing-a-property-between-task-groups-tf4212762.html#a11984026
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Passing-a-property-between-task-groups-tf4212762.html#a12072783
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: Passing a property between task groups

Posted by sebb <se...@gmail.com>.
variables are not shared between thread groups; you have to use a
property instead.

See:

http://jakarta.apache.org/jmeter/usermanual/functions.html#__setProperty

e.g.

${__setProperty(propname,propvalue)}


On 03/08/07, norken76 <na...@yahoo.com> wrote:
>
> Hey there,
> Any one can tell me a way to pass a property from one task group to another.
> I couldn't use the setProperty function. I 've posted a question about
> setProerty but no help received.
> can someone point me to another way to achieve this. thanks.
> --
> View this message in context: http://www.nabble.com/Passing-a-property-between-task-groups-tf4212762.html#a11984026
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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