Using Dummy Sampler
Dummy Sampler is one of the most useful components you will come across. This sampler generates responses with the values already defined. For example, this can be very handy when used in combination with postprocessors such as the RegExp extractor, BeanShell postprocessor, CSS/JQuery extractor, BSF postprocessor, and so on. It cuts down script development and debugging time since you don't have to be repetitive with test executions or wait for certain conditions in the application under test to be met.
How to do it…
In this recipe, we will use Dummy Sampler with test plans to debug and extract information for a response using the BSF postprocessor. Perform the following steps:
Download the standard set of plugins from http://jmeter-plugins.org/.
Install the plugins by doing the following:
Extract the ZIP archive to a location of your choice
Copy the JAR file contained in
lib/ext
folder of the extracted location to the$JMETER_HOME/lib/ext
directoryCopy all the JAR files from...