jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Cysne <flaviocy...@gmail.com>
Subject Re: Using the same parameter value
Date Mon, 05 Jan 2015 15:56:12 GMT
Sorry, the correct expression is ${__javaScript(vars.put(myID,${__UUID}))}
Em 05/01/2015 13:36, "Flavio Cysne" <flaviocysne@gmail.com> escreveu:

> You could also use the expression
> ${__javaScript(vars.put(${__UUID},myID))} and add ${myID} in other samplers
> refering the uuid value generated.
> Em 31/12/2014 14:40, "Aditya Dhage" <aditya.dhage@globallogic.com>
> escreveu:
>
>> Hi,
>> I've been through the same problem recently.
>>
>> User defined value are assigned only once at the start of the test plan.
>>
>> You can use pre processor called 'User Parameters' to generate unique
>> values per iteration. You can also assign it to a variable and use it
>> again.
>>
>> Regards,
>> Aditya Dhage
>>
>> On 31 Dec 2014 19:47, "Dan Zaitoun" <dan@jajah.com> wrote:
>>
>> >  HI,
>> >
>> > I wrote a script in jmeter that used the ${__UUID} in the first call of
>> > the script. I would like to use the same value in other calls of the
>> > iteration of the script.
>> >
>> > But each iteration I need to create other GUID..
>> >
>> > Currently for each call that I;m doing it create other value.
>> >
>> > I tried to create user defined value, but the value doesn’t changed in
>> > each iteration but stay the same of all the test.
>> >
>> > Can Anyone help me here?
>> >
>> > Thanks
>> >
>> > Dan
>> >
>> >
>> >
>> > *Dan zaitoun* *||*dan@jajah.com*| *17 Hatidhar St., Raanana, 43665,
>> > Israel *|*  Mobile: +972-54-6880500 *|*
>> >
>> >
>> >
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message