You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by matthew sporleder <ms...@gmail.com> on 2008/01/18 20:51:41 UTC

if controller indexOf

I'm trying to use the if controller to test if a string contains a
match.  Can I use indexOf to do this?

Thanks,
Matt

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


Re: if controller indexOf

Posted by sebb <se...@gmail.com>.
The If Controller condition is Javascript, specifically Mozilla Rhino, see:

http://www.mozilla.org/rhino/overview.html


On 18/01/2008, matthew sporleder <ms...@gmail.com> wrote:
> I'm trying to use the if controller to test if a string contains a
> match.  Can I use indexOf to do this?
>
> Thanks,
> Matt
>
> ---------------------------------------------------------------------
> 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