Hi Jacqui

if Controller is a conditional base Controller, It allows the user to
control whether the child test elements (like Samplers/controllers, etc)
execute or not.

The child elements (like Samplers/controllers, etc) of the 'if controller'
will be processed only on condition true.

Note: - Condition should be Java Script code that returns "true" or "false".

In a programming aspect - this is equivalent of:
If (condition) {
Statements....
}

Examples:      ${count}< 5
               '${username}' = = 'user1'
               ${serialnum}>9
where count, username and serialnum are variables.

Thanks
Applabs Team

----- Original Message -----
From: "Jacqui Guerrero" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 10, 2004 4:09 AM
Subject: If Controller


The documentation does not provide a good way of showing how to use the
If Controller.  Can someone out here help?  What is the format of the
javascript condition parameter: what values can you use, etc.



I think that JMeter 2.0 has a lot of great features but documentation
(i.e. samples) for each of the new controllers would help a lot.



Thanks,

Jacqui

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

Reply via email to