I was able to create this behavior using the JMeter property functions
(__setProperty).  JMeter properties are global, so they can be set by one
thread group and used by another.  There are likely concurrency issues, but
if you can guarantee that the threads won't try to get/set the value at the
same time, you'll probably be OK.

-Dave

On 2/20/07, iblavins <[EMAIL PROTECTED]> wrote:

G'day

I concur - I couldn't UDVs to be global across thread groups and I
concluded
that the manual was in error.



Ian Blavins
Contract Performance Engineer
Temenos


-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED]
Sent: 20 February 2007 16:45
To: JMeter Users List; Tomasz Slonina
Subject: Re: How to pass User Defined Varible value between ThreadGroups

On 20/02/07, Tomasz Słonina <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I  have  found  in  User Manual  that User Defined  Variables are
> shared between Thread Groups: http://tinyurl.com/3xzvrp

I think that is wrong - UDVs defined within a Thread Group are not shared.

> So,  for me it means that it is possible to send UDV between  two
> Thread Groups, isn't it? Unfortunately, I can't manage it.
>

Sorry, no.

> In  my  tests I  have added  UDV in the Test Plan. In first Thread
> Group  I have 3 request. In first request I set UDV variable value
> and I am using it in next requests of first Thread - it works OK.
> In  the second Thread Group I have to use same value (already set
> in first request of first Thread Group) but value comes empty?
>
> I  am runing each Thread Group separately (I have to run one
> group before starting the next one). I am using Version 2.2.
>
> What am I doing wrong? Thanks for any help.
>
> Schema of my Test Plan:
> + Test plan (with myVarible defined)
>  + Thread Group 1
>    + Request 11
>      + RegExp extractor (extracts value to myVarible)
>    + Request 12 (using myVarible value)
>    + Request 13 (using myVarible value)
>  + Thread Group 2
>    + Request 21 (which need value of myVarible)
>
> --
> Regards,
> Tomasz
>
> X-Nat-Received: from [172.25.4.114]:37384 [ident-empty]
>        by smtp-proxy.isp with TPROXY id 1171988348.9177
>
> ---------------------
> Panorama Internetu - prognoza pogody, poczta e-mail z największym
załącznikiem, SMS, wyszukiwarki: Gooru, Anonser, serwisy: randki,
ogłoszenia, wakacje, program TV, Kina, muzyka, DVD, newsy, inne.
> http://www.panoramainternetu.pl/ (http://www.epf.pl/)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



This email (and any attachments) contains confidential information, and is
intended
only for the named recipient. Distribution or copying of this email by
anyone
other than the named recipient is prohibited. If you are not the named or
intended recipient, please notify TEMENOS or the sender immediately and
permanently destroy this email (and any attachments) and all copies of it.
No
member of TEMENOS Group AG or any of its associated or affiliated
companies is
liable for any errors or omissions in the content or transmission of this
email. Any opinions contained in this email are solely those of the author
and,
unless clearly indicated otherwise in writing, are not endorsed by any
member
of TEMENOS Group AG or any of its associated and affiliated companies.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to