vars.get("type")

could be replaced by:

"${type}"

Indeed one could put:

${__BeanShell(!"<EOF>".equals("${type}"))}

as BeanShell will convert the boolean to its text equivalent.

Or similarly using Javascript:

${__javaScript("<EOF>" != "${type}")}

On 10/01/07, Alexander Wallace <[EMAIL PROTECTED]> wrote:
this is how i did it:

${__BeanShell(return (vars.get("type").equals("<EOF>") ? "false" :
"true") ;)}


On Jan 10, 2007, at 8:52 AM, chris wrote:

> I have also tried the while loop conditioned to CSV dataset,
> but I get the following error:
>
> In the while loop I use as a condition:
>
> "${type}" == "<EOF>"
>
> Where type is a variable from my CSV Data Set Config
>
> 2007/01/10 15:45:36 ERROR - jmeter.threads.JMeterThread: Test failed!
> java.lang.StackOverflowError
>       at java.lang.String.indexOf(Unknown Source)
>       at java.lang.ClassLoader.checkName(Unknown Source)
>       at java.lang.ClassLoader.findLoadedClass(Unknown Source)
>       at java.lang.ClassLoader.loadClass(Unknown Source)
>       at java.lang.ClassLoader.loadClass(Unknown Source)
>
>
>
> ---------------------------------------------------------------------
> 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]



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

Reply via email to