You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by smithas <sm...@gmail.com> on 2007/06/08 19:55:44 UTC
multiple conditions in IF is not working for me.
I am trying to use multiple conditions in If statement. This seems to be not
working as I expected. Ny suggestions.
"${goal_repo}"!=(("goal_funnel")||("reverse_goal_path")||("goal_verification"))
--
View this message in context: http://www.nabble.com/multiple-conditions-in-IF-is-not-working-for-me.-tf3891207.html#a11030930
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: multiple conditions in IF is not working for me.
Posted by Matthew Coventon <ma...@iseinc.biz>.
Try like this:
("${goal_repo}"!="goal_funnel")||("${goal_repo}"!="reverse_goal_path")||("${
goal_repo}"!="goal_verification")
I must also say that the condition itself looks a little off. What will
happen is that if goal_repo has the value "goal_funnel", your condition will
evaluate to true because goal_repo is not equal to "reverse_goal_path". Is
that what you want? It seems to me like you should be using && instead of
||.
Regards,
Matt C.
-----Original Message-----
From: smithas [mailto:smithavimal@gmail.com]
Sent: Friday, June 08, 2007 1:22 PM
To: jmeter-user@jakarta.apache.org
Subject: Re: multiple conditions in IF is not working for me.
I tried like this as well . But no luck
("${goal_repo}"!=("goal_funnel")
)||("${goal_repo}"!=("reverse_goal_path"))||("${goal_repo}"!=("goal_verifica
tion"))
smithas wrote:
>
> I am trying to use multiple conditions in If statement. This seems to be
> not working as I expected. Ny suggestions.
>
>
"${goal_repo}"!=(("goal_funnel")||("reverse_goal_path")||("goal_verification
"))
>
--
View this message in context:
http://www.nabble.com/multiple-conditions-in-IF-is-not-working-for-me.-tf389
1207.html#a11031612
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
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
Re: multiple conditions in IF is not working for me.
Posted by smithas <sm...@gmail.com>.
I tried like this as well . But no luck
("${goal_repo}"!=("goal_funnel")
)||("${goal_repo}"!=("reverse_goal_path"))||("${goal_repo}"!=("goal_verification"))
smithas wrote:
>
> I am trying to use multiple conditions in If statement. This seems to be
> not working as I expected. Ny suggestions.
>
> "${goal_repo}"!=(("goal_funnel")||("reverse_goal_path")||("goal_verification"))
>
--
View this message in context: http://www.nabble.com/multiple-conditions-in-IF-is-not-working-for-me.-tf3891207.html#a11031612
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org