Last week, Apache released its major version of JMeter, called Apache JMeter 3.0, with lots of enhancements and features. It was a long wait since JMeter 2.13. In this article, we are going see about noteworthy features of Apache JMeter 3.0.
Apache JMeter 3.0 Major Changes
Firstly, there was a major revamp done in the JMeter GUI. Icons have been redesigned, and importantly, the JMeter logo was updated. A poll was conducted and the team decided on the final JMeter logo as shown below.
For JSON path expressions, please refer to http://goessner.net/articles/JsonPath/
Below is a glimpse of XPath and JSONPath syntax.
|/||$||the root object/element|
|.||@||the current object/element|
|/||. or ||child operator|
|//||..||recursive descent. JSONPath borrows this syntax from E4X.|
|*||*||wildcard. All objects/elements regardless their names.|
|@||n/a||attribute access. JSON structures don’t have attributes.|
||||[,]||Union operator in XPath results in a combination of node sets. JSONPath allows alternate names or array indices as a set.|
|n/a||[start:end:step]||array slice operator borrowed from ES4.|
|||?()||applies a filter (script) expression.|
|n/a||()||script expression, using the underlying script engine.|
|()||n/a||grouping in Xpath|
HTTP sampler and HTTP Request defaults have an advanced tab where you can set the options below.
A new pre-processor called Sample Timeout has been introduced. This will apply a timeout to any samplers which are in scope. By default, it is 10 seconds.
Thread Group right click has more options: Start no pauses and Validate. Also, you can assign shortcuts and there is a shortcut to expand nodes.
You can download the latest version of JMeter in here http://jmeter.apache.org/download_jmeter.cgi. It requires Java 7 or later. Please make a backup before upgrading.