|
DummySampler
Dummy Sampler since 0.2.0Dummy Sampler is the most obedient of the JMeter samplers: it generates sample just with the values that was defined fot it. It is extremely convenient when you need to debug a BeanShell Post-Processor or RegExp Extractor without repeating whole test or waiting for exact condition in application under test.
Example | |

Hi, Do you know if it possible to fill the response data with the response data of the previous sample?
Edit: Is there a simple way for doing the following
I tried adding the beanshell command directly in the dummy sample with ${__BeanShell(prev.getResponseDataAsString())} , but this didn't work
Kind Regards,
Sander
Sander, your scenario works for me fine. Maybe something else wrong with your test? If you think Dummy Sampler is wrong, you could use Debug Sampler to see all the variables.
Hi Andrey,
Which scenario works fine for you? The one with the beanshell directly in the dummy sample?
yes, I attach postprocessor to sampler. this guarantees that it will work only for this single sampler. But not Dummy Sampler! HTTP Sampler, because I want to post-process its results