Sorry sebb I tried this syntax only ${__Random(1,10)}.... where can we
give in the XML request....the value is not generates...


-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 31, 2008 5:38 PM
To: JMeter Users List
Subject: Re: Doubt in random function

On 31/01/2008, Mathumathi Palani Bommu, EAS-Chennai <[EMAIL PROTECTED]>
wrote:
>
> Hi
>
>
>
> I need to send random number as input in the web service request..
>
> Can any one tell how to use random function to generate random numbers
> in each iteration ..
>
>
>
> I tried this format $_{Random(1,10)} in the data tag of XML request
but
> the no value is generated instead the value is passed as {1,10} in the
> request..
>

That's because the syntax is wrong, it should be:

${__Random(1,10)}

See:

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

>
>
> Please suggest the usage of Random function in the Web service sampler
>
>
>
> Regards
>
> mathu
>
>
>
> DISCLAIMER:
>
------------------------------------------------------------------------
-----------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its
affiliates. Any views or opinions presented in
> this email are solely those of the author and may not necessarily
reflect the opinions of HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure,
modification, distribution and / or publication of
> this message without the prior written consent of the author of this
e-mail is strictly prohibited. If you have
> received this email in error please delete it and notify the sender
immediately. Before opening any mail and
> attachments please check them for viruses and defect.
>
>
------------------------------------------------------------------------
-----------------------------------------------

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


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

Reply via email to