jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Doubt in random function
Date Fri, 01 Feb 2008 10:51:52 GMT
OK.

In case it helps other users, what was the problem?


On 01/02/2008, Mathumathi Palani Bommu, EAS-Chennai <mathumathip@hcl.in> wrote:
> Thanks for your help sebb ... it works fine for me now ...
>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Thursday, January 31, 2008 10:40 PM
> To: JMeter Users List
> Subject: Re: Doubt in random function
>
> Works fine for me.
>
> I suggest you start by entering a fixed number.
> Replace that with a variable, finally try the function.
>
> Also try the function - cut and paste - in the Name field to check
> that it is working
>
> On 31/01/2008, Mathumathi Palani Bommu, EAS-Chennai <mathumathip@hcl.in>
> wrote:
> > 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:sebbaz@gmail.com]
> > 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
> <mathumathip@hcl.in>
> > 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: 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
> >
> >
>
> ---------------------------------------------------------------------
> 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
>
>

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


Mime
View raw message