DevOps / BeanShell Interview questions
List the BeanShell elements available in Apache JMeter?
JMeter ships BeanShell versions of several element types: the BeanShell Sampler, sending a request or performing an action defined entirely in script, BeanShell PreProcessor and PostProcessor, running script logic before or after another sampler, BeanShell Assertion, validating a response using script logic, BeanShell Timer, calculating a custom delay via script, and BeanShell Listener, processing results with custom script logic.
Each of these mirrors a corresponding built-in JMeter element type but replaces its fixed configuration fields with a free-form script, trading structured configuration for full scripting flexibility.
All of them share the same implicit variables inside their script context - things like vars, props, and log - giving script authors consistent access to JMeter's variables, properties, and logging regardless of which specific BeanShell element they're writing.
More Related questions...