BeanShell Processor Tutorial 2: Advanced Usage

BeanShell is the most powerful component of Apache JMeter. You can execute any Java code by using BeanShell scripts. If you are new to BeanShell, please take a look basic usage of BeanShell Processor. In this BeanShell tutorial, I want to deep dive into BeanShell  and show you some other example of its usage. If you're familiar with Java or any other language, it is very easy to get used to it. Sample 1: Dealing with Dates Dates are the most frightening component of any developer and testers also. In case you need deal with dynamic dates during your test, [...]

By |2021-07-01T15:58:54+03:00May 29th, 2018|Tags: , |

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. With the help of BeanShell Processor Tutorial article, we will dive into the details of this topic. 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 [...]

By |2022-01-26T15:59:01+03:00March 23rd, 2018|Tags: , |
Go to Top