Logic controller is used to control the execution order sampler (Samplers), according to the actual need to customize the implementation of the rules. As a whole at all sampling controller level below it will also be performed together when executed.
Logic Controller Type:
Above Logic Controller can be broadly divided into two categories:
Execution order in the test plan execution control node, such as: Loop Controller, If Controller and the like;
When control of the test plan scripts grouped for easy JMeter statistics as well as the results of running the script, such as: Throughput Controller, Transaction Controller
If Controler: If controller
Action: The expression values for a given child node, whether to execute the next node.
parameter:
Condition (evaluated with javascript): using javascript executing code interpreter, return "true" or "false".
Expression (must evaluate to true of false): indicates whether the variable is equal to the string value true or false (case insensitive). For example: $ {JMeterThread.last_sample_ok} used to determine whether the success of the thread
Evaluate for all children: Check this represents a calculated expression will be performed before each child node
Interpret Condition as Variable Expression ?: Check this expression conditions: Expression (must evaluate to true of false), do not check to: Condition (evaluated with javascript)
Adding a thread group
Add View Results Tree
Adding If Controller
Add sampler
Access www.sohu.com