O'Reilly logo

Performance Testing with JMeter 2.9 by Bayo Erinle

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Debug sampler

The debug sampler generates a sample containing all the values of JMeter variables and/or properties. A View Results Tree listener must be present in the test plan to view its results. This nifty component helps you debug your test plans appropriately, providing you with the tools to analyze the runtime-assigned values of various variables during test execution. In our example above, suppose we added a Regular Expression Extractor post processor to the /itunes/charts sampler and stored it in a variable. We can view the value assigned to the variable, and more importantly how to get to the different values if there is more than one match. To add a Debug sampler, right-click on Thread Group and navigate to Add | Sampler | Debug ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required