Dont forget the quotes .
"${RE_Count}"=="NOT FOUND"
Always check jmeter.log it should have given you an error.
Use debug samplers to inspect variables
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#If_Controllerregards deepak On Wed, Aug 18, 2010 at 4:03 AM, Jain, Kapil <[email protected]> wrote: > Hi Deepak, > > My RE parameter (RE_Count) some time returning dynamic value $RE_Count=NOT > FOUND and for this condition I want to put one condition through if > controller i.e., ${RE_Count}==NOT FOUND then do not run further any > statement and logout and start with new iteration. > > I tried but not able to do this. Count any one please help me on this. > > Regards > KAPIL > > -----Original Message----- > From: Deepak Shetty [mailto:[email protected]] > Sent: 16 August 2010 18:48 > To: JMeter Users List > Subject: Re: Random Id selection > > you can use the default value field and check for it using an IF > Controller. > Alternately the count is stored as a variable (though I cant remember the > name and I cant check ). Add a debug sampler + view Results tree listener > after your sampler and you can see the variable name used for count and > check for that > > regards > deepak > > On Mon, Aug 16, 2010 at 5:16 AM, Jain, Kapil <[email protected]> > wrote: > > > Thanks Deepak. I have another query here. > > > > I am getting n number of value for my defined regular expression > paramenter > > and I want to put here some condition like > > > > 1) if regular expression parameter count == 0 then run logout code and > exit > > for this iteration and start a new iteration. > > > > Could you please suggest me how to do this? > > > > Regards > > KAPIL > > > > -----Original Message----- > > From: Deepak Shetty [mailto:[email protected]] > > Sent: 12 August 2010 18:04 > > To: JMeter Users List > > Subject: Re: Random Id selection > > > > The regular expression extractor has a field that lets you select a value > > at > > random > > See match no - > > > > > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Expression_Extractor > > > > > > On Thu, Aug 12, 2010 at 4:57 AM, Jain, Kapil <[email protected]> > > wrote: > > > > > Dear all, > > > > > > I have a problem and want to discuss with you all to get the correct > > > solution. > > > > > > I am getting so many dynamic value for one field i.e., ID. I have > > > defined a regular expression and this parameter is capturing this id > > > value now I want to select this id randomly. Could you please suggest > me > > > how can I select this random value? Please provide some example for > this > > > too and that will help me, > > > > > > Regards > > > KAPIL > > > > > > Please help Logica to respect the environment by not printing this > email > > / > > > Pour contribuer comme Logica au respect de l'environnement, merci de ne > > pas > > > imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und > > helfen > > > Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a > Logica > > a > > > respeitar o ambiente nao imprimindo este correio electronico. > > > > > > > > > > > > This e-mail and any attachment is for authorised use by the intended > > > recipient(s) only. It may contain proprietary material, confidential > > > information and/or be subject to legal privilege. It should not be > > copied, > > > disclosed to, retained or used by, any other party. If you are not an > > > intended recipient then please promptly delete this e-mail and any > > > attachment and all copies and inform the sender. Thank you. > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: [email protected] > > > > > > > > > > Please help Logica to respect the environment by not printing this email > / > > Pour contribuer comme Logica au respect de l'environnement, merci de ne > pas > > imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und > helfen > > Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica > a > > respeitar o ambiente nao imprimindo este correio electronico. > > > > > > > > This e-mail and any attachment is for authorised use by the intended > > recipient(s) only. It may contain proprietary material, confidential > > information and/or be subject to legal privilege. It should not be > copied, > > disclosed to, retained or used by, any other party. If you are not an > > intended recipient then please promptly delete this e-mail and any > > attachment and all copies and inform the sender. Thank you. > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > Please help Logica to respect the environment by not printing this email / > Pour contribuer comme Logica au respect de l'environnement, merci de ne pas > imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen > Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a > respeitar o ambiente nao imprimindo este correio electronico. > > > > This e-mail and any attachment is for authorised use by the intended > recipient(s) only. It may contain proprietary material, confidential > information and/or be subject to legal privilege. It should not be copied, > disclosed to, retained or used by, any other party. If you are not an > intended recipient then please promptly delete this e-mail and any > attachment and all copies and inform the sender. Thank you. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

