alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

JMeter example source code file (changes.xml)

This example JMeter source code file (changes.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - JMeter tags/keywords

assertion, http, http, jmeter, jmeter, jms, jms, jsr223, license, report, sampler, sampler, the, tree

The JMeter changes.xml source code

<?xml version="1.0"?> 
<!--
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at
 
       http://www.apache.org/licenses/LICENSE-2.0
 
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->
<document>   
<properties>     
	<author email="dev AT jakarta.apache.org">JMeter developers     
	<title>Changes   
</properties> 
<body> 
<section name="Changes"> 

<note>
<b>This page details the changes made in the current version only.
<br>
Earlier changes are detailed in the <a href="changes_history.html">History of Previous Changes. </note> <!-- =================== --> <h1>Version 2.4 <h2>Summary of main changes <p> <ul> <li>JMeter now requires at least Java 1.5. <li>HTTP Proxy can now record HTTPS sessions. <li>JUnit sampler now supports JUnit4 annotations. <li>Added JSR223 (javax.script) test elements. <li>MailReader Sampler can now use any protocol supported by the underlying implementation. <li>An SMTP Sampler has been added. <li>JMeter now allows users to provide their own Thread Group implementations. <li>View Results Tree now supports more display options, including search and Regex Testing. <li>StatCalculator performance is much improved; Aggregate Report etc. need far less memory. <li> JMS samplers have been extensively reworked, and should no longer lose messages. Correlation processing is improved. JMS Publisher and Subscriber now support both Topics and Queues. </li> <li>Many other improvements have been made, please see below and in the manual. </ul> </p> <!-- ========================= End of summary ===================================== --> <h2>Known bugs <p> The Include Controller has some problems in non-GUI mode. In particular, it can cause a NullPointerException if there are two include controllers with the same name. </p> <p>Once Only controller behaves correctly under a Thread Group or Loop Controller, but otherwise its behaviour is not consistent (or clearly specified).</p> <p> The menu item Options / Choose Language does not change all the displayed text to the new language. [The behaviour has improved, but language change is still not fully working] To override the default local language fully, set the JMeter property "language" before starting JMeter. </p> <h2>Incompatible changes <p> HTTP Redirect now defaults to "Follow Redirects" rather than "Redirect Automatically". This is to enable JMeter to track cookies that may be sent during redirects. This does not affect existing test plans; it only affects the default for new HTTP Samplers. </p> <p> The Avalon file format for JMX and JTL files is no longer supported. Any such files will need to be converted by reading them in JMeter 2.3.4 and resaving them. </p> <p> The XPath Assertion and XPath Extractor elements no longer fetch external DTDs by default; this can be changed in the GUI. </p> <p> JMSConfigGui has been renamed as JMSSamplerGui. This does not affect existing test plans. </p> <p> The constructor public SampleResult(SampleResult res) has been changed to become a true "copy constructor". It no longer calls addSubResult(). This may possibly affect some 3rd party add-ons. </p> <h2>Bug fixes <h3>HTTP Samplers and Proxy <ul> <li>Bug 47445 - Using Proxy with https-spoofing secure cookies need to be unsecured <li>Bug 47442 - Missing replacement of https by http for certain conditions using https-spoofing <li>Bug 48451 - Error in: SoapSampler.setPostHeaders(PostMethod post) in the else branch <li>Bug 48542 - SoapSampler uses wrong response header field to decide if response is gzip encoded <li>Bug 48568 - CookieManager broken for AjpSampler <li>Bug 48570 - AjpSampler doesn't support query parameters (GET/POST) <li>Bug 46901 - HTTP Sampler does not process var/func refs correctly in first file parameter <li>Bug 43678 - Handle META tag http-equiv charset? <li>Bug 49294 - Images not downloaded from redirected-to pages <li>Bug 49560 - wrong "size in bytes" when following redirections </ul> <h3>Other Samplers <ul> <li>Bug 47420 - LDAP extended request not closing connections during add request <li>Bug 48573 - LDAPExtSampler directory context handling <li>Bug 47870 - JMSSubscriber fails due to NPE <li>Bug 47899 - NullPointerExceptions in JMS ReceiveSubscriber constructor <li>Bug 48144 - NPE in JMS OnMessageSubscriber <li>Bug 47992 - JMS Point-to-Point Request - Response option doesn't work <li>Bug 48579 - Single Bind does not show config information when LdapExt Sampler is accessed <li>Bug 49111 - "Message With ID Not Found" Error on JMS P2P sampler. <li>Bug 47949 - JMS Subscriber never receives all the messages <li>Bug 46142 - JMS Point-to-Point correlation problems <li>Bug 48747 - TCP Sampler swallows exceptions <li>Bug 48709 - TCP Sampler Config setting "classname" has no effect </ul> <h3>Controllers <ul> <li>Bug 47385 - TransactionController should set AllThreads and GroupThreads <li>Bug 47940 - Module controller incorrectly creates the replacement Sub Tree <li>Bug 47592 - Run Thread groups consecutively with "Stop test" on error, JMeter will not mark to finished <li>Bug 48786 - Run Thread groups consecutively: with "Stop test now" on error or manual stop, JMeter leaves the green box active <li>Bug 48727 - Cannot stop test if all thread groups are disabled </ul> <h3>Listeners <ul> <li>Bug 48603 - Mailer Visualiser sends two emails for a single failed response <li>Correct calculation of min/max/std.dev for aggregated samples (Summary Report) <li>Bug 48889 - Wrong response time with mode=Statistical and num_sample_threshold > 1 <li>Bug 47398 - SampleEvents are sent twice over RMI in distributed testing and non gui mode </ul> <h3>Assertions <ul> </ul> <h3>Functions <ul> </ul> <h3>I18N <ul> </ul> <h3>General <ul> <li>Bug 47646 - NullPointerException in the "Random Variable" element <li>Disallow adding any child elements to JDBC Configuration <li>BeanInfoSupport now caches getBeanDescriptor() - should avoid an NPE on non-Sun JVMs when using CSVDataSet (and some other TestBeans) <li>Bug 48350 - Deadlock on distributed testing with 2 clients <li>Bug 48901 - Endless wait by adding Synchronizing Timer <li>Bug 49149 - usermanual/index.html has typo in link to "Regular Expressions" page <li>Bug 49394 - Classcast Exception in ActionRouter.postActionPerformed <li>Bug 48136 - Essential files missing from source tarball.
Source archives now contain all source files, including source files previously only provided in the binary archives. </li> <li>Bug 48331 - XpathExtractor does not return XML string representations for a Nodeset </ul> <!-- ==================================================== --> <h2>Improvements <h3>HTTP Samplers <ul> <li>Bug 47622 - enable recording of HTTPS sessions <li>Allow Proxy Server to be specified on HTTP Sampler GUI and HTTP Config GUI <li>Bug 47461 - Update Cache Manager to handle Expires HTTP header <li>Bug 48153 - Support for Cache-Control and Expires headers <li>Bug 47946 - Proxy should enable Grouping inside a Transaction Controller <li>Bug 48300 - Allow override of IP source address for HTTP HttpClient requests <li>Bug 49083 - collapse '/pathsegment/..' in redirect URLs </ul> <h3>Other samplers <ul> <li>JUnit sampler now supports JUnit4 tests (using annotations) <li>Bug 47900 - Allow JMS SubscriberSampler to be interrupted <li>Added JSR223 Sampler <li>Bug 47556 - JMS-PointToPoint-Sampler Timeout field should use Strings <li>Bug 47947 - Mail Reader Sampler should allow port to be overridden <li>Bug 48155 - Multiple problems / enhancements with JMS protocol classes <li>Allow MailReader sampler to use arbitrary protocols <li>Bug 45053 - SMTP-Sampler for JMeter <li>Bug 49552 - Add Message Headers on SMTPSampler <li> JMS Publisher and Subscriber now support both Topics and Queues. Added read Timeout to JMS Subscriber. General clean-up of JMS code. </li> </ul> <h3>Controllers <ul> <li>Bug 47909 - TransactionController should sum the latency <li>Bug 41418 - Exclude timer duration from Transaction Controller runtime in report <li>Bug 48749 - Allowing custom Thread Groups <li>Bug 43389 - Allow Include files to be found relative to the current JMX file </ul> <h3>Listeners <ul> <li>Added DataStrippingSample sender - supports "Stripped" and "StrippedBatch" modes. <li>Added Comparison Assertion Visualizer <li>Bug 47907 - Improvements (enhancements and I18N) Comparison Assertion and Comparison Visualizer <li>Bug 36726 - add search function to Tree View Listener <li>Bug 47869 - Ability to cleanup fields of SampleResult <li>Bug 47952 - Added JSR223 Listener <li>Bug 47474 - View Results Tree support for plugin renderers <li>Allow Idle Time to be saved to sample log files <li>Bug 48259 - Improve StatCalculator performance by using TreeMap <li>Listeners using SamplingStatCalculator have much reduced memory needs as the Sample cache has been moved to the new CachingStatCalculator class. In particular, Aggregate Report can now handle large numbers of samples. </li> <li>Aggregate Report and Summary Report now allow column headers to be optionally excluded <li>Bug 49506 - Add .csv File Extension in open dialog box from "read from file" functionality of listeners <li>Bug 49545 - Formatted (parsed) view of Sample Result in Results Tree </ul> <h3>Timers, Assertions, Config, Pre- & Post-Processors <ul> <li>Bug 47338 - XPath Extractor forces retrieval of document DTD <li>Added Comparison Assertion <li>Bug 47952 - Added JSR223 PreProcessor and PostProcessor <li>Added JSR223 Assertion <li>Added BSF Timer and JSR223 Timer <li>Bug 48511 - add parent,child,all selection to regex extractor <li>Add Sampler scope selection to XPathExtractor <li>Regular Expression Extractor, Response Assertion and Size Assertion can now be applied to a JMeter variable <li>Bug 46790 - CSV Data Set Config should be able to parse CSV headers </ul> <h3>Functions <ul> <li>Bug 47565 - [Function] FileToString </ul> <h3>I18N <ul> <li>Bug 47938 - Adding some French translations for new elements <li>Bug 48714 - add new French messages </ul> <h3>General <ul> <li>Bug 47223 - Slow Aggregate Report Performance (StatCalculator) <li>Bug 47980 - hostname resolves to 127.0.0.1 - specifiying IP not possible <li>Bug 47943 - DisabledComponentRemover is not used in Start class <li>HeapDumper class for runtime generation of dumps <li>Basic read-only JavaMail provider implementation for reading raw mail files <li>Bug 49540 - Sort "Add" menus alphabetically </ul> <h2>Non-functional changes <ul> <li>Beanshell, JavaMail and JMS API (Apache Geronimo) jars are now included in the binary archive. <li>Add TestBean Table Editor support <li>Removed all external libraries from SVN; added download_jars Ant target <li>Updated various jar files: <ul> <li>BeanShell - 2.0b4 => 2.0b5 <li>Commons Codec - 1.3 => 1.4 <li>Commons-Collections - 3.2 => 3.2.1 <li>JTidy => r938 <li>JUnit - 3.8.2 => 4.8.1 <li>Logkit - 1.2 => 2.0 <li>Xalan Serializer = 2.7.1 (previously erroneously shown as 2.9.1) <li>Xerces xml-apis = 1.3.04 (previously erroneously shown as 2.9.1) <li>Some jar files were renamed. </ul> </li> </ul> </section> </body> </document>

Other JMeter examples (source code examples)

Here is a short list of links related to this JMeter changes.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.