JMeter 2.11 发布了,改进JMS,HTTPS客户端认证测试
2.10版本发布的2个月之后,JMeter 2.11 的新版本出来带来了新的有趣的功能和新的性能改进。
JMeter 是Apache组织开发的基于Java的压力测试工具。用于对软件做压力测试,它最初被设计用于Web应用测试但后来扩展到其他测试领域。
主要的变化内容:
HTTP(S) Test Script Recorder improvements |
Following improvements have been made since major changes introduced in JMeter 2.10 on HTTP(S) Test Script Recorder:
- Better detection of missing or invalid configuration of keytool utility
- New system property keytool.directory (see system.properties) lets you configure directory containing keytool in case on non-standard installation
JMS Publisher/Point to Point : Add ability to set typed values in JMS header properties |
In the samplers JMS Publisher and JMS Point-to-Point, you can now set up the class of values for the JMS header properties. Previously only String was possible.
View Results Tree : Add an XPath Tester |
In View Results Tree listener, a new XPath tester can be used to test XPATH expressions.
Ability to choose the client alias for the cert key in JsseSslManager such that Mutual SSL auth testing can be made more flexible |
When testing client based certificate authentications you have now better control on certificate you use through a new field "Variable name holding certificate alias", this field lets you select the certificate you want to send to server to authenticate. You can use a CSV Data Set as a holder for the variable value.
Add a "Save as Test Fragment" option |
In the file menu, a new option allow to save a group of elements as a Test fragment.
Summariser is be enabled by default in Non GUI mode |
When you run JMeter from command line, now JMeter displays some statistics from the Summariser mode.
Transaction Controller:Change default property "Include duration of timer..." for newly created element |
Starting from 2.11, Transaction Controller is configured by default to exclude processing time of pre/post processors as long as timers pause.
- When creating a new Transaction Controller, property "Include duration of timer and pre-post processors in generated sample" will be unchecked starting from version 2.11
- In Non GUI mode, since 2.11 summariser is enabled with a 30 seconds frequency
- JMeter is more lenient with redirect handling and relaxes on RFC2616 by allowing relative locations. See property "jmeter.httpclient.strict_rfc2616" in jmeter.properties to change this behaviour, see Bug 55717
- When creating a new Response Assertion, property "Pattern Matching Rules" now defaults to Substring starting from version 2.11
HTTP Samplers and Test Script Recorder
- Bug 55815 - Proxy#getDomainMatch does not handle wildcards correctly
- Bug 55717 - Bad handling of Redirect when URLs are in relative format by HttpClient4 and HttpClient3.1
Other Samplers
- Bug 55685 - OS Sampler: timeout option don't save and restore correctly value and don't init correctly timeout
Controllers
- Bug 55816 - Transaction Controller with "Include duration of timer..." unchecked does not ignore processing time of last child sampler
Listeners
- Bug 55826 - Unsynchronised concurrent accesses to list in field RespTimeGraphVisualizer.internalList
Timers, Assertions, Config, Pre- & Post-Processors
- Bug 55694 - Assertions and Extractors : Avoid NullPointerException when scope is variable and variable is missing
- Bug 55721 - HTTP Cache Manager - no-store directive is wrongly interpreted
Functions
- Bug 55871 - Wrong result with intSum() function when a space character is present before/after the number. Contributed by Milamber based on a proposal by James Liang.
I18N
General
- Bug 55739 - Remote Test : Total threads in GUI mode shows invalid total number of threads
HTTP Samplers and Proxy
Other samplers
- Bug 55589 - JMS Publisher/Point to Point : Add ability to set typed values in JMS header properties.
Controllers
- Bug 55854 - Transaction Controller:Change default property "Include duration of timer..." for newly created element
Listeners
- Bug 55610 - View Results Tree : Add an XPath Tester
Timers, Assertions, Config, Pre- & Post-Processors
- Bug 55908 - Response assertion : Change Pattern Matching Rules default to Substring on creation for better performances
- Bug 54977 - Ability to choose the client alias for the cert key in JsseSslManager such that Mutual SSL auth testing can be made more flexible. Contributed by UBIK Load Pack (support at ubikloadpack.com)
Functions
I18N
General
- Bug 55693 - Add a "Save as Test Fragment" option
- Bug 55753 - Improve FilePanel behaviour to start from the value set in Filename field if any. Contributed by UBIK Load Pack (support at ubikloadpack.com)
- Bug 55756 - HTTP Mirror Server : Add ability to set Headers
- Bug 55852 - Be more lenient in parsing when charset value is surrounded with single quotes
- Bug 55857 - Performance : AbstractProperty should test for emptiness to avoid Exception throwing
- Bug 55858 - Startup Performance : On Startup, BeanInfoSupport should test for key availability instead of throwing
- Bug 55865 - Performance :Disable stale check by default in HttpClient 4 and 3.1
- Bug 55512 - Summariser should be enabled by default in Non GUI mode
- Updated to rsyntaxtextarea-2.5.1.jar (from 2.5.0)
- Updated to jodd-core-3.4.9.jar from (3.4.8) and jodd-lagarto-3.4.9.jar (from 3.4.9)
- Updated to jsoup-1.7.3.jar (from 1.7.2)
- Updated to mail-1.5.0-b01 (from 1.4.4)
- Updated to mongo-java-driver-2.11.3 (from 2.11.2)