Articles → JMeter → If Controller In Jmeter
If Controller In Jmeter
Purpose
How To Add If Controller?
- Right-click on Thread Group.
- Go to Add → Logic Controller → If Controller
Click to Enlarge
Example
- Add a HTTP request sampler.
- Add a View Results tree
- Add an if controller to check if HTTP request in point 1 is success or not.
Click to Enlarge
- If success then call another HTTP.
Click to Enlarge
Click to Enlarge
Click to Enlarge