Hi
you arent clear in what you want.
Any JMeter variable is available to the entire thread, whether it is set in
One Time Controllers or not . If you need to manage some custom access to
variables then beanshell(pre /post processor , sampler , listener) has
access to the vars object which has methods put and get

http://jakarta.apache.org/jmeter/api/org/apache/jmeter/threads/JMeterVariables.html

regards
deepak

On Fri, Dec 4, 2009 at 4:05 AM, Harry_ <[email protected]> wrote:

>
> Hi,
>
> I have made a test plan in which I login in one time controller  from one
> IP
> which is read from csv file (on a machine having multiple IP's) and then I
> have to fire requests to server from that IP.
>
> But for this I have to store the value of IP in a variable in one time
> controller and use it outside at the thread level where I have other
> requests.
>
> So how do I  declare a variable at thread level and assign it value in one
> time controller.
>
> And use it at thread level...
>
> Regards
> --
> View this message in context:
> http://old.nabble.com/How-to-declare-a-variable-at-thread-level-and-assign-it-value-in-one-time-controller-tp26635872p26635872.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to