BeanShell Processor Tutorial 1: Basic Usage

Even though general functionalities of JMeter cover many needs of a performance test, you might need additional scripting. Apache JMeter has the functionality to run Java code snippets during your test execution. BeanShell has access to internal JMeter features and any library located in your JMeter lib folder. BeanShell can be executed as a pre/postcondition or as a sampler. The only difference is that pre/post conditions will not be listed in JMeter Listeners. When using BeanShell, you can use “vars” variable to get and set values generated in the test context. This post will cover those functionalities. BeanShell vars.get() usage [...]

By | 2018-07-31T20:53:23+00:00 March 23rd, 2018|Tags: , |