JMeter 2.9: BlazeMeter's picks for the top 2 feature upgrades

Posted by Dzmitry Kashlach

JMeter 2.9: The lowdown

Recently, the Apache Software Foundation announced the release of Jmeter 2.9.  Very exciting.  Let's take a closer look at what the ASF JMeter team has prepared for us.
 
*Note that since this release, JMeter requires JRE 6 or higher (meaning that JMeter requires JAVA versions be no earlier than V1.6 for running).

1. Functional improvements

1.2 CSS\JQuery Expractor

This element is very similar to the XPath Extractor (This term always makes me think of XMEN-anyone else?). But it uses CSS syntax, not XPath. 
 
Result: it gets expression from the response page and places it into the JMeter variable.
Quick example:
 
HTTP Request Sampler
 
JMeter 2.9 HTTP Request Sampler
 
CSS/JQuery Extractor
 
CSS/JQuery Extractor
 
Debug Sampler
 
Debug Sampler

1.3 Processing different types of documents

JMeter can now handle different types of documents (PDF, MsOffice files, Apache OpenOffice's files, etc.). This means that now we can, for example, request a PDF via a certain URL and it will be displayed in the Response data tab of View Results Tree.
 
Note, that before starting the following request we should download the following  *.jar file to get correct representation of the PDF document.
 
JMeter 2.9 Response data tab of view results tree
 
This request will return a full tutorial about how to extend JMeter. And that is what we’ll see in the Response tab:
 

How to extend JMeter-> Response tab

1.4 XPath Assertion

XPath Assertion now enables using a JMeter variable as input - jmeter.apache.org/changes.html 

XPath Assertion now enables using a JMeter variable as input
 

2. GUI improvements

The first improvement relates to using several instances of JMeter. The new version now allows the use of the Copy/Paste feature when moving elements between different instances of JMeter.
 
New- use the Copy/Paste feature when moving elements between different instances of JMeter.
 
The second improvement is made in the Module Controller element. 
 
JMeter improvement in the Module Controller element.
 
It has an additional button which allows for the expandsion of the Simple Controller that is referred by the Module Controller .
 
And the last, but certainly not the least important GUI improvement, is the most useful during the creation of  scripts.
 
JMeter 2.9 HTTP Proxy Server
 
The new button on HTTP Proxy Server allows for the addition of a set of default exclusions for URL patterns.
 
While these values are hardcoded in JMeter sources, nevertheless they can be overridden though jmeter.properties using entry proxy.excludes.suggested.
              
                 proxy.excludes.suggested=.*\.js;.*\.css;.*\.swf;.*\.gif;.*\.png;.*\.jpg;.*\.bmp
 
 
JMeter 2.9- Great upgrades. Bottom line? We like.

 

Don't forget

Check out our recap of BlazeMeter’s webinar “Find and Fix Performance Bottlenecks with New Relic and BlazeMeter”.